Advertisement
Guest User

Untitled

a guest
Jul 19th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.21 KB | None | 0 0
  1. let symb_def =
  2.   let rec loop acc system = match system with
  3.     | [] -> acc
  4.     | (Term(f,_),_) :: system -> loop (SymbSet.add f acc) system
  5.     | _ -> failwith "not possible"
  6.   in loop SymbSet.empty system
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement