[Agda] Absurd pattern in implicit argument of a lambda abstraction

Florent Balestrieri fyb at cs.nott.ac.uk
Tue Nov 2 18:16:35 CET 2010


When an expression of type "{Empty} -> A -> B" is expected, it is not 
possible to write:
(\ {()})

Instead, it is necessary to name a function.
f : {Empty} -> A -> B
f {()}

-- Florent


More information about the Agda mailing list