Investigations - OCaml Development
Standard Tools
OPAM
Dune
VSCode
-
https://github.com/ocamllabs/vscode-ocaml-platform
-
opam install ocaml-lsp-server
-
But is not compatible with OCamlMake…?
-
worth trying first maybe..
-
recommending (or forcing ) to use https://github.com/ocaml/dune
-
-
名前: OCaml and Reason IDE https://marketplace.visualstudio.com/items?itemName=freebroccolo.reasonml
-
ocamlmerlin needed
-
-
“vscode flymake”?
-
Error: Extension map_open doesn't expect a path argument
shown for-
with core.v0.11.3 and ppx_let.v0.11.0
-
fixed with OCaml 4.12.0 and upgrading everything.
-
∗ installed ppx_let.v0.14.0 ∗ installed core.v0.14.1
-
GitHub Actions
-
https://github.com/ocaml/setup-ocaml/issues
-
But it is slow in setup…?
-
(I need to search more.. and maybe fully migrate my project to Dune…
-
Implementation Tips
-
https://discuss.ocaml.org/t/pretty-printer-for-custom-data-types-best-practices/6723/3
-
https://stackoverflow.com/questions/64742628/unbound-module-stdlib
(de-facto Standard) Libraries
-
JaneStreet Base
-
Polymorphic comparison operator: https://discuss.ocaml.org/t/monomorphic-comparison-operator-of-janestreet-base-library/1585
-
-
JaneStreet Core
-
Command-line examples
-
JaneStreet Core/Base’s consideration about polymorphic operators.
-
https://github.com/mirage/ocaml-uri
-
with CoHttp etc.
-
Failure "No SSL or TLS support compiled into Conduit"
$ opam install lwt_ssl or tls-lwt