caramia-0.1.0.0: Caramia real-time hardware-accelerated rendering library

Safe HaskellSafe-Inferred
LanguageHaskell2010

Caramia.Internal.Lens

Description

lens package compatible Lens.

This is used to avoid lens dependency.

Documentation

type Lens s t a b = forall f. Functor f => (a -> f b) -> s -> f t Source

type Lens' s a = Lens s s a a Source

lens :: (s -> a) -> (s -> a -> s) -> Lens' s a Source