mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
14 lines
393 B
Plaintext
14 lines
393 B
Plaintext
1/1: Building Main (Main.idr)
|
|
Warning: DEPRECATED: old record update syntax.
|
|
Use "{ f := v } p" instead of "record { f = v } p"
|
|
and "{ f $= v } p" instead of "record { f $= v } p"
|
|
|
|
Main:11:14--11:37
|
|
07 | testRec : TestRecord
|
|
08 | testRec = MkTestRecord 0
|
|
09 |
|
|
10 | updatedRec : TestRecord
|
|
11 | updatedRec = record { recField = 1 } testRec
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|