Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Signature reflection - #53

Closed
paf31 wants to merge 1 commit into
masterfrom
reflection
Closed

Signature reflection#53
paf31 wants to merge 1 commit into
masterfrom
reflection

Conversation

@paf31

@paf31 paf31 commented Apr 8, 2017

Copy link
Copy Markdown
Contributor

This adds withSignature, which lets the user reify a GenericSignature as a Generic type. This seems generally useful in some cases where the program is generic but the type is unknown (e.g. provided by the user).

An example application would be a generic forms library. The user can specify the type, and we can generate a form on their behalf.

This is not possible with generics-rep, at least not easily possible, which is an interesting difference.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant