Advertisement
Guest User

Untitled

a guest
Oct 25th, 2017
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let rec (@) x y =
  2. match (x,y) with
  3. (h1::t1, h2::t2) -> if h1<h2 then true else if h1=h2 then t1@t2 else false
  4. |([],_) -> true
  5. |(_,[]) -> false;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement