[GHC] #1518: Make it possible to evaluate monadic actions when assigning record fields (<-)

GHC trac at galois.com
Mon Jul 9 19:28:30 EDT 2007


#1518: Make it possible to evaluate monadic actions when assigning record fields
(<-)
-----------------------------------+----------------------------------------
    Reporter:  adde at trialcode.com  |        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 chevalier at alum.wellesley.edu):

 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
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list