symbolic-base-0.1.0.0: ZkFold Symbolic compiler and zero-knowledge proof protocols
Safe HaskellSafe-Inferred
LanguageHaskell2010

ZkFold.Base.Data.List.Infinite

Orphan instances

Representable Infinite Source # 
Instance details

Associated Types

type Rep Infinite #

Methods

tabulate :: (Rep Infinite -> a) -> Infinite a #

index :: Infinite a -> Rep Infinite -> a #

Distributive Infinite Source # 
Instance details

Methods

distribute :: Functor f => f (Infinite a) -> Infinite (f a) #

collect :: Functor f => (a -> Infinite b) -> f a -> Infinite (f b) #

distributeM :: Monad m => m (Infinite a) -> Infinite (m a) #

collectM :: Monad m => (a -> Infinite b) -> m a -> Infinite (m b) #