Ad
  • Custom User Avatar

    Just FYI, in Haskell, when they say "exception", what they really mean is error (and not exceptions like Control.Monad.Error, Control.Exception, etc.)

  • Custom User Avatar

    It might be a bit too late, but your implementation is not actually a foldr.

  • Custom User Avatar

    Really nice! I think the space-? part is a bit off though, consider a case of 'x = 1   # init', '#' (with multiple spaces between the comment and the rest of the line).