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 comments #2

Open
MedeaMelana opened this issue Nov 28, 2013 · 2 comments
Open

Add comments #2

MedeaMelana opened this issue Nov 28, 2013 · 2 comments

Comments

@MedeaMelana
Copy link

Hi,

It would be really useful if you added some comments because currently it is very hard for me to guess what some of the fields do. As an example:

data Interface = Interface CommentPlaceholder String
  (Maybe [TypeParameter]) (Maybe [TypeRef]) TypeBody

What is the String? What are the TypeRefs? Et cetera.

Thank you,

Martijn

@paf31
Copy link
Owner

paf31 commented Nov 28, 2013

Good point :) If it helps, I built the datatypes directly from the definitions in the language spec, so the names and order of the fields should correspond to what you see there.

@MedeaMelana
Copy link
Author

Thanks, I'll be sure to read that :-)

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

2 participants