You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
dataFooa=FooaInt
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.
The text was updated successfully, but these errors were encountered:
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:
Foo
points to either:Foo :: Type -> Type
Foo :: forall a . a -> Int -> Foo a
Unbound manages this by adding a phantom type parameter to its
Name
type. So you could have eitherName Type
orName Expr
.The text was updated successfully, but these errors were encountered: