File: ocaml.ml

package info (click to toggle)
rust-scriptisto 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 420 kB
  • sloc: python: 25; ansic: 16; java: 11; pascal: 9; javascript: 8; cpp: 8; cs: 7; lisp: 5; f90: 5; cobol: 5; ml: 4; makefile: 4; haskell: 2
file content (14 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env scriptisto

(*
  scriptisto-begin
  script_src: script.ml
  build_cmd: dune build script.exe
  target_bin: ./_build/default/script.exe
  files:
   - path: dune
     content: (executable (name script) (libraries lwt.unix))
  scriptisto-end
*)

Lwt_main.run (Lwt_io.printf "Hello, OCaml!\n")