Shpadoinkle-widgets-0.2.0.1: A collection of common reusable types and components.

Safe HaskellNone
LanguageHaskell2010

Shpadoinkle.Widgets.Types.Search

Documentation

newtype Search Source #

Constructors

Search 

Fields

Instances
Eq Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Ord Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Read Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Show Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

IsString Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Generic Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Associated Types

type Rep Search :: Type -> Type Source #

Semigroup Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Monoid Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

NFData Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Methods

rnf :: Search -> () Source #

ToJSON Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

FromJSON Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

type Rep Search Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

type Rep Search = D1 (MetaData "Search" "Shpadoinkle.Widgets.Types.Search" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "Search" PrefixI True) (S1 (MetaSel (Just "unSearch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype EditDistance Source #

Constructors

EditDistance 

Fields

Instances
Eq EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Ord EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Read EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Show EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Generic EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Associated Types

type Rep EditDistance :: Type -> Type Source #

NFData EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Methods

rnf :: EditDistance -> () Source #

ToJSON EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

FromJSON EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

type Rep EditDistance Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

type Rep EditDistance = D1 (MetaData "EditDistance" "Shpadoinkle.Widgets.Types.Search" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" True) (C1 (MetaCons "EditDistance" PrefixI True) (S1 (MetaSel (Just "unEditDistance") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

data Levenshtiened a Source #

Constructors

Levenshtiened 
Instances
Eq a => Eq (Levenshtiened a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Eq a => Ord (Levenshtiened a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Read a => Read (Levenshtiened a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Show a => Show (Levenshtiened a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Generic (Levenshtiened a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Associated Types

type Rep (Levenshtiened a) :: Type -> Type Source #

NFData a => NFData (Levenshtiened a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

Methods

rnf :: Levenshtiened a -> () Source #

type Rep (Levenshtiened a) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Search

type Rep (Levenshtiened a) = D1 (MetaData "Levenshtiened" "Shpadoinkle.Widgets.Types.Search" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "Levenshtiened" PrefixI True) (S1 (MetaSel (Just "_distance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EditDistance) :*: S1 (MetaSel (Just "_unLevenshtiened") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a)))

concatFuzzy :: [a -> Text] -> a -> Text Source #

fuzzySearch :: Ord a => [a -> Text] -> Search -> [a] -> [a] Source #