"HELLO WORLD" == "dlrow olleh".toList().map(_.toUpperCase).reduceRight(_.plus_).get()
Development Neko build failure issue
The Funk library supports functional development in Haxe. Some of its key features are:
The Funk library doesn't not necessarily build anything as it's a library. So the idea is to import those into your project, which you can do in the following ways.
haxelib setup
)haxelib install funk
-lib funk
haxelib setup
)haxelib git funk https://github.com/SimonRichardson/funk.git funk
-lib funk
More information about building can be found here using_haxelib
The Funk library is unit tested with munit testing library for more information refer to the guide. Suffice it to say you'll need to install munit via haxelib
haxelib install munit
haxelib install hamcrest
Once that's in installed (installs other dependencies) you can then run the tests by calling the following command from the root directory.
haxelib run munit test -nogen -js -as3
Note: There is an issue building neko so the ci server is also down, once this has been rectified then I'll post commands to get this also running.
Alternatively you can also run full coverage as well, to help see what tests are covering what.
haxelib run munit test -nogen -coverage -js -as3
Note: Actor coverage is really low and needs to be updated.