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

14 lines
168 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04: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)