Main.hx 194 B

123456789
  1. class Main {
  2. public static function main():Void {
  3. function foo(?a:haxe.ds.Option<Int>->Bool, b:Int):Void {}
  4. foo(
  5. o -> o.match(haxe.ds.Option.Some(_ => "3")),
  6. 1
  7. );
  8. }
  9. }