PHP Class QCheck\RoseTree

This implementation is based on clojure.test.check.rose-tree.
Afficher le fichier Open project: steos/php-quickcheck Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $root, $children )
bind ( callable $f )
filter ( callable $pred )
fmap ( callable $f )
getChildren ( )
getRoot ( )
join ( )
pure ( $val )
shrink ( callable $f, $roses )
zip ( callable $f, $roses )

Private Methods

Méthode Description
permutations ( array $roses )
remove ( array $roses )

Method Details

__construct() public méthode

public __construct ( $root, $children )

bind() public méthode

public bind ( callable $f )
$f callable

filter() public méthode

public filter ( callable $pred )
$pred callable

fmap() public méthode

public fmap ( callable $f )
$f callable

getChildren() public méthode

public getChildren ( )

getRoot() public méthode

public getRoot ( )

join() public méthode

public join ( )

pure() public static méthode

public static pure ( $val )

shrink() public static méthode

public static shrink ( callable $f, $roses )
$f callable

zip() public static méthode

public static zip ( callable $f, $roses )
$f callable