I am using funcool/cats
, append monoid with the following code :
(m/mappend (maybe/just [1 2 3])
nil
(maybe/just [4 5 6])
(maybe/nothing)) ;;=> #<Just [1 2 3 4 5 6]>
What is the rationale for treating nil
as maybe/nothing ?
Note : the version is [funcool/cats "1.2.1"]