Opened 10 years ago

Closed 8 years ago

#49 closed enhancement (invalid)

Add monadic do expressions.

Reported by: benl Owned by:
Priority: project Milestone:
Component: Source Parser Version:
Keywords: Cc:

Description

Overloading <- has been done, but what about {{{then}} expressions?

do  Just 1
    Nothing
    Just 2

Is this supposed to be monadic or not? No way to tell, syntax is ambiguous. If it's monadic the result is Nothing, if not it's Just 2. Should probably use mdo as a keyword for "monadic do"

Change History (1)

comment:1 Changed 8 years ago by benl

  • Resolution set to invalid
  • Status changed from new to closed

pony removal

Note: See TracTickets for help on using tickets.