Code snippets for learning functional programming. My goal is to compare Haskell, JavaScript and C# (where applicable).