-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify syntax for properties #331
Comments
Alternate idea @robdockins; make
|
One thing we might want to do is allow A common case that I run into is that I have some properties that are size-polymorphic, which means that if I tag them with
So instead of having to invent a bunch of names for each instance, we might like to write
or even just
|
It would be nice if we could write properties like this:
Basically the syntax is that
property
starts a block of declarations, and all the declarations in there are properties, and type signatures are allowed. This seems much nicer than having to write:The text was updated successfully, but these errors were encountered: