mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
🔥 a redundant type annotation.
This commit is contained in:
parent
56a7483165
commit
ceaa2834a8
@ -90,7 +90,7 @@ instance ( Evaluatable (Base t)
|
||||
abstract names (Subterm body _) = inj . Closure names body <$> askLocalEnv
|
||||
|
||||
apply op params = do
|
||||
Closure names body env <- maybe (fail "expected a closure") pure (prj op :: Maybe (Closure location t))
|
||||
Closure names body env <- maybe (fail "expected a closure") pure (prj op)
|
||||
bindings <- foldr (\ (name, param) rest -> do
|
||||
v <- subtermValue param
|
||||
a <- alloc name
|
||||
|
Loading…
Reference in New Issue
Block a user