Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Sep 28, 2023
1 parent 745f0de commit d6eaf80
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Juvix/Compiler/Internal/Extra/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ instance HasExpressions Example where
leafExpressions f = traverseOf exampleExpression (leafExpressions f)

instance HasExpressions FunctionDef where
-- leafExpressions f (FunctionDef name ty clauses bi) = do
leafExpressions f FunctionDef {..} = do
body' <- leafExpressions f _funDefBody
ty' <- leafExpressions f _funDefType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ checkFunctionDef ::
checkFunctionDef FunctionDef {..} = do
let arity = typeArity _funDefType
_funDefType' <- withEmptyLocalVars (checkType _funDefType)
-- _funDefClauses' <- mapM (checkFunctionClause arity) _funDefClauses
_funDefBody' <- checkFunctionBody arity _funDefBody
_funDefExamples' <- withEmptyLocalVars (mapM checkExample _funDefExamples)
return
Expand Down

0 comments on commit d6eaf80

Please sign in to comment.