datum icon indicating copy to clipboard operation
datum copied to clipboard

IO category transformers

Open fogfish opened this issue 7 years ago • 0 comments

%% we have a function that returns io monad
io() ->
   [m_io ||
      ...
   ].

%% we need to compose this function with other category (e.g. reader)
dot() ->
  [reader ||
     Result =< io()
     ...
  ].

The Result is IO function. We need to design a transformer to evaluate this function to actual IO result or fail.

fogfish avatar Mar 02 '18 19:03 fogfish