Gentle guile users,

I wonder if one of you could help me.  I am thrilled to find that use
of (ice-9 slib) has been improved in guile 1.8.3.  I am confused about
its behavior, though.  The (system) command works fine before I load
slib.  After I load slib, guile no longer understands what "system"
means.

(system "ls")                ; works
(use-modules (ice-9 slib))   ; works
(system "ls")                ; no longer works

I enclose a short transcript below.  Any suggestions would be
appreciated.

Thanks,

Scott Walck



[EMAIL PROTECTED]:~/computer/notes]$ guile --version
Guile 1.8.3
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2007 Free Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.
[EMAIL PROTECTED]:~/computer/notes]$ guile
guile> (system "ls")
DataTransfer.txt   guile.txt          networking   PrinterDrivers   success
DataTransfer.txt~  installation.txt   networking~  PrinterDrivers~
Zip250.txt
GarberPrinting     installation.txt~  ppp          printing
Zip250.txt~
GarberPrinting~    lvcweb.txt         ppp~         printing~
0
guile> (use-modules (ice-9 slib))
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding
`gentemp'
guile> *slib-version*
"3a4"
guile> (system "ls")

Backtrace:
In current input:
   4: 0* (system "ls")

<unnamed port>:4:1: In expression (system "ls"):
<unnamed port>:4:1: Unbound variable: system
ABORT: (unbound-variable)
guile>
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to