OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch...

13
OCaml Install and Use 강동옥

Transcript of OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch...

Page 1: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

OCaml Install and Use

강동옥

Page 2: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

OCaml Install

• http://caml.inria.fr/download.en.html

• Linux: apt-get install ocaml

• Linux&Mac: • Download OPAM (http://opam.ocamlpro.com/)

• opam init -> opam switch 3.12.1 (or any other version number)

• Windows: • Self installer

Page 3: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

OCaml Install

Page 4: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

OCaml Install

Page 5: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

OCaml Install

1. Just next,next… (Tcl, Emacs are not essential) 2. In cygwin setup, select appropriate mirror site. (the nearest nations are good)

Page 6: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

OCaml Install Run terminal

Page 7: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

Cygwin Backspace Config click icon -> select options Check Backspace sends

Page 8: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

Cygwin Backspace Config

Write and save following configs on .vimrc file

Page 9: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

Interpreter

Page 10: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

Interpreter

Page 11: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

Interpreter

Running OCaml source code

Page 12: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

Interpreter

Running OCaml source code

Page 13: OCaml Install and Useropas.snu.ac.kr/~ta/4190.310/14/ocaml_install14f.pdf•opam init -> opam switch 3.12.1 (or any other version number) •Windows: •Self installer OCaml Install

Interpreter

Running OCaml source code