Agda-2.4.2.3: A dependently typed functional programming language and proof assistant

Safe HaskellSafe
LanguageHaskell98

Agda.Utils.Lens.Examples

Description

Examples how to use Agda.Utils.Lens.

Synopsis

Documentation

data Record a b Source

Constructors

Record 

Fields

field1 :: a
 
field2 :: b
 

lensField1 :: Lens' a (Record a b) Source

(View source:) This is how you implement a lens for a record field.