Haskell has been on my to-learn list for a long time, I was interested in a different approach to functional programming than LISP, and was ready to give strong typing a chance. I was also tired of building things every month and decided to take my time and focus on input, rather than output.
I took 15-45 minutes every day to read through "Learn You a Haskell for Great Good" ↗ (free to read online). I was taking notes as I go, and pushed them to online repo: szymonkaliski/haskell-playground ↗
Setup was extremely simple, I didn't need anything special besides brew install ghc
.
vim
already supports Haskell, so when compared to Reason (another language I tried out recently), the setup was much easier.
I enjoyed working with ghci
REPL similarly to how I like to work with Clojure
— in split view with my editor, executing code piece by piece.
"Learn You a Haskell" was a very nice introduction to the language, and as far as I understand it coveres all the basis.
::
, (\
, >>=
, but syntax itself is quite simple, functions usually are very short, but that doesn't come in hand with them being simple to understand (at least from my newbie perspective)I doubt if I'll ever get paid to write Haskell, but I'm sure this month wasn't wasted, I learned a few new concepts and looked at things from new perspective which is always a big win.
I'm curious to see how different libraries utilise Haskell type system and how working with bigger pieces of code looks like.
420 words published on 2017-10-02 — let me know what you think