Idris-dev/test/quasiquote002/run
David Raymond Christiansen dac312b626 Add goal types to quasiquotes.
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.
2014-06-30 18:49:22 +02:00

5 lines
103 B
Bash
Executable File

#!/usr/bin/env bash
idris $@ GoalQQuote.idr -o quasiquote002
./quasiquote002
rm -f quasiquote002 *.ibc