タグ

OCamlに関するmoccos_infoのブックマーク (3)

  • OCaml備忘録

    的にlinuxベース。バージョンは大体3.07とか3.08ぐらい。よく分からない部分もとりあえず書いているので、多分間違い多数。徐々に追加とか修正とかする予定。今のところオブジェクトとモジュールのところの内容は空。 ツールの使い方 起動と終了の仕方 OCamlのインタプリタを起動させるにはシェルから次のように入力する。 [radio@taka radio]$ ocaml Objective Caml version 3.08.0 # 終了は # #quit;; と打ち込む。バイトコンパイルはシェルから [radio@taka radio]$ ocamlc hoge.ml -o hoge ネイティブコンパイルは [radio@taka radio]$ ocamlopt hoge.ml -o hoge とする。 また次のようにすると起動時にファイルを読み込むことができる [radio@ta

  • PLEAC-Objective CAML

    Table of ContentsForeword1. Strings (100.0%) 2. Numbers (100.0%) 3. Dates and Times (100.0%) 4. Arrays (100.0%) 5. Hashes (100.0%) 6. Pattern Matching (100.0%) 7. File Access (100.0%) 8. File Contents (100.0%) 9. Directories (100.0%) 10. Subroutines (100.0%) 11. References and Records (100.0%) 12. Packages, Libraries, and Modules (100.0%) 13. Classes, Objects, and Ties (100.0%) 14. Database Access

  • ML Dialects and Haskell: SML, OCaml, F#, Haskell - Hyperpolyglot

    a side-by-side reference sheet grammar and invocation | variables and expressions | arithmetic and logic | strings | dates and time | arrays | lists | tuples | dictionaries | functions | execution control | exceptions | concurrency | file handles | files | directories | processes and environment | libraries and namespaces | user-defined types | objects | inheritance and polymorphism | net and web

  • 1