A switch/case too far...

Gregor Richards Richards at codu.org
Tue May 20 12:31:36 PDT 2008


DISCLAIMER: This suggestion is not serious. Oh please dear god no.

This would be simple if you could switch on a single-value function 
returning bool, and if there was some form of sections ala Haskell, e.g.:

switch (a is) {
     case b:
(etc)
}

  - Gregor Richards



More information about the Digitalmars-d mailing list