Closed cristiano-belloni closed 7 years ago
(It works in the command line, btw)
Right, sorry about that. This bites me from time to time. There's a bug in the converter from OCaml to Js https://github.com/ocsigen/js_of_ocaml/pull/561 and I forget that, until this fix is released, I have to manually patch the Js code. I'll be releasing an updated version later in the day.
Cool, thanks. I'll +1 the issue so maybe they remember to release it :)
I have fixed the problem in the web demo. Random should work as well. I just need to remember to patch the code every time.
Confirmed for both, thanks!
Hello! This:
Silently returns
Code: Error when compiling
without any further explanation. If I changetanh
tosin
it works. Might it be that the demo version is old and doesn't supporttanh
? For sure it doesn't supportrandom
(but in that case, we get an Ace popup).