Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ctaylor001
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ctaylor001
12y ago
I feel like this is a roman à clef and I'm missing the clef. What's the story with the repeated John Carpenter references?
2.
▲
by
ctaylor001
12y ago
Haskell - fib (Just n) Nothing = Just (fibs !! n) fib Nothing (Just x) = let (n, x') = head (filter (\(_,y) -> y >= x) (enumerate fibs)) in if x == x' then Just n else Nothing fibs = 1 : 1 : zipWith (+) fibs (ta