All Versions
6
Latest Version
Avg Release Cycle
72 days
Latest Release
50 days ago

Changelog History

  • v0.7.0

    April 15, 2020
  • v0.6.0

    January 23, 2020
  • v0.5.0

    July 12, 2019

    #53 Make Monads compatible with Crystal 0.29.0

  • v0.4.0

    May 22, 2019

    🆕 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

  • v0.3.0

    May 06, 2019

    🚚 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

  • v0.2.0

    April 21, 2019

    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