Go Fish/OCaml: Difference between revisions

m
Fixed syntax highlighting.
m (broke line too long)
m (Fixed syntax highlighting.)
 
Line 1:
{{collection|Go Fish}}
 
<langsyntaxhighlight lang="ocaml">type pip = Two | Three | Four | Five | Six | Seven | Eight | Nine | Ten |
Jack | Queen | King | Ace
let pips = [Two; Three; Four; Five; Six; Seven; Eight; Nine; Ten;
Line 315:
Printf.printf "player a has %d books\n" (player_a#books_length);
Printf.printf "player b has %d books\n" (player_b#books_length);
;;</langsyntaxhighlight>
9,482

edits