Tag: python
-
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…
-
Functional Learnings of Python

Photo credit: cheers Hembo Pagi This is my attempt at converting a solution to a pascal’s triangle problem that I’d written in an imperitive manner into a functional one. I kind of hope that anyone reading this is also trying to figure out the meanings behind functional programming, I’m trying to describe all the steps…
-
Jupyter on Windows with Chocolatey
Install Python This is a quick post (and will probably be outdated quickly), but it took me a while to get it correct. I wanted to install Jupyter on Windows. The recommeded route is via Anaconda but I like to use Chocolatey the Windows package manager as much as possible. I used Chocolatey to install…