Algebraic data types: Difference between revisions
Simplify the task to enable simple syntax and simpler contribution for more languages. The tree task with algebraic data types was moved to 'wiki/Algebraic_data_types'.
(Rename task name. Justification: The task highlights algebraic data types and has marginal to do with switch case. Further it is a more complex application.) |
(Simplify the task to enable simple syntax and simpler contribution for more languages. The tree task with algebraic data types was moved to 'wiki/Algebraic_data_types'.) |
||
Line 1:
{{task|
Languages may offer direct support for [[wp:Pattern_matching|pattern matching]]. Exemplify briefly the types of patterns that one can match against.
{{omit from|Ada}}
|