If you need multiple types of monads, and you can't just give them each different function names, then use generic functions for UNIT and BIND (with two differences from Haskell: Haskell's 'return' is generic in the resulting monad type, not the argument type, and the type's resolved at compile time). When I've done this in Scheme I only needed one kind of monad, so I didn't bother.
WITH can be handy for other things; I already had it lying around when the occasion came up to use a monad in Scheme.
Oleg's written about another approach using delimited continuations.
WITH can be handy for other things; I already had it lying around when the occasion came up to use a monad in Scheme.
Oleg's written about another approach using delimited continuations.