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

Do not prepend "let" when sending type definitions #107

Merged
merged 2 commits into from Jun 30, 2016

Conversation

clarkenciel
Copy link

Currently various type declarations will fail since let is prepended. This PR adds a function to check whether a line is a newtype declaration, a type alias, or a datatype declaration. That function is then added to Perhaps_prepend_let's check so that let is not prepended to such declarations.

NB: This works when one presses C-c, C-c on an individual type declaration. There is more work to be done for submitting blocks or entire files

@jpalardy
Copy link
Owner

looks good -- thanks :-)

@jpalardy jpalardy merged commit bd57c78 into jpalardy:master Jun 30, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants