swiss v2.5.0 Swiss View Source
Swiss
Swiss is a bundle of extensions to the standard lib. It includes several helper functions for dealing with standard types.
API
The root module has generic helper functions; check each sub-module's docs for each type's API.
Link to this section Summary
Functions
Applies the given func
to value
and returns value.
Applies the given func
to value
and returns its result.
Link to this section Functions
Applies the given func
to value
and returns value.
Examples
iex> Swiss.tap(42, &(12 + &1))
42
Applies the given func
to value
and returns its result.
Examples
iex> Swiss.thru(42, &(12 + &1))
54