Reformater: fix generics with haxe function type notation ("->"), closes #305

Done.