1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00

🔥 a redundant constraint for the default signature.

This commit is contained in:
Rob Rix 2018-03-01 12:08:31 -05:00
parent ae3842d2a5
commit 6141815573

View File

@ -41,7 +41,7 @@ class Evaluatable constr where
, Semigroup (Cell (LocationFor value) value)
)
=> SubtermAlgebra constr term (m value)
default eval :: (FreeVariables term, MonadFail m, Show1 constr) => SubtermAlgebra constr term (m value)
default eval :: (MonadFail m, Show1 constr) => SubtermAlgebra constr term (m value)
eval expr = fail $ "Eval unspecialized for " ++ liftShowsPrec (const (const id)) (const id) 0 expr ""
-- | If we can evaluate any syntax which can occur in a 'Union', we can evaluate the 'Union'.