Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/language/term/Exp.re
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ let rep_id: t => Id.t = IdTagged.rep_id;
let term_of: t => term = IdTagged.term_of;
let unwrap: t => (term, term => t) = IdTagged.unwrap;

let cls_of_term: type a. Grammar.exp_term(a) => cls =
let rec cls_of_term: type a. Grammar.exp_term(a) => cls =
fun
| Invalid(_) => Invalid
| EmptyHole => EmptyHole
Expand Down Expand Up @@ -116,7 +116,7 @@ let cls_of_term: type a. Grammar.exp_term(a) => cls =
| Filter(_) => Filter
| Closure(_) => Closure
| Parens(_) => Parens
| Projector(_) => Projector
| Projector(_, e) => cls_of_term(e.term)
| Cons(_) => Cons
| ListConcat(_) => ListConcat
| UnOp(op, _) => UnOp(op)
Expand Down
Loading