Project Euler

I’ve known about Project Euler for a while, but I made the mistake of trying to use it as a vehicle to learn F#. Last week I started solving the problems with Haskell, which is vastly more fun. I highly recommend this method of recreation.

Also, this is officially the best-ever method of Fibonacci-number computation: fibs = 0 : 1 : (zipWith (\a b -> a + b) fibs $ tail fibs)

Tags: , , ,

2 Responses to “Project Euler”

  1. Chad says:

    That seems so wrong… you’re feet are floating off the ground!

  2. Kim Wallmark says:

    It’s kind of like walking into the sky by stepping on your own feet, yes. Recursion is awesome.

Leave a Reply