[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lua
From: |
Andy Wingo |
Subject: |
Re: Lua |
Date: |
Fri, 04 Jun 2010 00:07:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
On Thu 03 Jun 2010 22:36, No Itisnt <address@hidden> writes:
> (define-module (test)
> #:use-module ((rnrs control) #:version (6))
> #:use-module (language tree-il))
>
> (make-const #f 2)
>
> (display 'done)
> (newline)
I put this as test.scm in my guile's root, and then ran:
address@hidden:~/src/guile$ meta/guile
GNU Guile 1.9.11.7-3d8b6
Copyright (C) 1995-2010 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> (use-modules (test))
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-autocompile argument to disable.
;;; compiling /home/wingo/src/guile/test.scm
;;; compiling /opt/guile/share/guile/2.0/rnrs//6/control.scm
;;; compiling /opt/guile/share/guile/2.0/rnrs//6/base.scm
;;; compiled
/home/wingo/src/guile/cache/guile/ccache/2.0-0.Q-LE-4/opt/guile/share/guile/2.0/rnrs/6/base.scm.go
;;; compiled
/home/wingo/src/guile/cache/guile/ccache/2.0-0.Q-LE-4/opt/guile/share/guile/2.0/rnrs/6/control.scm.go
;;; compiled
/home/wingo/src/guile/cache/guile/ccache/2.0-0.Q-LE-4/home/wingo/src/guile/test.scm.go
done
scheme@(guile-user)>
address@hidden:~/src/guile$ meta/guile
GNU Guile 1.9.11.7-3d8b6
Copyright (C) 1995-2010 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> (use-modules (test))
done
scheme@(guile-user)>
So, I don't see the issue here. Can you try again?
I don't know why it chose to autocompile the rnrs modules, though;
perhaps something version-related? Yuk...
Andy
--
http://wingolog.org/
- Re: Lua, No Itisnt, 2010/06/03
- Re: Lua, Andy Wingo, 2010/06/03
- Re: Lua, No Itisnt, 2010/06/03
- Re: Lua, Andy Wingo, 2010/06/03
- Re: Lua,
Andy Wingo <=