kmp-dfa-0.1.0.1: KMP algorithm implementation, based on Deterministic Finite State Automata
Algorithms.DFA.Test.KMP
Synopsis
rif :: Eq a => [a] -> [a] -> Bool Source #
make the result as isPrefixOf application
data Rif a Source #
Correct results
Constructors
Instances
Methods
showsPrec :: Int -> Rif a -> ShowS #
show :: Rif a -> String #
showList :: [Rif a] -> ShowS #
arbitrary :: Gen (Rif a) #
shrink :: Rif a -> [Rif a] #
test :: Rif Bool -> Bool Source #
use Bools for high repetition and matching results