Commit Graph

403 Commits

Author SHA1 Message Date
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
Michael Bull
4ed42cc407 Replace code blocks in comments with variable references 2020-01-31 09:21:41 +00:00
Michael Bull
43ebd5753a Add Rust's mapOr & mapOrElse
See: https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html#library-changes
2020-01-31 09:17:49 +00:00
Michael Bull
434b8aa7fb Fix typo in Result#unwrap exception message
Fixes #8
2020-01-11 10:14:59 +00:00
Michael Bull
6651b18905 Add kotlin.code.style=official to gradle.properties 2019-12-20 15:19:38 +00:00
Michael Bull
77cda76c26 Update README 2019-12-20 15:08:59 +00:00
Michael Bull
75006939d7 Improve rule specificity in gitignore 2019-12-20 15:08:25 +00:00
Michael Bull
73b094818b [Gradle Release Plugin] - new version commit: '1.1.5-SNAPSHOT'. 2019-12-20 15:01:21 +00:00
Michael Bull
f2a32cf811 [Gradle Release Plugin] - pre tag commit: '1.1.4'. 2019-12-20 15:00:58 +00:00
Michael Bull
322f1a5801 Update version in README 2019-12-20 14:58:52 +00:00
Michael Bull
7613668b5e Remove unnecessary parens in root build script 2019-12-20 14:57:53 +00:00
Michael Bull
b3dbc36b76 Replace travis with github actions 2019-12-20 14:51:24 +00:00
Michael Bull
4cc5100c1b Update dependencies 2019-12-20 14:47:10 +00:00
Michael Bull
782fac0ced Update dependencies 2019-09-27 10:25:37 +01:00
Michael Bull
1bf2125327 Support destructuring declarations
val (value: String?, error: Throwable?) = runCatching(yourFunction)
2019-09-27 09:29:50 +01:00