package preface

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file join_semilattice.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module Core (Req : Preface_specs.Join_semilattice.WITH_JOIN) = Req

module Infix (Core : Preface_specs.Join_semilattice.CORE) = struct
  type t = Core.t

  let ( || ) = Core.join
end

module Via
    (Core : Preface_specs.Join_semilattice.CORE)
    (Infix : Preface_specs.Join_semilattice.INFIX) =
struct
  include Core
  module Infix = Infix
  include Infix
end

module Via_join (Req : Preface_specs.Join_semilattice.WITH_JOIN) = struct
  module Core = Core (Req)
  include Core
  module Infix = Infix (Core)
  include Infix
end
OCaml

Innovation. Community. Security.