Sergey Vinokurov
7ffa58976f
Clean up duplicate ghc-options from cabal file
2018-04-03 22:55:57 +01:00
Sergey Vinokurov
9bd3bfbe4c
Review suggestions
2018-04-03 22:49:06 +01:00
Sergey Vinokurov
049f286e6f
Add .hlint.yaml
2018-04-02 22:47:07 +01:00
Sergey Vinokurov
7a60229673
Fix some hlint hints
2018-04-02 22:44:49 +01:00
Sergey Vinokurov
631d9e181d
Replace 'fmap f $' with 'f <$>'
2018-04-02 22:44:49 +01:00
Sergey Vinokurov
545eff9e4f
Remove redundant parens
2018-04-02 22:42:06 +01:00
Sergey Vinokurov
226da07815
Improve vertical alignment
2018-04-02 22:41:15 +01:00
Sergey Vinokurov
0dad5051df
Remove redundant '$'s
2018-04-02 22:41:14 +01:00
Sergey Vinokurov
2ed9a13fdb
Replace 'docAltFilter' with 'runFilteredAlternative'
2018-04-02 21:25:44 +01:00
Sergey Vinokurov
8410fbff8e
Trailing whitespace
2018-04-02 21:25:44 +01:00
Sergey Vinokurov
e9689394b1
Add Semigroup instance for 'Max' monoid
...
Otherwise ghc 8.4 will complain since Semigroup became a superclass
of Monoid.
2018-04-02 21:25:43 +01:00
Lennart Spitzner
b43ee43220
Fix/Implement empty type constraint handling ( fixes #133 )
2018-04-02 17:11:53 +02:00
Lennart Spitzner
b219a23684
Fix warning about brittany.cabal (cabal-version-specification)
2018-04-02 16:35:28 +02:00
Lennart Spitzner
e9f764e0e7
Add showcase for IndentPolicyLeft
2018-03-25 18:07:19 +02:00
Lennart Spitzner
f8c93e06f4
Add showcase for module layouting
...
[ci skip]
2018-03-25 17:48:59 +02:00
Lennart Spitzner
b142837f1a
Remove old bug notice from README.md
...
[ci skip]
2018-03-25 16:58:17 +02:00
Lennart Spitzner
8cabd08477
Update README.md and commandline description
2018-03-25 16:06:36 +02:00
Lennart Spitzner
3b20d0275e
Bump to 0.10.0.0, Add Changelog
2018-03-23 19:32:30 +01:00
Lennart Spitzner
0845142727
Fix let-in comment placement bug ( fixes #110 )
2018-03-23 17:34:36 +01:00
Lennart Spitzner
bdd3b155f3
Fix HsPar comment placement bug (see #111 )
2018-03-23 17:11:39 +01:00
Lennart Spitzner
3847325fd5
Omit single-line layout for OpApp with comments ( fixes #111 )
2018-03-23 17:02:58 +01:00
Lennart Spitzner
a003b932a9
Fix comments in tuples being dropped ( fixes #37 )
2018-03-23 16:55:28 +01:00
Lennart Spitzner
d634d34ff1
Fix module-import-hiding-items layout
2018-03-23 15:41:41 +01:00
Lennart Spitzner
90a2f65ba7
Align applications on for same function, plus minor fixup
...
Arguments of two function applications will only be aligned
if the same function is called in both cases.
The column transform was altered slightly to fix #65
properly as well.
fixes #65 , #128
2018-03-22 01:19:56 +01:00
Lennart Spitzner
46de13256b
Add one more testcase
2018-03-21 16:03:38 +01:00
Lennart Spitzner
487c32175a
Refactor Alt.hs and Add out-commented alternative
2018-03-21 16:03:38 +01:00
Lennart Spitzner
f1536b8966
Merge pull request #83/#124 from sniperrifle2004/import
2018-03-21 01:06:26 +01:00
Lennart Spitzner
8de56ba11d
Support import column vs import-as column
2018-03-21 01:02:44 +01:00
Lennart Spitzner
1330aeb6b4
Fix ticked type operator losing tick ( fixes #125 )
2018-03-13 23:51:22 +01:00
Lennart Spitzner
60775bbc62
Switch stack.yaml resolver to lts-11.0
2018-03-13 23:24:05 +01:00
Lennart Spitzner
a1c832e85c
Merge pull request #121 from AlexeyRaga/PR-expose-read-configs
...
# Conflicts:
# stack.yaml
2018-03-13 22:45:18 +01:00
Lennart Spitzner
c0ea20455c
Fixup haddock typos
2018-03-13 22:38:27 +01:00
Lennart Spitzner
4b12115712
Merge branch 'master' into import
2018-03-12 19:47:20 +01:00
Lennart Spitzner
2128f7b3fb
Fixup stack.yaml
2018-03-12 18:28:10 +01:00
Lennart Spitzner
15d2250c0b
Change _lconfig_importColumn default: 60 -> 50
2018-03-12 17:21:28 +01:00
Lennart Spitzner
833ac95fd7
Add two config options to control preamble layouting
2018-03-12 17:11:25 +01:00
Lennart Spitzner
9531edb2a7
Improve module layouting in two aspects
...
- IEThingWith in export list can now be single-line
- Now respect offset of the "module" keyword
(retain empty lines after pragmas, for example)
2018-03-12 16:29:47 +01:00
Lennart Spitzner
20f9c009ee
Stop hanging indent for IEThingWith
...
plus minor refactors/cleanups
this is more in line with IndentPolicyLeft and imo also looks
nicer in general
2018-03-11 22:49:20 +01:00
Lennart Spitzner
af7f9017b8
Fix Alt-transformation bug with BDFEnsureIndents
...
multiple BDFEnsureIndent nodes were mistreated previously
2018-03-11 22:07:12 +01:00
Lennart Spitzner
41a60ce60f
Merge branch 'master' into import
2018-03-11 17:43:16 +01:00
alexeyraga
83b39de3d4
Expose readConfigs
2018-03-07 21:56:52 +11:00
Lennart Spitzner
e4dea87839
Switch to using branches master/release instead of dev/master
2018-03-04 19:11:10 +01:00
Lennart Spitzner
44af042436
Merge branch 'release'
2018-03-04 19:03:11 +01:00
Lennart Spitzner
19e31fdaf2
Improve layouting of RecordUpd, Fix minor issue for HsLet
2018-02-19 21:33:43 +01:00
Lennart Spitzner
c124336738
Fix NOINLINE pragma layouting
2018-02-19 17:17:39 +01:00
Lennart Spitzner
4dd28e5052
Merge pull request #120 from MaxGabriel/patch-1
...
Fix spelling of my name
2018-02-14 18:24:46 +01:00
Lennart Spitzner
34036cbb74
Merge branch 'dev'
2018-02-14 17:30:25 +01:00
Lennart Spitzner
bac69ba54f
Bump to 0.9.0.1, Add changelog
2018-02-14 17:18:22 +01:00
Lennart Spitzner
4b53072ccd
Correct some commandline help output
2018-02-14 17:18:15 +01:00
Maximilian Tagher
f17d9f8bf6
Fix spelling of my name
2018-02-14 06:54:39 -08:00