← all modules

Sky.Core.Result

Sky.Core.Result
  Sky.Core.Result — combinators over the Result ADT.

Values
  fromMaybe : e -> Maybe a -> Result e a
      `fromMaybe err maybe` — `Just a` becomes `Ok a`, `Nothing` becomes
  toMaybe : Result e a -> Maybe a
      `toMaybe result` — `Ok a` becomes `Just a`, `Err _` becomes `Nothing`.
  withDefault
  map
  andThen
  mapError
  map2
  map3
  map4
  map5
  andMap
  combine
      v0.17 step-7 CPS rewrite: was non-TCO O(N) Go-stack recursion