Created
August 29, 2020 10:18
-
-
Save Woody88/2958c91861ff67517c3f7ddf3ca65556 to your computer and use it in GitHub Desktop.
Weird Purescript Error Mesaage...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ParseBodyRL (rl :: RowList) b | rl -> b where | |
parseBodyRL :: RLProxy rl -> Request -> ExceptT String Aff b | |
instance parseBodyRLConsNil :: ParseBodyRL RL.Nil Unit where | |
parseBodyRL _ = pure unit | |
-- Weird error message... | |
-- Could not match type | |
-- Unit | |
-- with type | |
-- ExceptT String Aff Unit | |
-- while trying to match type t0 t1 | |
-- with type Request -> ExceptT String Aff Unit | |
-- while checking that expression pure unit | |
-- has type Request -> ExceptT String Aff Unit | |
-- in value declaration parseBodyRLConsNil | |
-- where t0 is an unknown type | |
-- t1 is an unknown type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment