Skip to content

palatable/lambda-koans

Repository files navigation

λ Koans

This project is meant to assist you in learning the basics of lambda. It follows the koans idea established by other languages, expressed as JUnit tests.

Running the Koans

The koans are built as JUnit tests. You can use your IDE of choice to run all tests, or, by running the following:

mvn test

You can run tests for a concept by running:

mvn -Dtest=AboutEither test 

Or specifically, an individual test

 mvn -Dtest=AboutEither#toMaybeConvertsEitherToMaybe test

Working through the koans

Each koan will present failing tests on a particular topic. Your task is to reason about what value will make each test pass. It is recommended to work through the tests one by one, and conceptually, in the following order:

  • AboutFunctors
  • AboutLazy
  • AboutSemigroups
  • AboutMonoids
  • AboutMaybe
  • AboutTraversables
  • AboutEither

About

Practice exercises for functional patterns in Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages