File: main.ml

package info (click to toggle)
ocaml-eio 1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,548 kB
  • sloc: ml: 14,608; ansic: 1,237; makefile: 25
file content (6 lines) | stat: -rw-r--r-- 145 bytes parent folder | download
1
2
3
4
5
6
let main ~stdout =
  Eio.Flow.copy_string "Hello, world!\n" stdout

let () =
  Eio_main.run @@ fun env ->
  main ~stdout:(Eio.Stdenv.stdout env)