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

Add fully qualified type annotation. #21

Open
akoppela opened this issue Jun 4, 2020 · 3 comments
Open

Add fully qualified type annotation. #21

akoppela opened this issue Jun 4, 2020 · 3 comments

Comments

@akoppela
Copy link

akoppela commented Jun 4, 2020

Thanks for nice package. Type annotation functions are missing fully qualified type. There is fqTyped but that's for a type with parameters. So fqTypeVar is missing.

@rupertlssmith
Copy link
Collaborator

Ok, that could be a useful one to add.

It should be equivalent to fqTyped but with zero type parameters?

fqTypeVar : ModuleName -> String -> TypeAnnotation
fqTypeVar mod name = 
    fqTyped mod name []

@akoppela
Copy link
Author

akoppela commented Jun 5, 2020

It should be equivalent to fqTyped but with zero type parameters?

Correct

@lue-bird
Copy link
Contributor

Hmmm.
It would be strange to have

typed
fqTyped

but then

typeVar
fqTypeVar

not following this naming scheme and having completely different meanings.

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

3 participants