#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 dherington):
I'd like to lobby against using `cond` as the magic name of the function.
I don't like preempting such a useful (and commonly used) name. (Plus,
for those of us who know Lisp, we'd expect `cond` to have a different
type, probably `[(Bool, a)] -> a -> a`.) I would suggest `if_then_else`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/836#comment:19>
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