aboutsummaryrefslogtreecommitdiffstats
path: root/expr.v
diff options
context:
space:
mode:
Diffstat (limited to 'expr.v')
-rw-r--r--expr.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/expr.v b/expr.v
index 11c0737..e770345 100644
--- a/expr.v
+++ b/expr.v
@@ -60,6 +60,12 @@ Instance Maybe_X_Attrset : Maybe X_Attrset := λ e,
60 | _ => None 60 | _ => None
61 end. 61 end.
62 62
63Instance Maybe_X_V : Maybe X_V := λ e,
64 match e with
65 | X_V v => Some v
66 | _ => None
67 end.
68
63Instance Maybe_B_Nonrec : Maybe B_Nonrec := λ rhs, 69Instance Maybe_B_Nonrec : Maybe B_Nonrec := λ rhs,
64 match rhs with 70 match rhs with
65 | B_Nonrec e => Some e 71 | B_Nonrec e => Some e