Commit graph

17 commits

Author SHA1 Message Date
ee97d6065f
Fix README (#180) 2021-03-12 20:32:49 +00:00
a501c506a4
Add Wrapper (#179)
* Update copyright year

* Alias: added

* bump release-drafter from 5.11.0 to 5.14.0

* Version set to 2.3.0

* Rename Alias as Wrapper and drop map method

Simplify tests.
2021-03-12 20:28:38 +00:00
30f903dbb2
Add flatMapLeft/Right and getLeft/Right to Either (#128)
* clean up code

* tree: replace deprecated assertj methods

* either: add flatMapLeft and flatMapRight

* either: add getLeft and getRight
2020-06-20 15:03:52 +01:00
b2fe2f4557
Clean up (#64)
* [readme] use valid haskell example

* [tree] Immediately return this expression instead of assigning it to the temporary variable "treeList".

* [tree] Use normal defensive copying for array fields
2019-01-06 12:33:19 +00:00
7f5657e8e8
Update CHANGELOG and README and add JDK 12 to jenkins (#63)
* [changelog] convert to org-mode and update

* [readme] adjust header levels

* [readme] Remove sonarcloud and codacy badges

* [jenkins] Remove sonarcloud

* [jenkins] Add test build for JDK 12
2019-01-06 11:39:44 +00:00
8357d7f5d8
[tree] Add TreeBuilder (#57)
* [tree] TreeBuilder: whenEmptyBuilderBuildThenTreeIsAnEmptyLeaf()

* [tree] Provide default implementation of count()

* [tree] Extract TreeMapper

* [tree] MutableTree added

* [tree] TreeBuilder: whenAddLeafThenTreeHasLeaf()

* [tree] TreeBuilder: whenAddSubTreeThenTreeHasSubTree()

* [maybe] Add Maybe.findFirst(Stream) and matchValue(Function, Supplier)

* [tree] TreeBuilder: whenAddGrandChildThenTreeHasGrandChild()

* [tree] TreeBuilder: whenAddMultipleChildrenThenTreeHasAllChildren()

* [tree] Tree: avoid leaking MutableTree type as parameters

* [changelog] update

* [changelog][readme] Update to include TreeBuilder
2018-10-14 08:55:09 +01:00
00d8808479 [result] orElseThrow() throws error within a CheckedErrorResultException 2018-10-06 19:58:50 +01:00
e22ff4589f Update CHANGELOG and README 2018-10-04 07:39:38 +01:00
c0ee1cdbc7 [result] orElseThrow() wraps the error exception in an unchecked MonResultException 2018-10-03 21:58:33 +01:00
9249ba8f59 [lazy] Add a lazy evaluator 2018-09-30 19:37:30 +01:00
f5c10e668d [tree] Add a Generalised Tree 2018-09-30 18:05:41 +01:00
Paul Campbell
1ca686a3f6 Add Maybe.or(Supplier<Maybe>)
Like a flatMap for the negative case.
2018-08-31 22:53:06 +01:00
e8989718f3 README.org: expand TypeAlias documentation and add TypeAlias.flatMap() 2018-07-16 20:56:56 +01:00
78f15df464 README.org: add documentation for Either 2018-07-16 19:31:18 +01:00
3e4629d873 README.org: reformat and adjust headers 2018-07-16 19:10:48 +01:00
c7c7c6ebeb README.org: adjust headings 2018-07-16 18:52:33 +01:00
9a6c58c835 Rewrite README and convert to org-mode
* MaybeTest use static import Maybe.*
* Maybe.orElseThrow() now returns value when is a Just
2018-07-15 20:59:49 +01:00