This website requires JavaScript.
Explore
Help
Sign In
idris-lang
/
Idris2
Watch
1
Star
1
Fork
0
You've already forked Idris2
mirror of
https://github.com/idris-lang/Idris2.git
synced
2024-12-20 18:21:47 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
7bd7f1da9c
Idris2
/
tests
/
idris2
/
reg032
/
recupdate.idr
7 lines
103 B
Idris
Raw
Normal View
History
Unescape
Escape
Leave implicit record fields alone on update Unless an explicit update is given
2020-07-08 00:36:15 +03:00
record
R
(
a
:
Type
)
where
constructor
MkR
x
:
a
rmap
:
(
a
->
b
)
->
R
a
->
R
b
[ fix #1959 ] use modern record update syntax (#2196)
2021-12-16 21:23:18 +03:00
rmap f
=
{
x
$=
f
}
Reference in New Issue
Copy Permalink