Module
Heterogeneous.Variadic
- Package
- purescript-heterogeneous
- Repository
- natefaubion/purescript-heterogeneous
#VariadicWithIndex Source
class VariadicWithIndex f acc args where
Members
variadicWithIndex :: f -> acc -> args
Instances
(VariadicWithIndexAt f 0 acc args) => VariadicWithIndex f acc args
#VariadicWithIndexAt Source
class VariadicWithIndexAt :: Type -> Int -> Type -> Type -> Constraint
class VariadicWithIndexAt f (ix :: Int) acc args where
Members
variadicWithIndexAt :: f -> Proxy ix -> acc -> args
Instances
(FoldingWithIndex f (Proxy ix) acc x acc', VariadicWithIndexAt f ix' acc' xs, Add ix 1 ix') => VariadicWithIndexAt f ix acc (x -> xs)
(ResultingWithLength f (Proxy n) acc x) => VariadicWithIndexAt f n acc x