Comment

Comment by ptrkrlsrd

My favorite is this one-liner for generating the Fibonacci sequence in Haskell:

  fibonacci = 1 : 1 : [x + y | (x, y) <- zip fibonacci (tail fibonacci)]
parent ptrkrlsrd 7 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton