haskell-src-meta icon indicating copy to clipboard operation
haskell-src-meta copied to clipboard

ParseMode

Open alexkazik opened this issue 7 years ago • 1 comments

Since myDefaultParseMode should not be used it's probably better to crate new functions which replace parseExp and the others and take a ParseMode as an parameter.

alexkazik avatar Oct 17 '17 20:10 alexkazik

How about a parseWithExts that takes a list of known extensions and enables them? (almost always the only part of the ParseMode anyone edits?)

Arguably, the default mode for parseExp and friends should enable all extensions that HSM is known to support properly (and none that it is known not to support).

JonasDuregard avatar Jun 20 '18 11:06 JonasDuregard