src/QCheck/FP.php
public static function comp(callable $f, callable $g)
    {
        return function () use ($f, $g) {
            return call_user_func($f, call_user_func_array($g, func_get_args()));
        };
    }
public static function comp(callable $f, callable $g)
    {
        return function () use ($f, $g) {
            return call_user_func($f, call_user_func_array($g, func_get_args()));
        };
    }
public static function comp ( callable $ f , callable $ g ) { return function ( ) use ( $ f , $ g ) { return call_user_func ( $ f , call_user_func_array ( $ g , func_get_args ( ) ) ) ; } ; }
Compose the two functions

@param callable $f
@param callable $g
@return callable
Compose the two functions