Re: dynamic module creation

2009-02-01 Thread Andy Wingo
On Sun 01 Feb 2009 08:58, Julian Graham writes: > Is there some way to get the module-creation > behavior of `resolve-module' but also be able to include stuff from > other modules in the resulting environment? guile> (resolve-module '(foo)) $1 = # guile> (beautify-user-module! $1) $2 = (#) guil

Re: dynamic module creation

2009-02-01 Thread Neil Jerram
Andy Wingo writes: > On Sun 01 Feb 2009 08:58, Julian Graham writes: > >> Is there some way to get the module-creation >> behavior of `resolve-module' but also be able to include stuff from >> other modules in the resulting environment? > > guile> (resolve-module '(foo)) > $1 = # > guile> (beaut

more debugging info needed.

2009-02-01 Thread Paul Emsley
Hi Guilers, I'd like more more debugging info, I currently get something like: Exception: (wrong-type-arg #f Wrong type (expecting ~A): ~S (pair D) (D)) I have (turn-on-debugging) in my begin.grg file. I'd like to see the line number too. Is that possible? Thanks, Paul.

Re: dynamic module creation

2009-02-01 Thread Julian Graham
Hi Andy, > guile> (resolve-module '(foo)) > $1 = # > guile> (beautify-user-module! $1) > $2 = (#) > guile> (module-ref $1 'sin) > $3 = # > guile> `beautify-user-module!' is great and all, but it doesn't give me any options about what to import -- it takes everything from `the-scm-module' and puts

Re: more debugging info needed.

2009-02-01 Thread Neil Jerram
Paul Emsley writes: > Hi Guilers, > > I'd like more more debugging info, I currently get something like: > > Exception: (wrong-type-arg #f Wrong type (expecting ~A): ~S (pair D) (D)) > > I have > (turn-on-debugging) > > in my begin.grg file. > > I'd like to see the line number too. Is that possi

Re: more debugging info needed.

2009-02-01 Thread Paul Emsley
Neil Jerram wrote: Paul Emsley writes: Hi Guilers, I'd like more more debugging info, I currently get something like: Exception: (wrong-type-arg #f Wrong type (expecting ~A): ~S (pair D) (D)) I have (turn-on-debugging) in my begin.grg file. I'd like to see the line number too. Is that po