Strict mode it is
Bring Haskell example closer to JS one