Document and fix code style
This commit is contained in:
parent
b8aedd541d
commit
3efb27ac0c
3 changed files with 53 additions and 53 deletions
|
|
@ -41,8 +41,8 @@ checkBind cxt b =
|
|||
(rhs', t_rhs) <- infer cxt rhs
|
||||
unless (typeEq t_rhs t) . throwError $ typeErr name t t_rhs
|
||||
pure $ T.Bind (name, t) (zip parms ts_parms) rhs'
|
||||
where
|
||||
ts_parms = fst $ partitionType (length parms) t
|
||||
where
|
||||
ts_parms = fst $ partitionType (length parms) t
|
||||
|
||||
-- | @ f x y = rhs ⇒ f = \x.\y. rhs @
|
||||
expandLambdas :: Bind -> Bind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue