Ocaml as Lisp
I know it's not the style, but I like to think of Ocaml like a Clojure that has more syntax, and just wrap everything in parentheses. Every function call, every assignment, every if block, everything.
module Cli = Chatlib.Cli
let main () =
(let options = (Cli.parse Sys.argv) in
(Cli.OptionBag.pp options))
let () = (main ())
⁂
Liked the post? Hated the post? Felt nothing whatsoever about the post?
Email me, and let me know!