You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a Nil defined, but for some reason it is differentiated from the sought-after Nil.
When commenting out the active line in the main function and replacing it with the line below, a similar-but-different type checking error is produced instead:
~/gibbon$ cabal v2-exec gibbon -- --packed --no-gc --to-exe ../llrbt/break.hs
gibbon: L0.Typecheck:
Couldn't match type 'PackedTy "PList_v_232"
[]' with 'PackedTy "PList_v_235" []'
Expected type: PackedTy "PList_v_235" []
Actual type: PackedTy "PList_v_232" []
In the expression:
AppE "fold_plist_233"
[]
[Ext (FunRefE [] "alt_maybe_230"),
DataConE (ProdTy []) "Nothing_v_231" [],
DataConE (ProdTy []) "Nil_v_232" []]
CallStack (from HasCallStack):
error, called at src/Gibbon/L0/Typecheck.hs:66:32 in gibbon-0.2-inplace:Gibbon.L0.Typecheck
These functions are able to typecheck in translations to OCaml
The text was updated successfully, but these errors were encountered:
Consider this code
This results in the following error:
There is a
Nil
defined, but for some reason it is differentiated from the sought-afterNil
.When commenting out the active line in the main function and replacing it with the line below, a similar-but-different type checking error is produced instead:
These functions are able to typecheck in translations to OCaml
The text was updated successfully, but these errors were encountered: