gistlib
other javascript categories
ocaml code snippets in javascript
fix this ocaml function `let rec digs x = if x < 10 then x else let a = digs(10 / x) in let b = (x mod 10) in maxof3 a b x;;` which returns the max value in a digit in javascript
how do i create a function in ocaml, that takes a number and recursively adds each digit of the nmber in a list? in javascript
in ocaml, how do i find the max value of a list of integers? if [2; 4] it should give me 4. in javascript
is there in ocaml a .max function or method that gives the max vlaue of a list? in javascript
write ocaml program that returns max value of a digit in javascript
gistlib
by LogSnag