summaryrefslogtreecommitdiff
path: root/src/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/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/ast.ml')
-rw-r--r--src/ast.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ast.ml b/src/ast.ml
index 930af68f..bf9b11aa 100644
--- a/src/ast.ml
+++ b/src/ast.ml
@@ -374,8 +374,7 @@ and 'a pexp =
Pat_aux of 'a pexp_aux * 'a annot
and 'a letbind_aux = (* Let binding *)
- LB_val_explicit of typschm * 'a pat * 'a exp (* value binding, explicit type ('a pat must be total) *)
- | LB_val_implicit of 'a pat * 'a exp (* value binding, implicit type ('a pat must be total) *)
+ LB_val of 'a pat * 'a exp (* value binding, implicit type ('a pat must be total) *)
and 'a letbind =
LB_aux of 'a letbind_aux * 'a annot