Skip to content

Commit 9636263

Browse files
jespercockxgallais
authored andcommitted
Eta-expand definition of pure in Data.Erased in response to agda/agda#4432
1 parent e84ef52 commit 9636263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Erased.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ map : (A → B) → Erased A → Erased B
3636
map f [ a ] = [ f a ]
3737

3838
pure : A Erased A
39-
pure = [_]
39+
pure x = [ x ]
4040

4141
infixl 4 _<*>_
4242
_<*>_ : Erased (A B) Erased A Erased B

0 commit comments

Comments
 (0)