HaskellWorks.Data.Filter

hw-prim-0.6.3.2: Primitive functions and data types

Safe Haskell | None
Language | Haskell2010

HaskellWorks.Data.Filter

Synopsis

- class Container a where
  - type Elem a
- class Container v => Filter v where
  - filter :: (Elem v -> Bool) -> v -> v

# Documentation

class Container a #

Associated Types

type Elem a #

#### Instances

Instances details

Container ByteString # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem ByteString |
Instance details Defined in HaskellWorks.Data.Container type Elem ByteString = Word8
Container (Vector Int16) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int16) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int16) = Int16
Container (Vector Int32) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int32) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int32) = Int32
Container (Vector Int64) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int64) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int64) = Int64
Container (Vector Int8) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int8) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int8) = Int8
Container (Vector Word16) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Word16) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Word16) = Word16
Container (Vector Word32) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Word32) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Word32) = Word32
Container (Vector Word64) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Word64) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Word64) = Word64
Container (Vector Word8) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Word8) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Word8) = Word8
Container (Vector Int16) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int16) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int16) = Int16
Container (Vector Int32) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int32) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int32) = Int32
Container (Vector Int64) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int64) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int64) = Int64
Container (Vector Int8) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int8) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int8) = Int8
Container (Vector Word16) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Word16) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Word16) = Word16
Container (Vector Word32) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Word32) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Word32) = Word32
Container (Vector Word64) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Word64) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Word64) = Word64
Container (Vector Word8) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Word8) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Word8) = Word8
Container (Vector Int) # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem (Vector Int) |
Instance details Defined in HaskellWorks.Data.Container type Elem (Vector Int) = Int
Container [a] # |
Instance details Defined in HaskellWorks.Data.Container Associated Types
type Elem [a] |
Instance details Defined in HaskellWorks.Data.Container type Elem [a] = a

class Container v => Filter v where #

Class of values that support vector like operations

Methods

filter :: (Elem v -> Bool) -> v -> v #

#### Instances

Instances details

Filter ByteString # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem ByteString -> Bool) -> ByteString -> ByteString #
Filter String # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem String -> Bool) -> String -> String #
Filter (Vector Int16) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int16) -> Bool) -> Vector Int16 -> Vector Int16 #
Filter (Vector Int32) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int32) -> Bool) -> Vector Int32 -> Vector Int32 #
Filter (Vector Int64) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int64) -> Bool) -> Vector Int64 -> Vector Int64 #
Filter (Vector Int8) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int8) -> Bool) -> Vector Int8 -> Vector Int8 #
Filter (Vector Word16) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Word16) -> Bool) -> Vector Word16 -> Vector Word16 #
Filter (Vector Word32) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Word32) -> Bool) -> Vector Word32 -> Vector Word32 #
Filter (Vector Word64) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Word64) -> Bool) -> Vector Word64 -> Vector Word64 #
Filter (Vector Word8) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Word8) -> Bool) -> Vector Word8 -> Vector Word8 #
Filter (Vector Int16) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int16) -> Bool) -> Vector Int16 -> Vector Int16 #
Filter (Vector Int32) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int32) -> Bool) -> Vector Int32 -> Vector Int32 #
Filter (Vector Int64) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int64) -> Bool) -> Vector Int64 -> Vector Int64 #
Filter (Vector Int8) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int8) -> Bool) -> Vector Int8 -> Vector Int8 #
Filter (Vector Word16) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Word16) -> Bool) -> Vector Word16 -> Vector Word16 #
Filter (Vector Word32) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Word32) -> Bool) -> Vector Word32 -> Vector Word32 #
Filter (Vector Word64) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Word64) -> Bool) -> Vector Word64 -> Vector Word64 #
Filter (Vector Word8) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Word8) -> Bool) -> Vector Word8 -> Vector Word8 #
Filter (Vector Int) # |
Instance details Defined in HaskellWorks.Data.Filter Methods filter :: (Elem (Vector Int) -> Bool) -> Vector Int -> Vector Int #