ennocramer / floskell

Floskell is a flexible Haskell source code pretty printer.
BSD 3-Clause "New" or "Revised" License
178 stars 22 forks source link

"fundamental" style #56

Open yairchu opened 3 years ago

yairchu commented 3 years ago

In the styles folder, there's a fundamental style demonstrated, but it isn't listed as one of the "Supported styles:" in floskell -h nor is accepted as a style. Which style does style/fundamental.md demonstrate? (btw it's the one I like better than the rest)

ennocramer commented 3 years ago

Sorry, fundamental is a left-over of hindent, where it was the base style that all others were derived from. In Floskell, that style does not exist anymore, but I failed to remove the sample/test output when I removed it.

yairchu commented 3 years ago

Ok so I changed the title to augment the issue to a feature request rather than a question :)

ennocramer commented 3 years ago

Fair enough :)

I'll have a look if the style can be reasonably approximated with the current feature set.