Skip to content

invasionofsmallcubes/functional-structures-refactoring-kata-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the Kotlin version of Matteo Baglini's Functional Structures Refactoring Kata

What will follow is the original README:

Functional Structures Refactoring Kata

This refactoring kata aims to let you practice with one of the main functional programming building block: Functional Structures.

The starting code implements a use case with an imperative approach. Your mission is to remove every effects (aka computational context) within the applyDiscount function with the power of Functional Structures.

The code is implemented in different languages. Is your favorite language missing? Please consider to contribute with a Pull Request or open an Issue.

How to use this Kata

The simplest way is to just clone the code and start hacking right away improving the design. The project includes some tests useful to make sure you don't break the code while you refactor.

Proposed Solution

You can take a look at my refactored code (in Scala) wich you will find inside the solution branch.

Learning Materials

License

This project is licensed under the terms of the MIT license.

About

This is the Kotlin version of [Matteo Baglini's Functional Structures Refactoring Kata](https://github.com/matteobaglini/functional-structures-refactoring-kata)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages