Commit Graph

399 Commits

Author SHA1 Message Date
Michael Bull db00e61542 Update Gradle to 5.6 2019-08-24 00:22:16 +01:00
Michael Bull 586b260683 Deprecate Result.of in favour of runCatching factory function
Matches Kotlin's stdlib and becomes top-level
2019-08-24 00:20:46 +01:00
Michael Bull a8098db1c7 [Gradle Release Plugin] - new version commit: '1.1.3-SNAPSHOT'. 2019-08-09 22:14:19 +01:00
Michael Bull 03d89327f4 [Gradle Release Plugin] - pre tag commit: '1.1.2'. 2019-08-09 22:14:07 +01:00
Michael Bull ebb3dd9255 Use openjdk8 on Travis CI 2019-08-09 21:58:57 +01:00
Michael Bull 66f1122efb Add compiler contracts
See: https://kotlinlang.org/docs/reference/whatsnew13.html#contracts
2019-08-09 21:53:52 +01:00
Michael Bull e609f061ac Update dependencies 2019-08-09 21:12:05 +01:00
Michael Bull a9dee2ebc4 Add missing imports to root project gradle file 2019-06-13 09:03:45 +01:00
Michael Bull ce1110a5cd Provide mavenCentral/jcenter to all projects 2019-06-13 00:19:50 +01:00
Michael Bull 06755ed765 Simplify gradle build file 2019-06-09 13:48:30 +01:00
Michael Bull d1c5bd35e0 Populate more fields in bintray pkg 2019-05-30 13:38:12 +01:00
Michael Bull 745a7ee89b Remove duplicate dokka configuration 2019-05-30 13:37:08 +01:00
Michael Bull 1e487d1468 Replace deprecated gradle configurations 2019-05-30 13:28:56 +01:00
Michael Bull 183ea9a234 Update dependencies 2019-05-30 13:07:51 +01:00
Michael Bull f6776498a5 Update Gradle to 5.4.1 2019-05-30 12:54:24 +01:00
Michael Bull 7e6f4d1104 Use generic identifiers from kotlin stdlib for zip functions 2019-05-30 11:55:11 +01:00
Michael Bull 65b9065164 Inline "when" variable declarations 2019-05-30 11:48:12 +01:00
Michael Bull 1ab20a0c76 [Gradle Release Plugin] - new version commit: '1.1.2-SNAPSHOT'. 2018-11-01 19:24:04 +00:00
Michael Bull 07d334acdd [Gradle Release Plugin] - pre tag commit: '1.1.1'. 2018-11-01 19:23:51 +00:00
Michael Bull dbc0a71c64 Update README 2018-11-01 19:12:52 +00:00
Michael Bull 8bcfaac337 Restore example application port to 9000 2018-11-01 19:07:24 +00:00
Michael Bull 63da9642fb Remove internal modifiers from test classes/methods 2018-11-01 19:02:57 +00:00
Michael Bull f2c0f5be32 Simplify BintrayExtension configuration 2018-11-01 18:41:03 +00:00
Michael Bull 97d0567489 Update example application 2018-11-01 12:13:15 +00:00
Michael Bull b6bb3aafaa Correct test method names in OnTest 2018-11-01 11:42:57 +00:00
Michael Bull b5aab62af4 Add Result.recover
Similar to getOrElse but returns an Ok of the transformed error
2018-11-01 11:42:09 +00:00
Michael Bull 3a3b5415a7 Return the Result in on{Success,Failure}
This facilitates chaining onSuccess/onFailure calls that may perform
arbitrary side-effects, such as logging.
2018-11-01 11:25:20 +00:00
Michael Bull 4eb5d80f91 Add fold as an alias to mapBoth 2018-11-01 11:17:40 +00:00
Michael Bull 7e45bfb7f2 Update Kotlin to 1.3.0 2018-11-01 11:03:47 +00:00
Michael Bull 722ddd7c1f Remove jdk dependency of kotlin stdlib 2018-09-24 23:24:29 +01:00
Michael Bull c9811cca6e Update Kotlin & Gradle 2018-09-24 22:34:12 +01:00
Michael Bull 8c35de90ae Simplify javadocJar dependency on dokka task 2018-09-24 22:32:47 +01:00
Michael Bull 436d0990cb Use kotlin short-form for dependency declarations 2018-09-24 22:31:53 +01:00
Michael Bull 80bd9dd692 Migrate to Kotlin Gradle DSL 2018-09-24 22:13:47 +01:00
Michael Bull b93dd4457c Consistently use Gradle plugins DSL 2018-09-24 00:26:29 +01:00
Michael Bull 08c1fb8173 Fix whitespace in README example 2018-09-19 00:13:59 +01:00
Michael Bull c6c029cc20 [Gradle Release Plugin] - new version commit: '1.1.1-SNAPSHOT'. 2018-09-19 00:07:39 +01:00
Michael Bull ab1e665b5e [Gradle Release Plugin] - pre tag commit: '1.1.0'. 2018-09-19 00:07:25 +01:00
Michael Bull f10de37b08 Migrate away from multi-platform project structure 2018-09-19 00:05:03 +01:00
Michael Bull 88f496a366 Add explicit dependencies to bintrayUpload task 2018-09-18 22:48:32 +01:00
Michael Bull 4a0a49be90 Add bintray publishing configuration 2018-09-18 22:21:28 +01:00
Michael Bull 21db2e5e4f Mark new mapping functions as inline 2018-09-18 20:16:17 +01:00
Michael Bull 1377350895 Consistently wrap documentation at 100 characters 2018-09-18 20:00:50 +01:00
Michael Bull 29e21e57a0 Avoid creating unnecessary Err elements in map functions 2018-09-18 19:48:23 +01:00
Michael Bull e43a7008d8 Add more mapping functions for Iterables
- mapAll
- mapResult
- mapResultTo
- mapResultNotNull
- mapResultNotNullTo
- mapResultIndexed
- mapResultIndexedTo
- mapResultIndexedNotNull
- mapResultIndexedNotNullTo
2018-09-18 19:40:07 +01:00
Michael Bull cc1ab4940d Update dependencies 2018-09-18 18:26:45 +01:00
Michael Bull 916760ac6d Update dependencies 2018-08-09 15:27:18 +01:00
Michael Bull d7f09ec6d7 Update links to elm-result-extra 2018-08-09 15:09:15 +01:00
Michael Bull b9bf8f1eaf Update kotlin to 1.2.40 2018-04-22 23:29:32 +01:00
Michael Bull 6c0a24b019 Update README 2018-02-28 04:10:51 +00:00