Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1009 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 1009 Bytes

λ 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