Commit Graph

267 Commits

Author SHA1 Message Date
Michael Bull
7805842eae Fix typo in example application 2020-08-27 13:44:56 +01:00
Michael Bull
33d376c4c8 Improve merge unit tests 2020-08-26 22:30:59 +01:00
Michael Bull
67c1cd33ad Rewrite example application 2020-08-26 22:02:22 +01:00
Michael Bull
41269f06d3 Extract dependency versions to Versions object in buildSrc 2020-08-26 19:52:18 +01:00
Michael Bull
a662ebc0a7 Update dependencies 2020-08-26 19:42:18 +01:00
Michael Bull
30d2778d00 Update Gradle to 6.6.1 2020-08-26 19:34:35 +01:00
Michael Bull
b123921ba5 Make runBlockingTest match signature of kotlinx-coroutines-test 2020-08-26 19:26:02 +01:00
Michael Bull
a76768fa42 Remove deprecation of eager-evaluating functions
They are fine to be used, and their lazy equivalents already have analogous
methods that can be used instead.
2020-08-26 19:16:44 +01:00
Michael Bull
4206f8b905 Fix suppressed warnings in unit tests 2020-08-26 19:11:13 +01:00
Michael Bull
09d341ae6d Add Scala's merge
https://www.scala-lang.org/api/2.12.0/scala/util/Either$$MergeableEither.html#merge:A
2020-08-26 17:22:55 +01:00
Michael Bull
30b5d918c7 Fix missing project descriptions in pom files 2020-08-26 16:50:36 +01:00
Tristan Hamilton
b16fb559a1 Move binding coroutine implementation to separate subproject 2020-08-25 22:29:50 +01:00
Michael Bull
ce0180f5cd Fix links in README
The move to a mpp structure broke these links.
2020-07-23 11:19:02 +01:00
Michael Bull
217e6d120e [Gradle Release Plugin] - new version commit: '1.1.9-SNAPSHOT'. 2020-07-19 11:11:17 +01:00
Michael Bull
ac773cc175 [Gradle Release Plugin] - pre tag commit: '1.1.8'. 2020-07-19 11:11:02 +01:00
Michael Bull
55610e207c Update version in README 2020-07-19 11:06:54 +01:00
Tristan Hamilton
bd7e1244b3 Add suspend variant of binding function
Closes #24
2020-07-19 11:00:43 +01:00
Tristan Hamilton
a40dcdf688 Move zip tests to common test directory 2020-07-19 10:51:30 +01:00
Michael Bull
b95b1c7dee
Fix typo in README 2020-07-10 20:23:18 +01:00
Michael Bull
a48822787e [Gradle Release Plugin] - new version commit: '1.1.8-SNAPSHOT'. 2020-06-28 12:13:53 +01:00
Michael Bull
8168388352 [Gradle Release Plugin] - pre tag commit: '1.1.7'. 2020-06-28 12:13:39 +01:00
Tristan Hamilton
bca344daaf Convert to multi-platform project structure
Closes #12
2020-06-28 12:06:16 +01:00
Michael Bull
f8ce59b3fb
Merge pull request #20 from jvanderwee/task/zip_tests
Add tests for zip functions
2020-06-10 14:06:08 +01:00
Joseph Van der Wee
31965ceb3d
Added zip tests 2020-06-06 16:17:54 +01:00
Michael Bull
32ccaeea16
Merge pull request #19 from Munzey/kotlinNativeFix
Make BindingTest agnostic of target platform
2020-06-05 17:45:41 +01:00
Tristan Hamilton
843b1eccd7 Make BindingTest agnostic of target platform by using kotlin test instead of junit test annotation 2020-06-05 17:43:05 +01:00
Michael Bull
3651b2427f Update version in README 2020-06-04 19:14:44 +01:00
Michael Bull
b4b2224ed2 Update dependencies 2020-06-04 19:11:51 +01:00
Tristan Hamilton
7a3e381934 Add binding section to README 2020-06-04 18:16:38 +01:00
Michael Bull
ff8753321d Add compiler contracts to binding function 2020-05-11 12:48:41 +01:00
Michael Bull
534815400c Improve var name consistency in BindingBenchmark 2020-05-11 12:01:32 +01:00
Michael Bull
4b745d8717 Merge {AndThen,Binding}Benchmarks
jmh-visualiser displays them comparatively when they are in the same class.
2020-05-11 11:54:50 +01:00
Tristan Hamilton
0910e9ffe4 Add benchmarking framework 2020-05-11 11:28:51 +01:00
Michael Bull
fa8f58c0da Add Tristan Hamilton to contributors 2020-05-11 10:41:00 +01:00
Tristan Hamilton
9bcaa974ca Add monad comprehensions via binding block 2020-05-11 10:34:55 +01:00
Michael Bull
1000c588c0 Add Result#toErrorUnless
Gives us symmetry with the kotlin stdlib:

- https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/take-if.html
- https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/take-unless.html
2020-04-18 11:48:45 +01:00
Michael Bull
22898fff4f Add compiler contract to Result#toErrorIf 2020-04-18 11:43:31 +01:00
Michael Bull
2ef738abcb Add Markus Padourek to contributors 2020-04-18 11:41:25 +01:00
Markus Padourek
cf9582075d Add Result#toError
Facilitates transforming an Ok to an Err if the value satisfies a given
prdicate.
2020-04-18 11:39:36 +01:00
Michael Bull
4d2a2d1453 Correct inception year in LICENSE 2020-04-18 11:03:13 +01:00
Michael Bull
3bf934e5cf Update copyright year 2020-04-18 10:55:03 +01:00
Michael Bull
6246bd3137 Update dependencies 2020-04-16 10:37:06 +01:00
Michael Bull
303488f22a Update gradle to 6.3 2020-04-16 10:35:43 +01:00
Michael Bull
6284959f01 Group contributors with developers in POM configuration 2020-02-12 14:55:22 +00:00
Michael Bull
a8641c4270 [Gradle Release Plugin] - new version commit: '1.1.7-SNAPSHOT'. 2020-02-12 14:38:26 +00:00
Michael Bull
67b414dbb4 [Gradle Release Plugin] - pre tag commit: '1.1.6'. 2020-02-12 14:38:13 +00:00
Michael Bull
68cabd7a1e Replace bintray with maven central 2020-02-12 14:33:36 +00:00
Michael Bull
e4da8cf75f Update gradle to 6.2-rc-2
See: https://discuss.gradle.org/t/unable-to-publish-artifact-to-mavencentral/33727
2020-02-12 14:26:13 +00:00
Michael Bull
7fb76c9865 [Gradle Release Plugin] - new version commit: '1.1.6-SNAPSHOT'. 2020-01-31 09:31:29 +00:00
Michael Bull
c170afe13b [Gradle Release Plugin] - pre tag commit: '1.1.5'. 2020-01-31 09:31:10 +00:00