A port of wffi to Haskell, as an exercise learning Haskell.