Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Safe Haskell | Trustworthy |
- class AsNumber t where
- integralValue :: (AsNumber t, Integral a) => Prism' t a
- nonNull :: Prism' Value Value
- data Primitive
- = StringPrim !Text
- | NumberPrim !Number
- | BoolPrim !Bool
- | NullPrim
- class AsNumber t => AsPrimitive t where
- class AsPrimitive t => AsValue t where
- key :: AsValue t => Text -> Traversal' t Value
- nth :: AsValue t => Int -> Traversal' t Value
- class AsJSON t where
Numbers
integralValue :: (AsNumber t, Integral a) => Prism' t aSource
Primitive
Primitives of Value
class AsNumber t => AsPrimitive t whereSource
Objects and Arrays
class AsPrimitive t => AsValue t whereSource