File: new.ml

package info (click to toggle)
ocamlformat 0.29.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,820 kB
  • sloc: ml: 65,176; pascal: 4,877; lisp: 229; sh: 217; makefile: 121
file content (15 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let x = new Objects.one ~hello:true ()

let _ = sprintf "Date: %s" (Js.to_string (new%js Js.date_now)##toString)

let _ = f (new test) a b

let _ = f (new test x) a b

let _ = f (new test (new test a b) c) a b

let _ = f (new%js test) a b

let _ = f (new%js test x) a b

let _ = f (new%js test (new%js test a b) c) a b