## Project Euler Problem 22

Whilst trying Project Euler problems, I often write a prototype in Python before trying out an implementation in Haskell. This problem however was screaming for “Functional Programming”. In fact this time around, I started with a Haskell implementation and went on to translate to Python just for kicks. 🙂 Suffice …

0

So today, I was pondering How difficult it’d be to implement the Sieve of Eratosthenes in Haskell. Turns out, very easy after all.. and more elegant. So With that figured out, A new challenge was to solve this for any n. O’course, my earlier much simpler solution would have sufficed …

0

## For the love of Haskell…

Haskell never fails to impress even the mediocre programmer in me. Here’s something I have attempted solving using Haskell. Problem – Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed four million. (Source: Project Euler problem 2)

0

## Look mom.. My first Haskell code

These days I am trying my hardest to learn Haskell. Found these 2 great online resources Real World Haskell and Learn You a Haskell. An attempt to solve a rather simple problem from codechef took me close to 2 days. Not due to the lack of looping constructs.. Nor because …

0