File: new.ml.ref

package info (click to toggle)
ocamlformat 0.28.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,436 kB
  • sloc: ml: 63,321; pascal: 4,769; lisp: 229; sh: 217; makefile: 121
file content (8 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
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