hw-prim-0.6.2.0: Primitive functions and data types

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Uncons

Documentation

class Container a Source #

Associated Types

type Elem a Source #

Instances

Container ByteString Source # 

Associated Types

type Elem ByteString :: * Source #

Container [a] Source # 

Associated Types

type Elem [a] :: * Source #

Container (Vector Int) Source # 

Associated Types

type Elem (Vector Int) :: * Source #

Container (Vector Int8) Source # 

Associated Types

type Elem (Vector Int8) :: * Source #

Container (Vector Int16) Source # 

Associated Types

type Elem (Vector Int16) :: * Source #

Container (Vector Int32) Source # 

Associated Types

type Elem (Vector Int32) :: * Source #

Container (Vector Int64) Source # 

Associated Types

type Elem (Vector Int64) :: * Source #

Container (Vector Word8) Source # 

Associated Types

type Elem (Vector Word8) :: * Source #

Container (Vector Word16) Source # 

Associated Types

type Elem (Vector Word16) :: * Source #

Container (Vector Word32) Source # 

Associated Types

type Elem (Vector Word32) :: * Source #

Container (Vector Word64) Source # 

Associated Types

type Elem (Vector Word64) :: * Source #

Container (Vector Int8) Source # 

Associated Types

type Elem (Vector Int8) :: * Source #

Container (Vector Int16) Source # 

Associated Types

type Elem (Vector Int16) :: * Source #

Container (Vector Int32) Source # 

Associated Types

type Elem (Vector Int32) :: * Source #

Container (Vector Int64) Source # 

Associated Types

type Elem (Vector Int64) :: * Source #

Container (Vector Word8) Source # 

Associated Types

type Elem (Vector Word8) :: * Source #

Container (Vector Word16) Source # 

Associated Types

type Elem (Vector Word16) :: * Source #

Container (Vector Word32) Source # 

Associated Types

type Elem (Vector Word32) :: * Source #

Container (Vector Word64) Source # 

Associated Types

type Elem (Vector Word64) :: * Source #

class Drop v => Uncons v where Source #

Minimal complete definition

uncons

Methods

uncons :: v -> Maybe (Elem v, v) Source #

Instances

Uncons String Source # 
Uncons ByteString Source # 
Uncons (Vector Int) Source # 
Uncons (Vector Int8) Source # 
Uncons (Vector Int16) Source # 
Uncons (Vector Int32) Source # 
Uncons (Vector Int64) Source # 
Uncons (Vector Word8) Source # 
Uncons (Vector Word16) Source # 
Uncons (Vector Word32) Source # 
Uncons (Vector Word64) Source # 
Uncons (Vector Int8) Source # 
Uncons (Vector Int16) Source # 
Uncons (Vector Int32) Source # 
Uncons (Vector Int64) Source # 
Uncons (Vector Word8) Source # 
Uncons (Vector Word16) Source # 
Uncons (Vector Word32) Source # 
Uncons (Vector Word64) Source #