Runes v4.1.0 Release Notes

Release Date: 2017-06-07 // almost 7 years ago
  • 🚀 This release fleshes out the rest of the Applicative implementations for Optional and Array. This adds two new operators to the mix for each type:

    • <* performs an applicative operation, discarding the right hand value
    • *> performs an applicative operation, discarding the left hand value

    We're also adding full implementations for Alternative for both types:

    • <|> performs an alternative operation
    • empty constructs an empty value (basically the dual of pure)
    • Optional now has an .or instance method that acts as a named version of <|>.