99 Elm Problems

From Wikibooks, open books for an open world
Jump to navigation Jump to search


Development of 99 Elm Problems is continuing on Gitbook.com.


The purpose of this problem collection is to give you the opportunity to practice your skills in Elm programming and functional programming, and to see how other programmers solve these problems. Your goal should be to find the most elegant solution of the given problems. Efficiency is important, but logical clarity is more crucial. Some of the problems can be trivially solved using built-in functions. In these cases, you will learn more if you try to implement your own solution.

These problems were adapted for Elm from 99 Haskell Problems, which are adaptations of 99 Lisp Problems, which are adaptations of 99 Prolog Problems. Some problems have been removed where they don't apply to Elm

Testing your work[edit]

You can compile and execute the examples online at http://elm-lang.org/try or http://share-elm.com/.

The Problems[edit]


Lists, continued[edit]

Lists again[edit]


Logic and Codes[edit]

Binary Trees[edit]

Binary Trees, continued[edit]

Multi-way Trees[edit]



Authors and contributors[edit]

This Wikibook has been written by: