[Chicken-users] What does (let X ...) do?

2014-12-16 Thread Bahman Movaqar
Reading on lazy-seq [1]; what exactly does the following piece of code do?

(let foo ((x 10))
  (* x x))

TIA,

[1] http://wiki.call-cc.org/eggref/4/lazy-seq

-- 
Bahman Movaqar

http://BahmanM.com - https://twitter.com/bahman__m
https://github.com/bahmanm - https://gist.github.com/bahmanm
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)




signature.asc
Description: OpenPGP digital signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] What does (let X ...) do?

2014-12-16 Thread Daniel Leslie
It is a named let, details here:
http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html#node_toc_node_sec_6.2

-Dan
On 16 Dec 2014 13:58, Bahman Movaqar bah...@bahmanm.com wrote:

 Reading on lazy-seq [1]; what exactly does the following piece of code
 do?

 (let foo ((x 10))
   (* x x))

 TIA,

 [1] http://wiki.call-cc.org/eggref/4/lazy-seq

 --
 Bahman Movaqar

 http://BahmanM.com - https://twitter.com/bahman__m
 https://github.com/bahmanm - https://gist.github.com/bahmanm
 PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)



 ___
 Chicken-users mailing list
 Chicken-users@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/chicken-users


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] What does (let X ...) do?

2014-12-16 Thread Bahman Movaqar
On 12/17/2014 01:31 AM, Daniel Leslie wrote:

 It is a named let, details here:
 http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html#node_toc_node_sec_6.2


Thanks Daniel. Exactly what I was looking for.

 On 16 Dec 2014 13:58, Bahman Movaqar bah...@bahmanm.com
 mailto:bah...@bahmanm.com wrote:

 Reading on lazy-seq [1]; what exactly does the following piece
 of code do?

 (let foo ((x 10))
   (* x x))

 TIA,

 [1] http://wiki.call-cc.org/eggref/4/lazy-seq



-- 
Bahman Movaqar

http://BahmanM.com - https://twitter.com/bahman__m
https://github.com/bahmanm - https://gist.github.com/bahmanm
PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)



signature.asc
Description: OpenPGP digital signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users