instance hell

This commit is contained in:
crumbtoo committed 2024-04-15 10:07:20 -06:00
1 parent 65b9228794
commit 5bf83ffbaf
10 files changed
+284 -183

No files matched your search

+2 -1
View File
@@ -44,8 +44,9 @@ justLexCore s = lexCoreR (T.pack s)
justParseCore :: String -> Either [MsgEnvelope RlpcError] Program'
justParseCore s = parse (T.pack s)
& undefined
& rlpcToEither
where parse = lexCoreR >=> parseCoreProgR
where parse = lexCoreR @Identity >=> parseCoreProgR
justTypeCheckCore :: String -> Either [MsgEnvelope RlpcError] Program'
justTypeCheckCore s = typechk (T.pack s)