shuntagami / dotfiles

MacOS / Ubuntu dotfiles
MIT License
1 stars 0 forks source link

setup ocaml #24

Closed shuntagami closed 1 year ago

shuntagami commented 1 year ago

what

memo

❯ ocaml
        OCaml version 4.12.0

# "あ" ;;
- : string = "あ"
#
❯ utop
──────────────────────────────────────────┬──────────────────────────────────────────────────────────────┬───────────────────────────────────────────
                                          │ Welcome to utop version 2.11.0 (using OCaml version 4.12.0)! │
                                          └──────────────────────────────────────────────────────────────┘
Findlib has been successfully loaded. Additional directives:
  #require "package";;      to load a package
  #list;;                   to list the available packages
  #camlp4o;;                to load camlp4 (standard syntax)
  #camlp4r;;                to load camlp4 (revised syntax)
  #predicates "p,q,...";;   to set these predicates
  Topfind.reset();;         to force that packages will be reloaded
  #thread;;                 to enable threads

No such package: camlp4
No such package: core.syntax

Type #utop_help for help about using utop.

sample .merlin for https://github.com/johnwhitington/cpdf-source, but working only in VSCode.

S .
B _build
FLG -unsafe-string
PKG camlpdf
image image