:: a -> Maybe a -> a -package:base

Flipped version of fromMaybe, useful for chaining.
O(n) Prepend an element.
option x p tries to apply action p. If p fails without consuming input, it returns the value x, otherwise the value returned by p.
priority  = option 0 (digitToInt <$> digit)
Keep value x alive until computation k completes. Warning: This primop exists for completeness, but it is difficult to use correctly. Prefer keepAliveUnlifted if the value to keep alive is simply a wrapper around an unlifted type (e.g. ByteArray).
Variant of keepAlive in which the value kept alive is of an unlifted boxed type.
O(n) Append an element.