Skip to content

Commit b89ecd5

Browse files
authored
Merge pull request #1092 from agda/jesper-eta
Eta-expand definition of `pure` in Data.Erased in response to agda/agda#4432
2 parents e84ef52 + 9636263 commit b89ecd5

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)