mirror of
https://github.com/github/semantic.git
synced 2025-01-03 13:02:37 +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
|
abstract names (Subterm body _) = inj . Closure names body <$> askLocalEnv
|
||||||
|
|
||||||
apply op params = do
|
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
|
bindings <- foldr (\ (name, param) rest -> do
|
||||||
v <- subtermValue param
|
v <- subtermValue param
|
||||||
a <- alloc name
|
a <- alloc name
|
||||||
|
Loading…
Reference in New Issue
Block a user