HOWTO: Install Haskell
a) Install ‘ghcup’ and ‘cabal-install’:
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
b) Install ‘stack’:
curl -sSL https://get.haskellstack.org/ | sh
HOWTO: Use “<-“ and “=”
Inside the do, we associate results of IO functions with names using <-.
Inside the let, we associate pure function results with names using =.
https://www.haskell.org/platform/ https://docs.haskellstack.org/en/stable/README/#how-to-install