[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
About continuation
From: |
z_axis |
Subject: |
About continuation |
Date: |
Wed, 24 Sep 2008 11:44:18 +0800 |
hi, friends
I have ever learned Lisp at colleage. and i like its elegant way to program.
However i really do not understand the meaning and usgae of continuation :(
For example, the following code makes me a big head!
(define bar (lambda (bar) bar))
(define foox (lambda (foo) (display "@") foo))
(define fooy (lambda (foo) (display "*") foo))
(foox (call/cc bar) (fooy (call/cc bar)))
you will get "@address@hidden@address@hidden ................."
would you mind explain the code ?
Sincerely!
--------------
z_axis
2008-09-24
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- About continuation,
z_axis <=