Rosetta Code:Village Pump/SMW Examples by language and concept: Difference between revisions
Content added Content deleted
(Rosetta's central principle of task focus protects breadth of language relevance, depth of insight, and usefulness to learners) |
(list monads vs list comprehensions vs nested iteration) |
||
Line 72: | Line 72: | ||
:* Repetition – ''fold'' and ''reduce'' vs loops |
:* Repetition – ''fold'' and ''reduce'' vs loops |
||
:* Set building – list monads |
:* Set building – list monads vs list comprehensions vs nested iteration |
||
:* Type-conditional evaluation – pattern matching vs run-time type detection |
:* Type-conditional evaluation – pattern matching vs run-time type detection |
||