Add specs.
[hope.git] / src / hope_result.erl
index a40629a..5d0ea7e 100644 (file)
     .
 
 
+-spec pipe([F], X) ->
+    t(Ok, Error)
+    when X     :: any()
+       , Ok    :: any()
+       , Error :: any()
+       , F     :: fun((X) -> t(Ok, Error))
+       .
 pipe([]    , X) -> X;
 pipe([F|Fs], X) ->
     case F(X)
This page took 0.020281 seconds and 4 git commands to generate.