Re-order exports to clearly show monad interface.
[hope.git] / src / hope_result.erl
index 0f9fb05..9d4235b 100644 (file)
@@ -9,12 +9,15 @@
     ]).
 
 -export(
+    % Generic monad interface
     [ 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
-    , pipe/2
     , lift_exn/1
     , lift_exn/2
     , lift_map_exn/3
This page took 0.018772 seconds and 4 git commands to generate.