Add a New Comment (Rich Markup)
Sorry, it's an unexpected result.
OS: ubuntu15.04 desktop ``` zh@zh:~$ scheme MIT/GNU Scheme running under GNU/Linux Type `^C' (control-C) followed by `H' to obtain information about interrupts. Copyright (C) 2011 Massachusetts Institute of Technology This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Image saved on Tuesday October 22, 2013 at 12:31:09 PM Release 9.1.1 || Microcode 15.3 || Runtime 15.7 || SF 4.41 || LIAR/i386 4.118 Edwin 3.116 1 ]=> (define (A) (* 2 2)) ;Value: a 1 ]=> A ;Value 11: #[compound-procedure 11 a] 1 ]=> a ;Value 11: #[compound-procedure 11 a] 1 ]=> (a) ;Value: () 1 ]=> (define b (* 2 2 )) ;Value: b 1 ]=> b ;Value: 4 1 ]=> a ;Value 11: #[compound-procedure 11 a] 1 ]=> (a) ;Value: 4 1 ]=> (A) ;Value: 4 1 ]=> (define (c) (* 3 3)) ;Value: c 1 ]=> c ;Value 12: #[compound-procedure 12 c] 1 ]=> (c) ;Value: 9 1 ]=> End of input stream reached. Moriturus te saluto. zh@zh:~$ clear [3;J zh@zh:~$ scheme MIT/GNU Scheme running under GNU/Linux Type `^C' (control-C) followed by `H' to obtain information about interrupts. Copyright (C) 2011 Massachusetts Institute of Technology This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Image saved on Tuesday October 22, 2013 at 12:31:09 PM Release 9.1.1 || Microcode 15.3 || Runtime 15.7 || SF 4.41 || LIAR/i386 4.118 Edwin 3.116 1 ]=> (define (A) (* 2 2)) ;Value: a 1 ]=> a ;Value 11: #[compound-procedure 11 a] 1 ]=> (a) ;Value: 4 1 ]=> ``` The first time I call the procedure `(a)`. the value is `()`. But after that, this result never appeared again.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.12