KotlinKatas

by pedrovgs

pedrovgs / KotlinKatas

Kotlin training repository used to learn Kotlin and Functional Programming by solving some common ka...

132 Stars 9 Forks Last release: Not found GNU General Public License v3.0 21 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Kotlin Arrow KotlinKatas Build Status

Kotlin training repository used to learn Kotlin and Functional Programming by solving some common katas using just purely functional programming with Arrow.

List of katas:

| # | Kata Statement | PR | Topic | |---|----------------|----|-------| | 1 | Maxibons | https://github.com/pedrovgs/KotlinKatas/pull/1 | Polymorphic programming | | 2 | Form validation | https://github.com/pedrovgs/KotlinKatas/pull/4 | Validated data type| | 3 | Game of Life | https://github.com/pedrovgs/KotlinKatas/pull/6 | Pure functions, IO monad complex property-based testing generators| | 4 | Data Munging | https://github.com/pedrovgs/KotlinKatas/pull/7 | Effects API to simulate for-comrpehension and do-notation |

Executing tests:

This project contains some tests written using KotlinTest. You can easily run the tests by executing any of the following commands:

./gradlew test // Runs every test in your project
./gradlew test --tests *SomeSpecificTest // Runs specs matching with the filter passed as param.

Checkstyle:

For the project checkstyle we are using Ktlint. The code format will be evaluated after accepting any contribution to this repository using this tool. You can easily format your code changes automatically by executing

./gradlew ktlinTformat
.

Developed By

Follow me on Twitter Add me to Linkedin

License

Copyright 2019 Pedro Vicente Gómez Sánchez

Licensed under the GNU General Public License, Version 3 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.gnu.org/licenses/gpl-3.0.en.html

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.