1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00

Formatting

This commit is contained in:
Timothy Clem 2018-02-16 14:09:24 -08:00
parent 9662cb1427
commit b695de16c8

View File

@ -47,7 +47,10 @@ instance Show1 Data.Syntax.Literal.Integer where liftShowsPrec = genericLiftShow
instance (Monad m, AbstractValue v) => Eval t v m Data.Syntax.Literal.Integer where
eval _ yield (Data.Syntax.Literal.Integer x) = yield (integer (maybe 0 fst (readInteger x)))
instance (Monad m, AbstractValue v) => E2.Eval t v m Data.Syntax.Literal.Integer where
instance ( Monad m
, AbstractValue v
)
=> E2.Eval t v m Data.Syntax.Literal.Integer where
eval (Data.Syntax.Literal.Integer x) = pure (integer (maybe 0 fst (readInteger x)))