Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/niqdev/kotlin-fun

Kotlin notes
https://github.com/niqdev/kotlin-fun

aws functional-programming json-schema kotlin ktor recursion-schemes serverless

Last synced: about 2 months ago
JSON representation

Kotlin notes

Awesome Lists containing this project

README

        

# kotlin-fun

[![Continuous Integration][ci-image]][ci-url]

[ci-image]: https://github.com/niqdev/kotlin-fun/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/niqdev/kotlin-fun/actions/workflows/ci.yml

The project's name was inspired by [this](https://www.youtube.com/watch?v=GrzM3jK3Y2E) talk!

* Kotlin [docs](https://kotlinlang.org/docs/home.html)

```bash
# https://sdkman.io
# use LTS e.g. 8/11/17/21
sdk install java 17-open

./gradlew tasks
./gradlew :modules:jok:tasks

./gradlew clean build
./gradlew test
./gradlew :modules:app:test --tests *AppTest
./gradlew run

# custom main tasks
./gradlew runReactorExample
./gradlew runCliktExample --args="--help"
./gradlew runJsonExample
./gradlew runMyStream
./gradlew runMyList --debug-jvm
./gradlew -Dkotlinx.coroutines.debug runCoroutineComparison
./gradlew :modules:aws-local:run

# format code
./gradlew lintKotlin
./gradlew formatKotlin

# download sources
./gradlew cleanIdea idea

# dependency tree
./gradlew :modules:app:dependencies
./gradlew -q modules:app:dependencyInsight --dependency arrow-core

# custom plugin
./gradlew hello

# generate binary
make app-bin
./kfun
```

## Modules

* Kotlin in Action [ [book](https://www.manning.com/books/kotlin-in-action) | [notes](modules/kia/src/main/kotlin/com/github/niqdev) ]
* The Joy of Kotlin [ [book](https://www.manning.com/books/the-joy-of-kotlin) | [notes](modules/jok/src/main/kotlin/com/github/niqdev) ]
* Functional Programming in Kotlin [ [book](https://www.manning.com/books/functional-programming-in-kotlin) | TODO ]
* Category Theory for Programmers [ [book](https://github.com/hmemcpy/milewski-ctfp-pdf) | TODO ]
* Crafting Interpreters [ [book](https://craftinginterpreters.com/contents.html) | [lox](modules/lox) ]
* [rekursive](modules/rekursive): Recursion schemes
* [bool](modules/bool): Free Boolean Algebra interpreter
* [json-schema](modules/json-schema): JSON Schema validation
* [aws-local](modules/aws-local)
* [aws-serverless](modules/aws-serverless): AWS Lambda with Serverless and Localstack
* [http](modules/http): HTTP client and server
* [examples](modules/app/src/main/kotlin/com/github/niqdev)