apple-0.3.0.0: Apple array language compiler
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hs.A

Documentation

data Apple a Source #

Constructors

AA !Int64 [Int64] [a] 

Instances

Instances details
Functor Apple Source # 
Instance details

Defined in Hs.A

Methods

fmap :: (a -> b) -> Apple a -> Apple b #

(<$) :: a -> Apple b -> Apple a #

Storable a => Storable (Apple a) Source # 
Instance details

Defined in Hs.A

Methods

sizeOf :: Apple a -> Int #

alignment :: Apple a -> Int #

peekElemOff :: Ptr (Apple a) -> Int -> IO (Apple a) #

pokeElemOff :: Ptr (Apple a) -> Int -> Apple a -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Apple a) #

pokeByteOff :: Ptr b -> Int -> Apple a -> IO () #

peek :: Ptr (Apple a) -> IO (Apple a) #

poke :: Ptr (Apple a) -> Apple a -> IO () #

Pretty a => Show (Apple a) Source # 
Instance details

Defined in Hs.A

Methods

showsPrec :: Int -> Apple a -> ShowS #

show :: Apple a -> String #

showList :: [Apple a] -> ShowS #

Eq a => Eq (Apple a) Source # 
Instance details

Defined in Hs.A

Methods

(==) :: Apple a -> Apple a -> Bool #

(/=) :: Apple a -> Apple a -> Bool #

Pretty a => Pretty (Apple a) Source # 
Instance details

Defined in Hs.A

Methods

pretty :: Apple a -> Doc ann #

prettyList :: [Apple a] -> Doc ann #

type U a = Ptr (Apple a) Source #

data AB Source #

Constructors

F 
T 

Instances

Instances details
Storable AB Source # 
Instance details

Defined in Hs.A

Methods

sizeOf :: AB -> Int #

alignment :: AB -> Int #

peekElemOff :: Ptr AB -> Int -> IO AB #

pokeElemOff :: Ptr AB -> Int -> AB -> IO () #

peekByteOff :: Ptr b -> Int -> IO AB #

pokeByteOff :: Ptr b -> Int -> AB -> IO () #

peek :: Ptr AB -> IO AB #

poke :: Ptr AB -> AB -> IO () #

Show AB Source # 
Instance details

Defined in Hs.A

Methods

showsPrec :: Int -> AB -> ShowS #

show :: AB -> String #

showList :: [AB] -> ShowS #

Eq AB Source # 
Instance details

Defined in Hs.A

Methods

(==) :: AB -> AB -> Bool #

(/=) :: AB -> AB -> Bool #

Pretty AB Source # 
Instance details

Defined in Hs.A

Methods

pretty :: AB -> Doc ann #

prettyList :: [AB] -> Doc ann #

data P2 a b Source #

Constructors

P2 a b 

Instances

Instances details
(Storable a, Storable b) => Storable (P2 a b) Source # 
Instance details

Defined in Hs.A

Methods

sizeOf :: P2 a b -> Int #

alignment :: P2 a b -> Int #

peekElemOff :: Ptr (P2 a b) -> Int -> IO (P2 a b) #

pokeElemOff :: Ptr (P2 a b) -> Int -> P2 a b -> IO () #

peekByteOff :: Ptr b0 -> Int -> IO (P2 a b) #

pokeByteOff :: Ptr b0 -> Int -> P2 a b -> IO () #

peek :: Ptr (P2 a b) -> IO (P2 a b) #

poke :: Ptr (P2 a b) -> P2 a b -> IO () #

(Pretty a, Pretty b) => Pretty (P2 a b) Source # 
Instance details

Defined in Hs.A

Methods

pretty :: P2 a b -> Doc ann #

prettyList :: [P2 a b] -> Doc ann #

data P3 a b c Source #

Constructors

P3 a b c 

Instances

Instances details
(Storable a, Storable b, Storable c) => Storable (P3 a b c) Source # 
Instance details

Defined in Hs.A

Methods

sizeOf :: P3 a b c -> Int #

alignment :: P3 a b c -> Int #

peekElemOff :: Ptr (P3 a b c) -> Int -> IO (P3 a b c) #

pokeElemOff :: Ptr (P3 a b c) -> Int -> P3 a b c -> IO () #

peekByteOff :: Ptr b0 -> Int -> IO (P3 a b c) #

pokeByteOff :: Ptr b0 -> Int -> P3 a b c -> IO () #

peek :: Ptr (P3 a b c) -> IO (P3 a b c) #

poke :: Ptr (P3 a b c) -> P3 a b c -> IO () #

(Pretty a, Pretty b, Pretty c) => Pretty (P3 a b c) Source # 
Instance details

Defined in Hs.A

Methods

pretty :: P3 a b c -> Doc ann #

prettyList :: [P3 a b c] -> Doc ann #

data P4 a b c d Source #

Constructors

P4 a b c d 

Instances

Instances details
(Storable a, Storable b, Storable c, Storable d) => Storable (P4 a b c d) Source # 
Instance details

Defined in Hs.A

Methods

sizeOf :: P4 a b c d -> Int #

alignment :: P4 a b c d -> Int #

peekElemOff :: Ptr (P4 a b c d) -> Int -> IO (P4 a b c d) #

pokeElemOff :: Ptr (P4 a b c d) -> Int -> P4 a b c d -> IO () #

peekByteOff :: Ptr b0 -> Int -> IO (P4 a b c d) #

pokeByteOff :: Ptr b0 -> Int -> P4 a b c d -> IO () #

peek :: Ptr (P4 a b c d) -> IO (P4 a b c d) #

poke :: Ptr (P4 a b c d) -> P4 a b c d -> IO () #

(Pretty a, Pretty b, Pretty c, Pretty d) => Pretty (P4 a b c d) Source # 
Instance details

Defined in Hs.A

Methods

pretty :: P4 a b c d -> Doc ann #

prettyList :: [P4 a b c d] -> Doc ann #

hs2 :: P2 a b -> (a, b) Source #

hs3 :: P3 a b c -> (a, b, c) Source #

hs4 :: P4 a b c d -> (a, b, c, d) Source #