aeson-schemas-1.3.3: Easily consume JSON data on-demand with type-safety
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Aeson.Schema.Utils.All

Synopsis
  • class All f xs where

Documentation

class All f xs where Source #

A type family for traversing a type-level list.

Minimal complete definition

foldrAll

Methods

mapAll :: forall a. (forall x. f x => Proxy x -> a) -> [a] Source #

foldrAll :: (forall x. f x => Proxy x -> a -> a) -> a -> a Source #

Instances

Instances details
All (f :: k1 -> Constraint) ('[] :: [k2]) Source # 
Instance details

Defined in Data.Aeson.Schema.Utils.All

Methods

mapAll :: (forall (x :: k). f x => Proxy x -> a) -> [a] Source #

foldrAll :: (forall (x :: k). f x => Proxy x -> a -> a) -> a -> a Source #

(f x, All f xs) => All (f :: a -> Constraint) (x ': xs :: [a]) Source # 
Instance details

Defined in Data.Aeson.Schema.Utils.All

Methods

mapAll :: (forall (x0 :: k). f x0 => Proxy x0 -> a0) -> [a0] Source #

foldrAll :: (forall (x0 :: k). f x0 => Proxy x0 -> a0 -> a0) -> a0 -> a0 Source #