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
If we have {-# LANGUAGE DataKinds #-} we might use Nat literals in types.
foo :: V 8 a
foo = bar
The type here gets a reddish highlight in emacs for me, and gives me a sum-node-start: Wrong type argument: markers, nil message. Similar code in a much larger whole gives shm a lot of trouble.
The text was updated successfully, but these errors were encountered:
Yeah, running M-x shm/test-exe yields: Parse error: 8 HSE doesn't know how to parse this extension yet: haskell-suite/haskell-src-exts#19 The proper fix is to update HSE. That's the bad news. The good news is there's a pull request for DataKinds support: haskell-suite/haskell-src-exts#58 So you could try installing that and then re-build structured-haskell-mode with the smarter parser.
I did in the early phases try to use the GHC parser, but the AST in there is full of _|_ traps that makes it very difficult to safely traverse generically.
If we have
{-# LANGUAGE DataKinds #-}
we might useNat
literals in types.The type here gets a reddish highlight in emacs for me, and gives me a
sum-node-start: Wrong type argument: markers, nil
message. Similar code in a much larger whole gives shm a lot of trouble.The text was updated successfully, but these errors were encountered: