History log of /seL4-l4v-master/HOL4/src/portableML/monads/errormonad.sml
Revision Date Author Comments
# 7e6911ab 19-Oct-2020 Michael Norrish <michael.norrish@data61.csiro.au>

Set up bind as an alias for >- in errormonad

This is so interactive uses can be set up to avoid the >- token, which
is handled magically by the quotation filter in "interactive"
settings, and which can thereby cause much annoyance.


# 5481d111 27-Jul-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Provide a way to use `with_flag' in the errormonad

This ensures that the reference is updated (and restored) when the
monadic-computation is actually run, rather than when the monad is
generated/computed. Of course, if you want to have a reference change
during generation/computation, just use with_flag.


# 6e435afa 24-Jul-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Move some utility monad-related code to portableML