| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Shpadoinkle.Widgets.Table
Documentation
Instances
| Bounded Sort Source # | |
| Enum Sort Source # | |
| Eq Sort Source # | |
| Ord Sort Source # | |
Defined in Shpadoinkle.Widgets.Table | |
| Read Sort Source # | |
| Show Sort Source # | |
| Generic Sort Source # | |
| Semigroup Sort Source # | |
| Monoid Sort Source # | |
| NFData Sort Source # | |
Defined in Shpadoinkle.Widgets.Table | |
| ToJSON Sort Source # | |
| FromJSON Sort Source # | |
| type Rep Sort Source # | |
Instances
negateSort :: Sort -> Sort Source #
class Tabular a where Source #
Methods
toRows :: a -> [Row a] Source #
toFilter :: a -> Row a -> Bool Source #
toCell :: Functor m => Effect a m => a -> Row a -> Column a -> [Html m a] Source #
sortTable :: SortCol a -> Row a -> Row a -> Ordering Source #
ascendingIcon :: Functor m => Effect a m => Proxy a -> Html m (a, SortCol a) Source #
descendingIcon :: Functor m => Effect a m => Proxy a -> Html m (a, SortCol a) Source #
handleSort :: Monad m => Effect a m => a -> SortCol a -> Continuation m (a, SortCol a) Source #
Instances
| Tabular a => Tabular (LazyTable a) Source # | |
Defined in Shpadoinkle.Widgets.Table.Lazy Associated Types type Effect (LazyTable a) m :: Constraint Source # Methods toRows :: LazyTable a -> [Row (LazyTable a)] Source # toFilter :: LazyTable a -> Row (LazyTable a) -> Bool Source # toCell :: (Functor m, Effect (LazyTable a) m) => LazyTable a -> Row (LazyTable a) -> Column (LazyTable a) -> [Html m (LazyTable a)] Source # sortTable :: SortCol (LazyTable a) -> Row (LazyTable a) -> Row (LazyTable a) -> Ordering Source # ascendingIcon :: (Functor m, Effect (LazyTable a) m) => Proxy (LazyTable a) -> Html m (LazyTable a, SortCol (LazyTable a)) Source # descendingIcon :: (Functor m, Effect (LazyTable a) m) => Proxy (LazyTable a) -> Html m (LazyTable a, SortCol (LazyTable a)) Source # handleSort :: (Monad m, Effect (LazyTable a) m) => LazyTable a -> SortCol (LazyTable a) -> Continuation m (LazyTable a, SortCol (LazyTable a)) Source # | |
data family Column (a :: Type) :: Type Source #
Instances
Constructors
| Theme | |
Fields
| |