sized-grid-0.1.0.0: Multidimensional grids with sized specified at compile time
SizedGrid
Contents
Synopsis
class (AllF k f xs, SListI k xs) => All k f xs #
Instances
class SListI k xs #
Minimal complete definition
sList
Methods
sList :: SList [k] xs
sList :: SList ((k ': x) xs) xs
class f (g x) => Compose k k1 f g x #
newtype I a :: * -> * #
Constructors
(>>=) :: I a -> (a -> I b) -> I b #
(>>) :: I a -> I b -> I b #
return :: a -> I a #
fail :: String -> I a #
fmap :: (a -> b) -> I a -> I b #
(<$) :: a -> I b -> I a #
pure :: a -> I a #
(<*>) :: I (a -> b) -> I a -> I b #
(*>) :: I a -> I b -> I b #
(<*) :: I a -> I b -> I a #
fold :: Monoid m => I m -> m #
foldMap :: Monoid m => (a -> m) -> I a -> m #
foldr :: (a -> b -> b) -> b -> I a -> b #
foldr' :: (a -> b -> b) -> b -> I a -> b #
foldl :: (b -> a -> b) -> b -> I a -> b #
foldl' :: (b -> a -> b) -> b -> I a -> b #
foldr1 :: (a -> a -> a) -> I a -> a #
foldl1 :: (a -> a -> a) -> I a -> a #
toList :: I a -> [a] #
null :: I a -> Bool #
length :: I a -> Int #
elem :: Eq a => a -> I a -> Bool #
maximum :: Ord a => I a -> a #
minimum :: Ord a => I a -> a #
sum :: Num a => I a -> a #
product :: Num a => I a -> a #
traverse :: Applicative f => (a -> f b) -> I a -> f (I b) #
sequenceA :: Applicative f => I (f a) -> f (I a) #
mapM :: Monad m => (a -> m b) -> I a -> m (I b) #
sequence :: Monad m => I (m a) -> m (I a) #
liftEq :: (a -> b -> Bool) -> I a -> I b -> Bool #
liftCompare :: (a -> b -> Ordering) -> I a -> I b -> Ordering #
liftReadsPrec :: (Int -> ReadS a) -> ReadS [a] -> Int -> ReadS (I a) #
liftReadList :: (Int -> ReadS a) -> ReadS [a] -> ReadS [I a] #
liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> I a -> ShowS #
liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [I a] -> ShowS #
(==) :: I a -> I a -> Bool #
(/=) :: I a -> I a -> Bool #
compare :: I a -> I a -> Ordering #
(<) :: I a -> I a -> Bool #
(<=) :: I a -> I a -> Bool #
(>) :: I a -> I a -> Bool #
(>=) :: I a -> I a -> Bool #
max :: I a -> I a -> I a #
min :: I a -> I a -> I a #
readsPrec :: Int -> ReadS (I a) #
readList :: ReadS [I a] #
readPrec :: ReadPrec (I a) #
readListPrec :: ReadPrec [I a] #
showsPrec :: Int -> I a -> ShowS #
show :: I a -> String #
showList :: [I a] -> ShowS #
Associated Types
type Rep (I a) :: * -> * #
from :: I a -> Rep (I a) x #
to :: Rep (I a) x -> I a #
rnf :: I a -> () #