Module

Data.Lens.Barlow.Helpers

Package
purescript-barlow-lens
Repository
sigma-andex/purescript-barlow-lens

#view Source

view :: forall s t a b sym lenses. ParseSymbol sym lenses => ConstructBarlow lenses (Forget a) s t a b => Proxy sym -> s -> a

#preview Source

preview :: forall s t a b sym lenses. ParseSymbol sym lenses => ConstructBarlow lenses (Forget (First a)) s t a b => Proxy sym -> s -> Maybe a

#foldOf Source

foldOf :: forall s t a b sym lenses. ParseSymbol sym lenses => ConstructBarlow lenses (Forget a) s t a b => Proxy sym -> s -> a

#over Source

over :: forall s t a b sym lenses. ParseSymbol sym lenses => ConstructBarlow lenses Function s t a b => Proxy sym -> (a -> b) -> s -> t

#set Source

set :: forall s t a b sym lenses. ParseSymbol sym lenses => ConstructBarlow lenses Function s t a b => Proxy sym -> b -> s -> t

#toArrayOf Source

toArrayOf :: forall s t a b sym lenses. ParseSymbol sym lenses => ConstructBarlow lenses (Forget (Endo Function (List a))) s t a b => Proxy sym -> s -> Array a