3 ms·
ocaml looks more like a spec than actual code.
by gethly 9mo ago
ocaml looks more like a spec than actual code.
- beckford 9mo agoIf you were looking at the parse link in the author's comment, you were looking at a spec (called a module interface in OCaml/OxCaml, similar to an interface in Java). The parse implementation is at https://github.com/avsm/httpz/blob/240051dd5f00281b09984a14a27251df489f4ce3/lib/httpz.ml#L511 https://github.com/avsm/httpz/blob/240051dd5f00281b09984a14a... That said, I would be happy if all I needed to type in was a spec.