OfFunc Module
Functions and values
Function or value | Description |
Full Usage:
attempt task a error
Parameters:
'args -> unit
a : 'args
error : exn -> 'msg'
Returns: (('msg' -> unit) -> unit) list
|
|
Full Usage:
either task a success error
Parameters:
'args -> 'a
a : 'args
success : 'a -> 'msg'
error : exn -> 'msg'
Returns: (('msg' -> 'b) -> 'b) list
|
|
Full Usage:
exec task a
Parameters:
'args -> unit
a : 'args
Returns: ('a -> unit) list
|
|
Full Usage:
perform task a success
Parameters:
'args -> 'a
a : 'args
success : 'a -> 'msg'
Returns: (('msg' -> unit) -> unit) list
|
|