scheme / scsh

A Unix shell embedded in scheme
Other
382 stars 36 forks source link

defrec-package (and other structures?) not available #8

Closed nxg closed 10 years ago

nxg commented 10 years ago

I don't seem to be able to open at least some packages:

% scsh -o defrec-package
assertion-violation [carefully] with no handler in place: unbound variabledefrec-package#{package}
stack template id's: 3016 <- 1720 <- 3015 <-  <-  <-  <- 1720 <-  <- 1720 <- 6625 <- 3309 <- 

% scsh Welcome to scsh 0.7 Type ,? for help.

,open defrec-package

assertion-violation: undefined variable [global]
                     defrec-package
                     config
1> ^D
> ^D
Exit Scheme 48 (y/n)? y

This is on FreeBSD 9.1-RELEASE, which apparently successfully built 768ef5e90a089946a8f4f58ea9ab74d9d58386cc (of Sun Dec 22 23:44:45 2013 -0500)

I've never played with the Scheme48 'structure' system, much, so I don't really know what else to try.

(...and: hello Roderyc -- me again!)

roderyc commented 10 years ago

Hah, hey Norman. So, I've removed defrec, and I'm recommending using srfi-9 instead (it being a standard, and what r7rs is going with). Before release, I'll have some documentation, and perhaps a comprehensive changes document (though that'll be more difficult because the differences from the last version are extensive).

What other packages do you notice are missing?

nxg commented 10 years ago

Ah, right! That's fine: srfi-9 works fine and is, as you say, standard.

I did try the same thing with a different package, picked slightly at random, to check whether this was a missing package, or something else amiss, and I suspect (I can't quite remember) that I just by chance hit on another removed package and jumped to the conclusion that this was a loading problem rather than a removed-package problem, so I can't add anything here. My insecurity with Scheme48's packaging model meant I didn't investigate as much further as I ought to have done -- sorry for the noise.

A comprehensive changes document would be a great thing.