Name: Anonymous 2009-12-21 4:59
Take that you outdated esoteric circle jerk of a language!
http://fare.livejournal.com/75940.html
Your thoughts?
http://fare.livejournal.com/75940.html
Your thoughts?
#lang typed-scheme
(: fib (Number -> Number))
(define fib
(λ(n)
(let L ((n-1 1)
(n-2 0)
(index 0))
(if (= index n)
n-1
(L (+ n-1 n-2) n-1 (+ index 1))))))
(map fib (list 0 1 2 3 4 5))
- : (Listof Number)
(1 1 2 3 5 8)