On Mon, 2007-07-09 at 23:28 +0000, GHC wrote:
> #1518: Make it possible to evaluate monadic actions when assigning record
> fields
> (<-)
> -----------------------------------+----------------------------------------
> Reporter: [EMAIL PROTECTED] | Owner:
> Type: feature request | Status: new
> Priority: normal | Milestone:
> Component: Compiler | Version: 6.6.1
> Severity: normal | Resolution:
> Keywords: | Difficulty: Unknown
> Os: Unknown | Testcase:
> Architecture: Unknown |
> -----------------------------------+----------------------------------------
> Comment (by [EMAIL PROTECTED]):
>
> If you wrote:
> {{{
> return Bar {
> barFoo <- foo
> barQuux <- quux
> }
> }}}
> which do you think should be executed first -- computation foo or
> computation quux?
>
> --
> Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1518>
> GHC <http://www.haskell.org/ghc/>
> The Glasgow Haskell Compiler
I would expect them to be executed in the declared order, why?
/Adde
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs