Commit graph

14 commits

Author SHA1 Message Date
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