Open main menu

Contents

NOTICEEdit

IntroductionEdit

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 workEdit

You can compile and execute the examples online at https://ellie-app.com/new.

The ProblemsEdit

ListsEdit

Lists, continuedEdit

Lists againEdit

ArithmeticEdit

Logic and CodesEdit

Binary TreesEdit

Binary Trees, continuedEdit

Multi-way TreesEdit

GraphsEdit

PuzzlesEdit

Authors and contributorsEdit

This Wikibook has been written by: