Idris-dev/test/syntax002
Edwin Brady 0655d3d96d Allow syntax rules at the declaration level
decl syntax [lhs] = decl1
                    decl2
                    ...

The lhs has the same form as expression syntax rules, except that any
names bounds in braces {n} are replaced in top level name bindings as
well as explicit lambda/pi/let bindings.

This is mostly intended to be used in conjection with top level %runElab
declarations, but probably has wider use.
2015-08-22 16:58:35 +02:00
..
expected Allow syntax rules at the declaration level 2015-08-22 16:58:35 +02:00
run Allow syntax rules at the declaration level 2015-08-22 16:58:35 +02:00
syntax002.idr Allow syntax rules at the declaration level 2015-08-22 16:58:35 +02:00