Preliminaries
r >>= f
is f v
if r = Ok v
and r
if r = Error _
.
r >>| f
is Ok (f v)
if r = Ok v
and r
if r = Error _
.
This definition re-export result
's constructors so that an open Topkg
gets them in scope.
type 'a result = ('a, [ `Msg of string ]) r
The type for topkg results.
Result value combinators.
The type for file system paths.
module Fpath : sig ... end
Version control system repositories.
Package description
module Conf : sig ... end
module Exts : sig ... end
Exts defines sets of file extensions.
Private
Basics
Source repository setup
Quick setup (advertisement)
opam and package build instructions
Package description
Install description
Installing libraries and C stubs
Installing binaries
Conditional install
Automatic install conditions
Extension sets and platform dependent extensions
Renaming and installing in subdirectories
Handling cmt and cmti files
Package care
Documentation care
Advanced topics
Storing build configuration information in software
Multiple opam packages for a single distribution
Menagerie of pkg.ml
files