unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* stupid mail about letrec
@ 2002-03-21 17:22 Sebastien.deMentendeHorne
  2002-03-21 23:09 ` Neil Jerram
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastien.deMentendeHorne @ 2002-03-21 17:22 UTC (permalink / raw)


sorry...
have confused letrec and let* (in fact, csi (chicken interpreter) and scheme
(MIT-scheme interpreter, i guess)) gave me the solution I was expecting with
letrec).
Is letrec supposed to have at least the same effect of let* ?

Sébastien de Menten               |    ELECTRABEL 
Tel:  ++32 10 48 51 76            |    Quantitative Analysis, 
Fax:  ++32 10 48 51 09            |    Place de l'université, 16, 4ème étage

Gsm:  ++32 478 789 444            |    B-1348 Louvain-la-Neuve, BELGIUM 

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 7+ messages in thread
* stupid mail about letrec
@ 2002-03-25 13:02 Sven Hartrumpf
  2002-03-25 16:02 ` Thomas Bushnell, BSG
  0 siblings, 1 reply; 7+ messages in thread
From: Sven Hartrumpf @ 2002-03-25 13:02 UTC (permalink / raw)


>So chicken and MIT-scheme don't give you an error for the letrec
>expression that you quoted before?

No, all return 8 for (letrec ((a 2) (b (* a 4))) b).
Also mzscheme, bigloo, chez, sisc, scsh, gauche, gambit.
Only SCM behaves like guile.
This might make an interesting posting in comp.lang.scheme :-)

_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-03-25 19:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 17:22 stupid mail about letrec Sebastien.deMentendeHorne
2002-03-21 23:09 ` Neil Jerram
  -- strict thread matches above, loose matches on Subject: below --
2002-03-25 13:02 Sven Hartrumpf
2002-03-25 16:02 ` Thomas Bushnell, BSG
2002-03-25 18:33   ` Per Bothner
2002-03-25 18:50   ` Marius Vollmer
2002-03-25 19:48     ` Neil Jerram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).