mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Need an instance for Empty
This commit is contained in:
parent
6108396f86
commit
e76ffd3656
@ -217,6 +217,9 @@ instance Show1 Empty where liftShowsPrec _ _ _ _ = showString "Empty"
|
||||
instance (Monad m, AbstractValue v) => Eval t v m Empty where
|
||||
eval _ yield _ = yield unit
|
||||
|
||||
instance (Monad m, AbstractValue v) => E2.Eval t v m Empty where
|
||||
eval _ = pure unit
|
||||
|
||||
|
||||
-- | Syntax representing a parsing or assignment error.
|
||||
data Error a = Error { errorCallStack :: ErrorStack, errorExpected :: [String], errorActual :: Maybe String, errorChildren :: [a] }
|
||||
|
Loading…
Reference in New Issue
Block a user