Re: How to create hygienic environments?

2015-06-20 Thread Neil Jerram
Michael Tiedtke writes: > Just to quote myself: > >> The (null-environment 5) gives me an empty environment but how > should I insert the editor commands? > > Just think of these editor commands as regular Scheme definitions. I think you're looking for 'module-define!': scheme@(guile-user)> (

Re: How to create hygienic environments?

2015-06-20 Thread Michael Tiedtke
On 20/06/2015 14:54, Neil Jerram wrote: Michael Tiedtke writes: Just to quote myself: The (null-environment 5) gives me an empty environment but how should I insert the editor commands? Just think of these editor commands as regular Scheme definitions. I think you're looking for 'modul

/list-head/ and /take/

2015-06-20 Thread Michael Tiedtke
The current behavior of list-head is: *guile> (list-head '(1 2 3 A B C) 10)* Backtrace: In standard input: 1: 0* [list-head (1 2 3 A B C) 10] standard input:1:1: In procedure list-head in expression (list-head (quote #) 10): standard input:1:1: Wrong type argument in position 1 (expecting

BUG (1.8): can't redefine /debug/

2015-06-20 Thread Michael Tiedtke
As the bug database doesn't allow filing bugs even when you have a Savannah account I'm sending this to the mailing list. (Errore: Azione Non Disponibile: L'Appartenenza al Progetto รจ richiesta per inserire elementi in questo gestore.) I never got used to that second REPL (usually of the hosti