Advertisement
Guest User

Untitled

a guest
Mar 1st, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.25 KB | None | 0 0
  1. let display a:plate =
  2.   let (b,c,d)=
  3.   match a with
  4.      (-1,_,_) -> ("x"," "," ")
  5.     |(_,_,_) -> (" ","X","X")
  6. in print_string "b"^"c"^"d";;  
  7.  
  8. Error: This expression has type unit but is here used with type
  9.          plate = int * int * int
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement