functional library for haxe