Commit graph

219 commits

Author SHA1 Message Date
888c43d468 Update CHANGELOG 2018-07-16 21:01:25 +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
e5958ba432 Add Either (experimental) 2018-07-16 18:49:44 +01:00
a85280341a
Merge pull request #37 from kemitix/rewrite-readme
Rewrite README and convert to org-mode
2018-07-15 22:04:17 +01:00
9da7f0fca0 Update CHANGELOG 2018-07-15 21:57:35 +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
a9d28c9950
Merge pull request #36 from kemitix/next
Next
2018-07-12 22:21:36 +01:00
51f86884fb Add Maybe.isJust() and Maybe.isNothing() 2018-07-12 20:28:34 +01:00
d66c4c8502 Add Maybe.match(Consumer,Runnable) 2018-07-12 18:45:02 +01:00
c64284872c Rename Result.maybeThen() as Result.flatMapMaybe() 2018-07-10 22:46:22 +01:00
97e08ab4fa
Merge pull request #35 from kemitix/result-maybe-then-static
Add `Result.maybeThen(Result<Maybe<T>>, Function)`
2018-07-10 21:40:14 +01:00
3c60da2735 * Add Result.maybeThen(Result<Maybe<T>>, Function) 2018-07-10 17:37:54 +01:00
3871568ac4
Merge pull request #34 from kemitix/clean-up-result-tests
Clean up Result tests
2018-07-09 18:53:49 +01:00
9138cbba46 ResultTest: tidy up test names 2018-07-09 15:47:27 +01:00
a9beeacf0b Update ResultTest sample businessOperation 2018-07-09 15:24:28 +01:00
f6eb27450f Add thenWith(Function) 2018-07-09 08:00:53 +01:00
fb6b65e6de Add andThen(Function) 2018-07-08 19:46:45 +01:00
c8bdd77ac9
Merge pull request #33 from kemitix/single-consumers-for-maybe-and-result
Single consumers for maybe and result
2018-07-07 23:16:24 +01:00
5a5fe003d0 Update CHANGELOG 2018-07-07 23:12:28 +01:00
28564a2129 Add Result.recover(Function) and Result.onError(Consumer) 2018-07-07 23:02:02 +01:00
c5247d7c14 Add Maybe.ifNothing(Runnable) 2018-07-07 18:21:35 +01:00
576b50fadb
Merge pull request #32 from kemitix/update-jenkinsfile
jenkins: don't fail the release branch when SNAPSHOT version, just don't deploy
2018-07-07 18:04:29 +01:00
86f1b69240 jenkins: fix typo (there is no builder project) 2018-07-07 17:46:14 +01:00
cc6a6f8520 jenkins: don't faile release branch with SNAPSHOT, just don't deploy 2018-07-07 17:44:01 +01:00
7648967f8a TypeAlias: access own member fields directly 2018-07-05 07:27:17 +01:00
f0f8ba6a9b README: Remove 'invalid' jenkins badges - revert once available 2018-07-05 07:19:48 +01:00
c47d934da4 jenkins: explicitly use JDK 1.8 2018-07-03 10:52:00 +01:00
8c3163d555 Add jPeek badge 2018-07-03 10:50:01 +01:00
9923bbc880 Add Result.peek(Consumer) 2018-06-30 18:13:29 +01:00
275a35d727 Update CHANGELOG 2018-06-30 16:29:17 +01:00
248bda0b4f Add Result.of(Callable) to reduce boiler plate when calling 2018-06-30 16:24:06 +01:00
74776975d2 pom: Add name, description, issueManagement, scm and inceptionYear elements 2018-06-30 15:11:26 +01:00
fd88193b2b pom: add parent 2018-06-30 12:55:34 +01:00
4fcbc83bab Skip pitest during deployment 2018-06-26 22:36:46 +01:00
d929995151 Revert "Version set to 0.7.0"
This reverts commit b396c5c49e.
2018-06-26 22:25:27 +01:00
b396c5c49e Version set to 0.7.0 2018-06-26 22:20:55 +01:00
1e85a14165 Result.Err.equals(): test when error is different 2018-06-26 22:18:32 +01:00
3e80dded1d Move BeanBuilder to experimental package and allow multiple with() calls 2018-06-26 07:31:03 +01:00
2f5b01f460 Remove Identity 2018-06-26 07:22:32 +01:00
18aa6406ef Result extends Functor 2018-06-26 07:19:39 +01:00
1f986139bc Tidy up checkstyle violations 2018-06-26 07:13:48 +01:00
684cdc06ae New and updated hashcode tests 2018-06-26 07:10:07 +01:00
24a233db5c Implement Result.equals() and hashcode() 2018-06-25 22:51:18 +01:00
7e92129dfc Merge branch 'enhance-result'
* enhance-result:
  Result satisfies the three Monad Laws
  Maybe satisfies the three Monad Laws
  Collapse Maybe{Optional,Stream} into Maybe
  Remove Maybe.fromOptional(Optional)
  Add Result.toString() implementations
  Add Result.toMaybe() and Result.invert()
  Suppress warning for unchecked cast
  Add Result.orElseThrow()
  Add Result.fromMaybe(Maybe, Supplier<Exception>)
  Added Result.maybe()
  Add Result.map()
2018-06-25 22:46:26 +01:00
093e35b4c1 Result satisfies the three Monad Laws 2018-06-25 22:39:25 +01:00
5d39be36ff Maybe satisfies the three Monad Laws 2018-06-25 22:36:18 +01:00
2211182c7d Collapse Maybe{Optional,Stream} into Maybe 2018-06-25 22:06:05 +01:00