Add arbitrary properties to declarations
Add constraints of the form
Submitted by Hendrik van Antwerpen on 7 September 2016 at 16:55<Occurrence>.<Property> = <Term>
to attach metadata to declarations. Ad : ty
constraint could even be desugared tod.type := ty
. We can generate constructors for the labels, and strategies for easy access (e.g.get-type
andset-type
).
Issue Log
On 8 September 2016 at 00:23 Hendrik van Antwerpen commented:
Registering properties works, but I need to add some strategies to access them conveniently.
On 8 September 2016 at 10:59 Hendrik van Antwerpen tagged inprogress
On 9 September 2016 at 19:36 Hendrik van Antwerpen commented:
Done, the old types and values for declarations are now unified into properties – although type is builtin, and can be written as
d : ty
still.
On 9 September 2016 at 19:36 Hendrik van Antwerpen closed this issue.
Log in to post comments