RosettaCodeData/Task/Four-bit-adder/OCaml/four-bit-adder-2.ocaml

14 lines
168 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
# open Blocks;;
# plus 4 5;;
- : int * int = (9, 0)
# plus 15 1;;
- : int * int = (0, 1)
# plus 15 15;;
- : int * int = (14, 1)
# plus 0 0;;
- : int * int = (0, 0)