PHP 클래스 QCheck\RoseTree

This implementation is based on clojure.test.check.rose-tree.
파일 보기 프로젝트 열기: steos/php-quickcheck 1 사용 예제들

공개 메소드들

메소드 설명
__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 )

비공개 메소드들

메소드 설명
permutations ( array $roses )
remove ( array $roses )

메소드 상세

__construct() 공개 메소드

public __construct ( $root, $children )

bind() 공개 메소드

public bind ( callable $f )
$f callable

filter() 공개 메소드

public filter ( callable $pred )
$pred callable

fmap() 공개 메소드

public fmap ( callable $f )
$f callable

getChildren() 공개 메소드

public getChildren ( )

getRoot() 공개 메소드

public getRoot ( )

join() 공개 메소드

public join ( )

pure() 공개 정적인 메소드

public static pure ( $val )

shrink() 공개 정적인 메소드

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

zip() 공개 정적인 메소드

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