Skip to content

Releases: alex-lairan/monads

Stable

29 Mar 17:42
47c0c91
Compare
Choose a tag to compare

Stable version compatible with Crystal 1.0

Allow Block alongside Proc

15 Apr 17:58
Compare
Choose a tag to compare

Crystal 0.32.1 Compatibility

23 Jan 21:40
Compare
Choose a tag to compare
v0.6.0

Remove return types removing warnings

Crystal 0.29.0 Compatibility

12 Jul 18:41
a1b145d
Compare
Choose a tag to compare

#53 Make Monads compatible with Crystal 0.29.0

Add Try and Task

22 May 06:53
9a8afe9
Compare
Choose a tag to compare

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

06 May 07:32
Compare
Choose a tag to compare

Implement Comparable(T) to Maybe monad and remove redundant #== method.

=> #5
=> #14

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

=> #9
=> #22

Rename Result to Either

=> #10

Add #inspect for Maybe monads and Either

=> #11
=> #12
=> #13

Add a CI

=> #15
=> #17
=> #18

Fix Block type introspection by using a proc

=> #25

Improve Maybe API

21 Apr 04:52
Compare
Choose a tag to compare

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