Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
Fibs in your favourite language
1
Name:
Anonymous
2008-12-20 15:04
fibs = 1 : zipWith (+) fibs (tail fibs)
65
Name:
Anonymous
2008-12-21 17:58
>>57
: ackermann ( m n -- r )
{
{ [ over 0 = ] [ nip 1 + ] }
{ [ 2dup [ 0 > ] [ 0 = ] bi* and ] [ drop 1 - 1 ackermann ] }
{ [ 2dup [ 0 > ] both? ] [ dupd 1 - ackermann [ 1 - ] dip ackermann ] }
} cond ;
Better, Fagtorman?
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List