Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Monad.Syntax
SourceThe Syntax module implements the monadic operators provided by OCaml 4.08
The semantic of ( and* )
is the same as in Agent.Monad.List.iter_p
, that is the two elements are fed with the same initial agent and evaluated in parallel. As there is no reason to choose one state over the other as a result, we restore the state to the same initial value.