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

Suppport multiple identifier namespaces #8

Open
brendanzab opened this issue Jul 1, 2018 · 0 comments
Open

Suppport multiple identifier namespaces #8

brendanzab opened this issue Jul 1, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@brendanzab
Copy link
Owner

This would be useful for languages where the are multiple namespaces. Examples would be Rust, Haskell, or Elm, where values and types can share names, but point to different things. Eg:

data Foo a = Foo a Int

Foo points to either:

  • the type constructor Foo :: Type -> Type
  • the value constructor Foo :: forall a . a -> Int -> Foo a

Unbound manages this by adding a phantom type parameter to its Name type. So you could have either Name Type or Name Expr.

@brendanzab brendanzab added the enhancement New feature or request label Jul 17, 2018
@brendanzab brendanzab changed the title Add suppport for multiple identifier namespaces Suppport multiple identifier namespaces Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant