README example - Unbound value not_found
pjhampton opened this issue Β· comments
Pete Hampton commented
Hey π
It seems that the example on the readme is raising the following error:
dune build
File "hello_world.ml", line 14, characters 2-11:
14 | not_found (fun req ->
^^^^^^^^^
Error: Unbound value not_found
I'm using OCaml version 4.09.0 and Opium
opium 0.17.1 Sinatra like web toolkit based on Lwt + Cohttp
Is this an outdated doc or is there an issue on my end?
Anurag Soni commented
I should clarify this in the readme. not_found is not present in the current released version on opam. I will prepare a new release soon but in the meantime you can pin it to the dev version from master.
Anurag Soni commented
I've made a pull request for a new release ocaml/opam-repository#16073
Anurag Soni commented
The new release is now available on opam