Monads/Writer monad: Difference between revisions

Line 24:
-- but return an output value which is paired with a log string ?
 
-- We can prevent functions which expect simple values from choking on log-wrapped output (from nested functions)
-- on log-wrapped output (from nested functions)
-- by writing Unit/Return() and Bind() for the Writer monad in AppleScript
 
9,655

edits