#4359: Implement lambda-case/lambda-if
-------------------------------+--------------------------------------------
  Reporter:  batterseapower    |          Owner:                  
      Type:  feature request   |         Status:  new             
  Priority:  normal            |      Milestone:  7.6.1           
 Component:  Compiler          |        Version:  7.1             
Resolution:                    |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------

Comment(by simonmar):

 Thanks for the wiki page, that helps a lot!

 FWIW, OCaml has both `\` and `\case`, called respectively `fun` and
 `function`.  It does not have a multi-argument multi-equation anonymous
 function construct. (ref: [http://caml.inria.fr/pub/docs/manual-
 ocaml/expr.html]).

 I'm hesitant to express any more opinions at this stage, but now that
 we've explored the design space quite thoroughly I'm feeling more inclined
 towards `\case`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4359#comment:66>
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