home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement function threading.
[hope.git]
/
src
/
hope_result.erl
diff --git
a/src/hope_result.erl
b/src/hope_result.erl
index
0f9fb05
..
9d4235b
100644
(file)
--- a/
src/hope_result.erl
+++ b/
src/hope_result.erl
@@
-9,12
+9,15
@@
]).
-export(
]).
-export(
+ % Generic monad interface
[ return/1
[ return/1
- , map/2 % map/2 is alias for map_ok/2
+ , map/2 % map/2 is alias for map_ok/2
+ , pipe/2
+
+ % Specific to hope_result:t()
, map_ok/2
, map_error/2
, tag_error/2
, map_ok/2
, map_error/2
, tag_error/2
- , pipe/2
, lift_exn/1
, lift_exn/2
, lift_map_exn/3
, lift_exn/1
, lift_exn/2
, lift_map_exn/3
This page took
0.027526 seconds
and
4
git commands to generate.