[gambit-list] trouble importing srfi-13 using blackhole

Mikael mikael.rcv at gmail.com
Wed May 18 13:40:28 EDT 2011


Please check if the attached files are valuable as replacement content for
your std/srfi directory.

If they are, please email Per updates (for instance in diff format).

Alternatively you could use the BH syntactictower branch, it's not as tested
as the default one though. In there the name of the srfi 13 module is (srfi
strings) afaik.

Mikael


2011/5/18 Matthew Koichi Grimes <mkg at cs.nyu.edu>

> I'm having trouble getting up and running with blackhole. I've installed
> it, and when I run "bsc", I get the following prompt:
>
>   Loaded Black Hole.
>   Gambit v4.6.1
>
>   >
>
> So far, so good. However, when I try to import srfi-13 (bundled with
> blackhole), I get this error:
>
> > (import (std srfi/13))
> *** ERROR -- Wrong number of arguments passed to procedure
> (14_#char-set-adjoin!
>  '#<14_#:char-set #2 14_#s:
> "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\...
>  #\xb5)
>
> For reference, here are the steps I've followed to install blackhole:
>
> 1) installed the blackhole/ directory in /usr/local/share/
> 2) put in the PATH a soft link to gsc called bsc.
> 3) compiled blackhole by running "gsc build" from within the blackhole
> directory.
> 4) Added the following to .gambcini:
>
> (let ((blackhole-path "/usr/local/share/blackhole"))
>           (and (equal? (path-strip-directory (car (command-line))) "bsc")
>                (load (path-expand "build" blackhole-path))
>                (begin
>                  (set! module#ns-file (path-expand "ns.dat"
> blackhole-path))
>                  (println "Loaded Black Hole."))))
>
>
> Any suggestions would be greatly appreciated,
> -- Matt
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110518/67ae138c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.scm
Type: application/octet-stream
Size: 59699 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110518/67ae138c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13.scm
Type: application/octet-stream
Size: 78479 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110518/67ae138c/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14.scm
Type: application/octet-stream
Size: 29722 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110518/67ae138c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16.scm
Type: application/octet-stream
Size: 1386 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110518/67ae138c/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 19.scm
Type: application/octet-stream
Size: 53566 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110518/67ae138c/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 95.scm
Type: application/octet-stream
Size: 5607 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110518/67ae138c/attachment-0005.obj>


More information about the Gambit-list mailing list