Simon Cruanes
|
1b5b23a8f1
|
remove unlabel, remove all traces of Result
|
2019-12-10 20:48:38 -06:00 |
|
Simon Cruanes
|
df9bbb8746
|
add Result.flatten_l to turn a list of results into a result of list
|
2019-10-16 12:22:55 -05:00 |
|
Nathan Rebours
|
29a75daac1
|
Add CCResult.iter_err
Closes #238
|
2018-11-19 17:17:26 +00:00 |
|
Hongchang Wu
|
e8617c4f05
|
Add CCResult.get_or_failwith
|
2018-10-05 00:55:32 -05:00 |
|
Jacques-Pascal Deplaix
|
9622f6f6ff
|
Avoid uses of the polymorphic operators
|
2018-01-14 23:32:13 +00:00 |
|
Simon Cruanes
|
632526e407
|
improve compatibility with the stdlib
|
2017-12-15 09:49:54 +01:00 |
|
Simon Cruanes
|
aab19f6a50
|
update headers; reindent
|
2017-07-04 13:13:24 +02:00 |
|
Simon Cruanes
|
af6cd08ff4
|
fix too restrictive type in CCResult
|
2017-04-13 15:23:22 +02:00 |
|
Simon Cruanes
|
02b2a21e33
|
add CCResult.fold_ok (closes #107)
|
2017-04-05 10:43:37 +02:00 |
|
Simon Cruanes
|
f27f7757de
|
add CCResult.add_ctx{,f} for replacing stack traces
|
2017-03-27 22:06:37 +02:00 |
|
Simon Cruanes
|
03fd42e67d
|
reindentation
|
2017-01-25 00:08:12 +01:00 |
|
orbitz
|
13888edb4d
|
Add is_ok and is_error, simple predicates for testing a result. This is useful for tests or asserts
|
2017-01-17 20:09:26 +01:00 |
|
Simon Cruanes
|
13b283a91d
|
remove buffer printers, rename pretty-printers to pp
|
2016-11-03 18:24:11 +01:00 |
|
Simon Cruanes
|
c573f447bc
|
add more generic printers for CCError and CCResult (close #73)
|
2016-06-19 01:02:06 +02:00 |
|
Simon Cruanes
|
55a4c7ef7a
|
add Result.{to,of}_err
|
2016-04-11 20:56:39 +02:00 |
|
Simon Cruanes
|
16ac701de1
|
add CCResult.{map_or,get_or}
|
2016-02-23 14:21:37 +01:00 |
|
Simon Cruanes
|
86f170f213
|
small rename
|
2016-02-23 14:19:14 +01:00 |
|
Simon Cruanes
|
02a9639d02
|
add CCResult, with dependency on result for retrocompat
|
2016-01-25 21:20:06 +01:00 |
|