File: main.mli

package info (click to toggle)
ocaml-odoc 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,104 kB
  • sloc: ml: 59,291; javascript: 2,572; sh: 566; makefile: 31
file content (25 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(** {[
      let x = 1
    ]} *)

val x : int
[@@deriving none]
(** {[
      let () =
        print_int x;
        print_newline ()
    ]} *)

module A : sig
  val x : int
  (** {[
        let hello = 2
      ]} *)
end

type t =
  | A of int
      (** {[
            let _ = hello +. hello
          ]} *)
  | B of int