Haskell pretty printer
This is the first release supporting GHC 9.8 and likely also the last release which will support GHC 8.10.
DeclSig
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/783
SPECIALISE
correctly by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/784
Full Changelog: https://github.com/mihaimaruseac/hindent/compare/v6.1.0...v6.1.1
HsModule'
to reduce CPP pragmas by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/705
hindent
for the easy use by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/709
reformat
takes a list, not a Maybe
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/712
Printer
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/713
reformat
returns a ParseError
on error by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/715
if
expression by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/719
reformat
return a ByteString
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/720
text
dependency by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/725
HIndent
module by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/729
ByteString
module by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/732
unlines'
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/733
haskell/actions/*
to v2.4.0 by @mihaimaruseac in https://github.com/mihaimaruseac/hindent/pull/736
upload-sarif
action to latest by @mihaimaruseac in https://github.com/mihaimaruseac/hindent/pull/737
do
expression style by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/739
ghcid
track TESTS.md
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/740
Full Changelog: https://github.com/mihaimaruseac/hindent/compare/v6.0.0...v6.1.0
haskell-src-exts
to ghc-lib-parser
.\r
s when reading TESTS.md
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/590
Paths_hindent
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/594
TESTS.md
according to markdownlint by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/606
TESTS.md
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/612
TypeApplications
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/625
stack.yaml.lock
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/602
haskell-src-exts
to ghc-lib-parser
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/593
src/
with stack run -- src/**/*.hs
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/636
badExtensions
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/639
src/
on CI by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/598
HIndent.Config
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/640
Tests.hs
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/643
package.yaml
instead of hindent.cabal
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/647
NumericUnderscores
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/657
hindent --help
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/659
OverloadedLabels
by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/658
TypeApplications
) by @toku-sa-n in https://github.com/mihaimaruseac/hindent/pull/664
Full Changelog: https://github.com/mihaimaruseac/hindent/compare/v5.3.4...v6.0.0
This is the same as the 5.3.3 release, except I accidentally uploaded it to Hackage instead of the documentation for 5.3.3. Both issues fixed now.
Full Changelog: https://github.com/mihaimaruseac/hindent/compare/v5.3.2...v5.3.3
This release follows after a transfer of ownership.
It mostly contains the fix for MonadFail
such that newer GHC versions work.
Future releases will have more complete release notes and possibly drop support for GHC versions pre-2018
In this release, we upgrade haskell-src-exts dependency to >= 1.20.0
. Detail changelog as follows:
* Support get extensions from `.cabal` file
* Improve indention with record constructions and updates
* Fix `let ... in` bug
* Fix top-level lambda expressions in TemplateHaskell slices
* Update to haskell-src-exts dependency to version `>= 1.20.0`
In this release, many bugs related to infix operators got fixed. The import
declarations and LANGUAGE
pragmas have also been optimized.
DataKinds
--validate
option for checking the format without reformatting#include
, #error
, #warning
directivesLANGUAGE
pragma and parse the declared extensions from sourceTypeApplications
extension as 'badExtensions' due to the @
symbolINLINE
/NOINLINE
pragmas, infix type operator and infix constructorINLINE
/NOINLINE
pragmasEmptyCases
extension