3 ms·
I asked it to write code to calculate the arithmetic average of a list of ints in OCaml. It used only integer operators. Nowhere were floats involved. I asked
by 77pt77 2y ago
I asked it to write code to calculate the arithmetic average of a list of ints in OCaml.
It used only integer operators. Nowhere were floats involved.
I asked "why is there no +. or /. operator"
It completely bullshitted me saying + is polymorphic in Ocaml.
Surprised, I asked since when. It game me a caml version over 20 years old.
I fired a repl and obviously + only works on ints.
When I called it out zero fs were given.
I'll pass, thank you very much.