purescript-checked-exceptions
purescript-checked-exceptions copied to clipboard
Tiny typo in README's `getPureScriptSafe` type signature
Hi Nate,
There's the tiniest of tiny typos in the README example (I think). I found it when throwing the code into TryPureScript.
In the final function:
getPureScriptSafe
:: forall m
. MonadHttp m
=> MonadFs m
=> MonadLog m
-> m Unit -- HERE: Should be `=> m Unit` and not `-> m Unit`
getPureScriptSafe = ...
It throws an error that MonadLog is an unknown type (...instead of the unknown class it should throw, heh).