guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guile starting state.


From: R. Clayton
Subject: Guile starting state.
Date: 10 Aug 2005 17:55:34 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

There appears to be a difference between starting guile (1.6.7 on an x86 debian
testing system) with and without -c:

  $ guile
  guile> (match:substring (string-match "[0-9][0-9]" "bla987"))
  "98"
  guile> ^d

  $ guile -c '(display (match:substring (string-match "[0-9][0-9]" "bla987")))'
  ERROR: Unbound variable: match:substring

  $ 

What is the explanation for the difference?

Notes:

  1 the second example can be fixed with

    $ guile -c '(use-modules (ice-9 regex)) (display (match:substring 
(string-match "[0-9][0-9]" "blah987")))'
    98
    $ 

  2 ~/.guile does not exist for any of these examples.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]