Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Selectable v k where Source #
selector :: (forall a. p a) -> k -> v p Source #
Build a query given a suitable value for specifying what we're asking for.
p
will typically be Proxy or Const SelectedCount.
selection :: k -> v Identity -> Selection v k Source #
From a view, extract a more convenient type of value to use.