Commit Graph

8 Commits

Author SHA1 Message Date
Jacek Sieka b06a5b6e32
result -> results (#27) 2020-04-07 11:43:07 +02:00
Jacek Sieka 55c2ec8977 result: more performance notes 2020-04-06 15:53:53 +03:00
Jacek Sieka 4d20b25c02 result: fix and/or template evaluation, add perf notes 2020-04-06 15:53:53 +03:00
Jacek Sieka 9414202d53 result: `and` can deal with heterogenous values 2020-04-04 00:28:46 +03:00
Jacek Sieka 86739f99c4
Use defect for normal errors, document exception bridge mode (#20)
Co-authored-by: Zahary Karadjov <zahary@gmail.com>
2020-04-02 11:39:11 +02:00
Jacek Sieka 7287fffebe
result: add `expect` helper (#23)
* result: add `expect` helper

* result: use explicit conversion in mapConvert
2020-04-01 14:16:20 +02:00
Jacek Sieka d622c07a08
result: cleanups (#22)
* fix ResultError type
* add/fix documentation
* clean up raises (in preparation for better Defect handling)
* fix toException mixin
* work around compiler bug with more explicit types
* fix capture exception type
* fix result type on `?`
2020-03-30 22:49:13 +02:00
Jacek Sieka f5be0ab63a
add nim-result 2020-01-23 17:35:30 +01:00