Skip to content
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

export determineActualTypes #135

Open
davidchambers opened this issue Apr 18, 2017 · 0 comments
Open

export determineActualTypes #135

davidchambers opened this issue Apr 18, 2017 · 0 comments
Assignees

Comments

@davidchambers
Copy link
Member

There are contexts outside sanctuary-def in which one may wish to determine the types of a value. In silly-goat, for example, we would like to be able to have the 🐐 respond with a value and the types of which the value is a member. For example:

@davidchambers:

@silly-goat

S.on(S.concat, S.of(Array), 'foo', 'bar')

@silly-goat

["foo", "bar"] :: Array String, Pair String String

We should export determineActualTypes to make this possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant