Re: [pure-lang-users] pure won't complile anymore
Status: Beta
Brought to you by:
agraef
From: Eddie R. <er...@bm...> - 2008-09-04 12:46:56
|
On Wed, 2008-09-03 at 21:49 +0200, Albert Graef wrote: > Unfortunately, sf.net has a scheduled downtime of svn write tonight (or > rather this morning, 04:00 UTC), i.e., svn reads will work, but I won't > be able to commit anything. I'll try to do the overhauled list > generators and update the manual before that, but any further bugfixes > will probably have to wait until that ordeal is over... They seem to be down quite a bit :( > In the meantime, here's some stuff from SICP you can play around with: > > > ones = 1:ones&; > > integers = 1 : zipwith (+) ones integers&; > > let ints = integers; > > ints; > 1:<<thunk 0xb5fe1588>> > > take 10 ints; > [1,2,3,4,5,6,7,8,9,10] > > ints; > 1:2:3:4:5:6:7:8:9:10:<<thunk 0xb5fe1b28>> Uhm. Mine don't do that. I'm using revision 698 that latest. > ones = 1 : ones&; > integers=1 : zipwith (+) ones integers&; > let ints = integers; > take 10 ints; 1:{{thunk 0x7fe5e17d0488}} > > structure, it's just a normal list with a thunked tail, which makes > things a bit easier (and leaves the curly braces for something else ;-). Sounds good to me! e.r. |