Skip to content

Commit

Permalink
Remove unused AST.Expression.Data
Browse files Browse the repository at this point in the history
  • Loading branch information
avh4 committed Oct 23, 2015
1 parent b37c474 commit 63dd6c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion parser/src/AST/Expression.hs
Expand Up @@ -43,7 +43,6 @@ data Expr'
| If [(Expr, Bool, Expr)] Expr
| Let [Def] Expr
| Case (Expr,Bool) [(Pattern.Pattern, Expr)]
| Data String [Expr]
| Tuple [Expr] Bool
| TupleFunction Int
| Access Expr String
Expand Down
1 change: 0 additions & 1 deletion src/Format.hs
Expand Up @@ -432,7 +432,6 @@ formatExpression inList suffix aexpr =
vbox (map formatClause clauses)
|> indent (if inList then 2 else 4)
]
AST.Expression.Data _ _ -> text "<expression data>"

AST.Expression.Tuple exprs False ->
hboxlist "(" ", " ")" (formatExpression False empty) exprs
Expand Down

0 comments on commit 63dd6c7

Please sign in to comment.