diff options
Diffstat (limited to 'expr.v')
-rw-r--r-- | expr.v | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -60,6 +60,12 @@ Instance Maybe_X_Attrset : Maybe X_Attrset := λ e, | |||
60 | | _ => None | 60 | | _ => None |
61 | end. | 61 | end. |
62 | 62 | ||
63 | Instance Maybe_X_V : Maybe X_V := λ e, | ||
64 | match e with | ||
65 | | X_V v => Some v | ||
66 | | _ => None | ||
67 | end. | ||
68 | |||
63 | Instance Maybe_B_Nonrec : Maybe B_Nonrec := λ rhs, | 69 | Instance 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 |