mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-21 22:17:19 +03:00
dac312b626
A quasiquote expression can be given a goal type for the elaborator, which helps with disambiguation. For instance, `(() : ()) quotes the unit constructor, while `(() : Type) quotes the unit type. Both goal types and quasiquote are typechecked in the global environment.
5 lines
103 B
Bash
Executable File
5 lines
103 B
Bash
Executable File
#!/usr/bin/env bash
|
|
idris $@ GoalQQuote.idr -o quasiquote002
|
|
./quasiquote002
|
|
rm -f quasiquote002 *.ibc
|