mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-21 22:17:19 +03:00
f1e8a4dcc9
You can now write this: ``` record Person where constructor MkPerson name, surname, middleName : String ``` - which is equivalent to: ``` record Person where constructor MkPerson name : String surname : String middleName : String ``` I changed the parser a little and added a test for the new functionality.
5 lines
94 B
Bash
Executable File
5 lines
94 B
Bash
Executable File
#!/usr/bin/env bash
|
|
idris $@ records004.idr -o records004
|
|
./records004
|
|
rm -f records004 *.ibc
|