RosettaCodeData/Task/Logical-operations/OCaml/logical-operations.ocaml
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

4 lines
149 B
Text

let print_logic a b =
Printf.printf "a and b is %B\n" (a && b);
Printf.printf "a or b is %B\n" (a || b);
Printf.printf "not a is %B\n" (not a)