Tag: haskell
-
Yet another monad explanation

Photo credit: cheers @laimagendelmundo tl;dr Here’s a really short explanation for JavaScript, as in just the flatmap part. map is pretty well understood in JavaScript (and I’m assuming you understand it). So you ‘just’ need to make the leap to flatmap. Which is mapping something and flattening the result. Flattening a JavaScript array is concatenating…
-
Attacking the modern JavaScript world
Learning all the JavaScript libraries that have come out in the past two years is hard work. I attacked the modern Javascript approach through first focusing on functional programming. 1) Python + functional programming in Python Python is hardly a pure functional language, but it’s lovely and simple and has all the core concepts including…
-
Installing Haskell ++ Emacs on Windows

Haskell Firstly install the haskell-stack chocolatey package: choco install -y haskell-stack For me that perfectly installed haskell and meant that I could run stack commands and have stack ghci running in a DOS prompt. Emacs Chocolatey has an Emacs package: choco install -y emacs This puts the emacs binaries into the chocolatey bin directory. Then…