2 // Copyright 2004-present Facebook. All Rights Reserved.
4 function TakeFun((function(int): arraykey
) $f): void
{
7 function Pass((function(arraykey
): int) $g): void
{
10 function DoIt(): void
{
11 Pass((arraykey
$x) ==> 5);
14 function main(): void
{