Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
FissoreD committed Nov 26, 2024
1 parent f93090e commit 6fa0c65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/compiler/compiler_data.ml
Original file line number Diff line number Diff line change
Expand Up @@ -676,12 +676,6 @@ module ScopedTerm = struct
| _ -> false
end

let rec get_clause_hd = function
| Const (_,c) -> c
| App(_,n,_,_) -> n
| Impl(false,l,_) -> get_clause_hd l.it
| _ -> error "Not a clause"

let is_var = function Var _ -> true | _ -> false
end

Expand Down
3 changes: 0 additions & 3 deletions src/parser/ast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ let mkSeq ?loc (l : t list) =
match loc with None -> l | Some loc -> { l with loc }
let mkCast loc t ty = { loc; it = Cast(t,ty) }

let mkCast loc t ty = { loc; it = Cast(t,ty) }


let rec best_effort_pp = function
| Lam (x,_,t) -> "x\\" ^ best_effort_pp t.it
| CData c -> CData.show c
Expand Down

0 comments on commit 6fa0c65

Please sign in to comment.