[Larceny-users] Evaluate <expr> at startup does not work for import

Marijn Schouten (hkBst) hkBst at gentoo.org
Wed May 13 09:55:51 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I noticed that it doesn't seem to work when you try to import at startup.


$ larceny -err5rs -- -e "(import (rnrs))"
Larceny v0.97a4 (alpha test) (May 10 2009 12:38:12, precise:Linux:unified)


Error: Undefined global variable "rnrs".
Entering debugger; type "?" for help.
debug> #<EOF>
Error while evaluating (import (rnrs))
larceny.heap, built on zo mei 10 12:39:01 CEST 2009
ERR5RS mode (no libraries have been imported)

>
$ larceny -err5rs
Larceny v0.97a4 (alpha test) (May 10 2009 12:38:12, precise:Linux:unified)
larceny.heap, built on zo mei 10 12:39:01 CEST 2009
ERR5RS mode (no libraries have been imported)

> (import (rnrs))
Autoloading (rnrs)
Autoloading (rnrs enums)
Autoloading (rnrs lists)
Autoloading (rnrs syntax-case)
Autoloading (rnrs conditions)
Autoloading (err5rs records procedural)
Autoloading (rnrs exceptions)
Autoloading (rnrs hashtables)
Autoloading (rnrs arithmetic bitwise)
Autoloading (rnrs programs)
Autoloading (rnrs files)
Autoloading (rnrs io ports)
Autoloading (larceny deprecated)
Autoloading (rnrs records syntactic)
Autoloading (rnrs records procedural)
Autoloading (rnrs control)
Autoloading (rnrs sorting)
Autoloading (rnrs bytevectors)
Autoloading (rnrs unicode)

>


I would like to start larceny in a way that loads syntax-case before loading
whatever file I want to run (also in the same command). Is that possible?

Thanks,

Marijn

PS My svn troubles were caused by using neon-0.28.4. I've downgraded to
neon-0.28.3 and now svn works fine again.

- --
If you cannot read my mind, then listen to what I say.

Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoK0WcACgkQp/VmCx0OL2xErgCeKSeIL05zMpDgc7R6ffrpXCob
UCIAoLdQodFR9J9nEEK0hwMUZhU2TBA6
=/HU5
-----END PGP SIGNATURE-----



More information about the Larceny-users mailing list