Ethiopian multiplication: Difference between revisions

→‎{{header|OCaml}}: incorrect. Program needs to define three functions to halve double and test odd/even as stated in the task description.
(→‎{{header|Haskell}}: 'odd' although included in the Prelude, it is defined here to meet the task specification as: (UNTESTED MOD))
(→‎{{header|OCaml}}: incorrect. Program needs to define three functions to halve double and test odd/even as stated in the task description.)
Line 1,006:
 
=={{header|OCaml}}==
{{incorrect|OCaml|program needs to define three functions to halve double and test odd/even as stated in the task description.}}
<lang ocaml>let ethiopicmult x y =
let rec aux plier pliand acc =
Anonymous user