Hacker News new | ask | show | jobs
by maikklein 4356 days ago
He wrote

  either :: (LoginError -> Text) -> (Text -> Text) -> (Either LoginError Text -> Text)
But shouldn't it be

  either :: (LoginError -> Text) -> (Text -> Text) -> (Either LoginError Text) -> Text
1 comments

In Haskell, `a -> b -> c` and `a -> (b -> c)` are the same types.