package core
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Industrial strength alternative to OCaml's standard library
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.16.2.tar.gz
md5=bcac85c0ec5795ccabf1dccf0968ecd9
sha512=2e68556773549e0bf302c8733c9fc57df3c0fd73a1b547dc17097f74c5b5482c816ef89853b437e49452da7c124ef32a8a0de0dff64d71145b2ab11befbe5bb2
doc/src/core/either.ml.html
Source file either.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25module Stable = struct module V1 = struct type ('f, 's) t = ('f, 's) Base.Either.t = | First of 'f | Second of 's [@@deriving bin_io, compare, hash, sexp, typerep, stable_witness] let map x ~f1 ~f2 = match x with | First x1 -> First (f1 x1) | Second x2 -> Second (f2 x2) ;; end end include Stable.V1 include Base.Either include Comparator.Derived2 (struct type nonrec ('a, 'b) t = ('a, 'b) t [@@deriving sexp_of, compare] end) let quickcheck_generator = Base_quickcheck.Generator.either let quickcheck_observer = Base_quickcheck.Observer.either let quickcheck_shrinker = Base_quickcheck.Shrinker.either
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>