#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 SamAnklesaria):
I intend to make `if` use whichever `cond` is in scope, as in the original
suggestion. As I understand it, the `>>=` used in `do` notation is stored
as a `SyntaxExpr` contained in the various types used by do notation. I'll
give `HsIf` an extra field for a `SyntaxExpr` giving the `cond` function
used.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/836#comment:18>
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