summaryrefslogtreecommitdiff
path: root/src/parse_ast.ml
diff options
context:
space:
mode:
authorAlasdair Armstrong2017-09-21 16:12:12 +0100
committerAlasdair Armstrong2017-09-21 16:12:12 +0100
commit3d853e394b5bb5aa0862b56cfbb068aef8d2458a (patch)
tree7ff0629773b5e6aa4119036860d40013678484b3 /src/parse_ast.ml
parentf726c992ab2506ae3fb8a52993b2c46a1ae0a3b1 (diff)
Simplify AST by removing LB_val_explicit and replace LB_val_implicit with just LB_val in AST
also rename functions in rewriter.ml appropriately.
Diffstat (limited to 'src/parse_ast.ml')
-rw-r--r--src/parse_ast.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse_ast.ml b/src/parse_ast.ml
index 1036fab8..cd5edce6 100644
--- a/src/parse_ast.ml
+++ b/src/parse_ast.ml
@@ -318,8 +318,7 @@ and pexp =
Pat_aux of pexp_aux * l
and letbind_aux = (* Let binding *)
- LB_val_explicit of typschm * pat * exp (* value binding, explicit type (pat must be total) *)
- | LB_val_implicit of pat * exp (* value binding, implicit type (pat must be total) *)
+ LB_val of pat * exp (* value binding, implicit type (pat must be total) *)
and letbind =
LB_aux of letbind_aux * l