Kotlin Fibonacci Script

A kotlin custom script producing a fibunacci range inspired by clovisai’s contribution to kotlin discussionProject Loom will make coroutines obsolete.

run script

kotlinc kotlin-script-fibonacci.kts -script \
-language-version 1.8 -include-runtime

Caution: kotlin custom scripting is experimental as of Kotlin 1.7.20 (20221023).

See also: https://gist.github.com/lotharschulz/79d3641c73f7b28120d1205ceef877fe

Be the first to comment

Leave a Reply

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.