Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Correction on formatted string for Emacs ghc lint #875

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lemoce
Copy link

@lemoce lemoce commented Mar 2, 2017

No description provided.

(format "lint %s\n" file)))
(format "check %s\n" file))))

(defun ghc-haskell-list-of-string (los)
(when los
(concat "["
(mapconcat (lambda (x) (concat "\"" x "\"")) los ", ")
"]")))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know, I honestly didn't know we were already doing some form of escaping here. I think we might have just broken B/C at some point. I'll have to look into that.

@DanielG
Copy link
Owner

DanielG commented Mar 3, 2017

Ok, so the first version to break this was v5.3.0.0. Since that's quite a while ago and no one has complained until now I don't think it's worth adding support for that back.

Also since this ascii-escape business is a rather recent addition (v5.5.0.0) I think it's time to finally add some version checking to the emacs frontend. Would you mind adding that to your patch?

@lemoce
Copy link
Author

lemoce commented Mar 3, 2017

@DanielG I dont mind.

@ysangkok
Copy link

@lemoce You still alive? :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants