Ticket #49 (new enhancement)
Opened 4 years ago
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"
Note: See
TracTickets for help on using
tickets.
