KotlinKatas
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 | #1 | Polymorphic programming |
2 | Form validation | #4 | Validated data type |
3 | Game of Life | #6 | Pure functions, IO monad complex property-based testing generators |
4 | Data Munging | #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
- Pedro Vicente G贸mez S谩nchez - [email protected]
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.