Skip to content

Releases: Centib/loe

v0.1.2

Choose a tag to compare

@gnjec gnjec released this 24 Jul 16:11
  • Updated project logo

v0.1.1

Choose a tag to compare

@gnjec gnjec released this 24 Jul 06:43
  • Documentation improvements in README.md
  • Updated project logo

Initial release

Choose a tag to compare

@gnjec gnjec released this 13 Jul 08:02

Initial release of Loe, a tiny Elixir library for chaining and transforming raw, {:ok, _}, and {:error, _} values.

Added

  • lift/2 — Applies a function to raw or success values.
  • tfil/2 — Applies a function to error values only.
  • unwrap!/1 — Extracts the {:ok, value} or raises on error.
  • ~>> — Infix macro for chaining with lift/2.
  • <~> — Infix macro for chaining with tfil/2.