File: print_using_file.ml

package info (click to toggle)
ocaml-luv 0.5.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,504 kB
  • sloc: ml: 11,130; makefile: 6,223; sh: 4,592; ansic: 1,517; python: 38
file content (3 lines) | stat: -rw-r--r-- 120 bytes parent folder | download | duplicates (2)
1
2
3
let () =
  Luv.File.(write stdout [Luv.Buffer.from_string "Hello, world!\n"]) ignore;
  ignore (Luv.Loop.run () : bool)