#836: rebindable if-then-else syntax
----------------------------------+-----------------------------------------
    Reporter:  nibro              |        Owner:  SamAnklesaria
        Type:  feature request    |       Status:  new          
    Priority:  normal             |    Milestone:  _|_          
   Component:  Compiler (Parser)  |      Version:  6.13         
    Keywords:                     |     Testcase:  N/A          
   Blockedby:                     |   Difficulty:  Unknown      
          Os:  Unknown/Multiple   |     Blocking:               
Architecture:  Unknown/Multiple   |      Failure:  None/Unknown 
----------------------------------+-----------------------------------------

Comment(by simonpj):

 Sam, you've taken ownership -- great!  Before invsting time in
 implementing something, do please sketch the design you propose to
 implement.

 I strongly suggest treating if-then-else exactly like other rebindable
 syntax, and ''not'' the type-cless stuff that vivian suggested.  (A user
 can always import an overloaded `cond`.)

 There's also the minor but important issue of what to call the rebindable
 identifier: `cond` or `ifThenElse`.  I don't feel strongly.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/836#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to