On Wed, Jul 27, 2011 at 5:02 PM, Ben Lippmeier <[email protected]> wrote:
>
>> I'd call the imperative one "seq" and the monadic one "do", but this
>> is not so "natural-language-like" or whatever. Don't know really. (May
>> still implement either of these in the meantime.)
>
> But Haskell already uses "seq" to mean something quite different. I'd also 
> expect uses of 'do' to be more frequent than 'mdo', so the more frequent one 
> should get the shortest name.

Well, I just don't like how "mdo" looks, so I'm trying to invent
alternatives =) Haskell's use of 'seq' is most probably not useful for
Disciple (why not simply have force :: a -> () or :: a -> a?), and a
Haskell program that uses 'seq' will probably need modifications to
run (or perform well) under Disciple anyway. 'mdo' also used to be a
part of a deprecated Haskell extension (RecursiveDo), but this
probably doesn't matter.

Alex

-- 
Disciple-Cafe mailing list
http://groups.google.com/group/disciple-cafe

Reply via email to