Change Log
All notable changes to this project will be documented in this file (at least to the extent possible, I am not infallible sadly). This project adheres to Semantic Versioning.
0.6.2
Added
mapn
function, which will allow for lifting a mapping function inton
number of nested mappable containers.- Some documentation clean up.
0.6.1
Added
- Implemented the
Mappable protocol
for Elixir’s List. Now you can callContainers.map
on a normal list. - Added
Containers.map2
, which will allow you to pass a mapping function to map on a nested mapable structure.
0.6.0
Added
Containers.Flattenable
protocol for flattening nested containersContainers.flatten
a function to perform the flattening of Flattenable containers- some internal code clean up.
Changed
Containers.map
on theResult
container will call the function when the Result container value is:ok
. Before it would just ignore the function returning the Result container. Now we can map that container and the mapping function will return a new Result with the inner value as{:ok, return_from_function}
. This is a breaking change.
0.5.0
Added
Containers.Classy.List
module to provide total/consistent function support to the List module.
Changed
Containers.Int
is nowContainers.Classy.Integer
. This is a breaking change.
0.4.0
Added
- Types for documentation
Changed
Containers.Result.from_tuple
is nowContainers.Result.to_result
to support:ok
, and:error
stand alone atoms- Documentation updates
0.3.2
Added
Container.Int
module