Commit graph

310 commits

Author SHA1 Message Date
1ffb5536d0
Merge pull request #12 from kemitix/maybe
Add Maybe, Just and Nothing
2017-12-10 16:58:14 +00:00
d082215b12 Add tests for equality 2017-12-10 16:53:41 +00:00
dc89a0962f Use static import of nothing() 2017-12-10 16:33:49 +00:00
e711184628 Remove copy of documentation tests 2017-12-10 16:24:56 +00:00
e0eb0614c3 Add Maybe, Just, Nothing 2017-12-10 16:11:12 +00:00
41f9227afd Allow Functor.map() to return type-safe Functor subclasses 2017-12-10 10:40:31 +00:00
283e7a2f46
Merge pull request #11 from kemitix/non-monad-typealias
Restore public access to TypeAlias.getValue()
2017-12-09 19:29:05 +00:00
ec482211e0 Add missing test shouldNotBeEqualWhenValuesAreNotTheSame 2017-12-09 19:23:23 +00:00
db3596063e Update CHANGELOG 2017-12-09 18:53:32 +00:00
a215c9c137 Remove redundant unchecked warning 2017-12-09 17:38:35 +00:00
ba4380fe98 Clarify that toString(), equals() and hashCode() all delegate to value 2017-12-09 17:38:04 +00:00
27019b23c1 Update and clarify TypeAlias tests 2017-12-09 17:35:18 +00:00
3c2b7dd5a1 Make TypeAlias.getValue() public again
Another revert from 0.3.0. TypeAlias is not meant to be monadic in any form.
It is a simple alias for another (non-generic) type.
2017-12-09 17:26:29 +00:00
2f16ab6714 Remove explicit type as a constructor parameter
This rolls back the change made for 0.3.0, reverting the API for TypeAlias
2017-12-09 17:25:01 +00:00
f49df2d895 Remove need in equals() for explicit type 2017-12-09 17:23:14 +00:00
d93f27d959
Merge pull request #10 from kemitix/prepare/0.4.0
Prepare for 0.4.0
2017-11-26 20:06:18 +00:00
525bb8cc66
Merge pull request #9 from kemitix/release/0.3.0
Release 0.3.0
2017-11-26 20:03:44 +00:00
7166ed016e version set to 0.4.0-SNAPSHOT 2017-11-26 19:55:28 +00:00
4fe38144cc version set to 0.3.0 2017-11-26 19:54:31 +00:00
526f7ab6f2
Merge pull request #8 from kemitix/remove-get-value
Remove getValue() from TypeAlias public API
2017-11-26 11:42:03 +00:00
9d31ca2694 Make TypeAlias.getValue() private 2017-11-26 11:35:25 +00:00
770467c1d5 TypeAlias requires explicit type class as parameter
TypeAlias makes use of map() and getValue() internally.
2017-11-26 11:33:36 +00:00
daa9775d6a Update TypeAliasTests to not use deprecated TypeAlias.getValue() 2017-11-26 09:38:35 +00:00
d60aedb930 Deprecate TypeAlias.getValue() in favour of map() 2017-11-26 09:33:49 +00:00
2a28507ae9 Merge pull request #7 from kemitix/prepare-0.3.0
Prepare 0.3.0
2017-10-20 09:22:07 +01:00
247b2a2e74 Prepare for 0.3.0 release 2017-10-19 22:54:27 +01:00
339449b64a Merge pull request #6 from kemitix/release-0.2.0
Release 0.2.0
2017-10-19 22:50:39 +01:00
5ea43d3406 .travis.yml: clean up unused env.global 2017-10-19 22:47:45 +01:00
d7acef3025 pom.xml: revert kemitix-parent to 3.2.4 2017-10-19 22:38:23 +01:00
6ab26a9599 Merge remote-tracking branch 'origin/release-0.2.0' into release-0.2.0 2017-10-19 22:19:35 +01:00
f008db92f9 README.md: add TypeAlias heading 2017-10-19 22:19:07 +01:00
76bcb1b1c1 Merge branch 'master' into release-0.2.0 2017-10-19 19:40:04 +01:00
ccc0c91473 Prepare for 0.2.0 release
* Update CHANGELOG
* Use `kemitix-parent` 4.0.0
* Make dependency versions properties
2017-10-19 19:38:15 +01:00
df7ef1c5c4 Merge pull request #5 from kemitix/polish
Polish
2017-10-19 19:31:38 +01:00
b5b11982e1 TypeAlias: prevent map() from being overridden 2017-10-19 18:45:45 +01:00
1e8941b030 TypeAlias: allow getValue() to be overridden 2017-10-19 18:42:55 +01:00
4c85e56c80 TypeAlias.map(): added 2017-10-07 18:56:38 +01:00
1046b6c5ae entities: add static builder and constructors and make previous revision Optional 2017-09-30 16:46:49 +01:00
cf723da38a Functor: clean up javadoc 2017-09-30 15:41:08 +01:00
3d8ebfeed6 Mon: make map() and flatMap() final
Also remove map() javadoc that is now in Functor.
2017-09-19 23:11:18 +01:00
fdc4cad4e4 Functor: rewrite map() javadoc 2017-09-19 23:10:31 +01:00
ccf3a11157 MonTest: apply stepdown rule to methods 2017-09-19 23:09:28 +01:00
732c4f5206 Merge pull request #4 from kemitix/codacy-clean-up
Codacy clean up
2017-09-19 06:38:46 +01:00
269e6e7baf Merge pull request #3 from kemitix/prepare/0.2.0
Prepare 0.2.0
2017-09-18 22:48:59 +01:00
c93ec60a31 TypeAliasTest: Avoid calling toString() on String objects 2017-09-18 22:46:12 +01:00
b3c6520067 {Identity,Mon}Test: JUnit tests should include asserts 2017-09-18 20:40:53 +01:00
141d508138 {Address,Customer,TypeAliasTest}: use explicit scoping 2017-09-18 20:23:01 +01:00
58c1477248 version: set to 0.2.0-SNAPSHOT 2017-09-18 20:13:35 +01:00
6ba5d8bc43 Merge pull request #2 from kemitix/release/0.1.0
Release 0.1.0
2017-09-17 10:43:35 +01:00
8f46a5a992 version: set to 0.1.0 2017-09-17 10:37:15 +01:00