Releases: alex-lairan/monads
Stable
Allow Block alongside Proc
Crystal 0.32.1 Compatibility
v0.6.0 Remove return types removing warnings
Crystal 0.29.0 Compatibility
#53 Make Monads compatible with Crystal 0.29.0
Add Try and Task
New Try
monad
=> #47
New Task
monad
=> #45
Improve List
monad
Initialize list with [](*args)
=> #34
Add List#reverse
=> #41
Add Comparable
=> https://github.com/alex-lairan/monads/pull/35/files
Add List#next
and Indexable
=> #36
=> #42
Add #sort
and #sort_by
=> #43
=> #44
Add #permutations
, #subsequences
and #join
=> #40
Add #last
and #empty
=> #39
Add #to_s
and #inspect
=> #38
Misc
Add #|
(bind) and #>>
(sequence) operator
=> #46
Update readme
=> #48
=> #50 Thanks @amelie-certin
Functional paradigms naming and behaviors
Implement Comparable(T) to Maybe monad and remove redundant #== method.
Multiples methods reimplementations.
Create Monad(T)
and Fonctor(T)
=> #6
=> #16
=> #19
=> #20
=> #23
=> #24
=> #27
=> #28
=> #29
=> #30
=> #31
=> #32
Use structs instead of classes
Rename Result to Either
=> #10
Add #inspect
for Maybe monads and Either
Add a CI
Fix Block type introspection by using a proc
=> #25
Improve Maybe API
Maybe monad should be close to Haskell or Scala's API
=> #2
Add methods:
to_s, inspect: for easy-to-read
nothing?, just?: instead of failure? and success?
and remove following methods:
failure, success?: due to the above reasons.
#== is implemented for each Just and Nothing and remove Maybe's
=> #3
Remove remained old 'equal?' methods in Nothing
=> #4