Commit Graph

917 Commits

Author SHA1 Message Date
Willem Van Onsem
b1d5762e0e
revert irrefutable pattern 2021-06-11 08:00:29 +02:00
Willem Van Onsem
e98e94870e
import semigroup 2021-06-10 23:22:57 +02:00
Willem Van Onsem
81b6151d51
irrefutable pattern 2021-06-10 23:15:48 +02:00
Willem Van Onsem
ed04989938
more simplification 2021-06-10 23:15:02 +02:00
Willem Van Onsem
380b618bbf
fix spacing 2021-06-10 23:00:49 +02:00
Willem Van Onsem
e83882c35b
add missing test file 2021-06-10 22:55:31 +02:00
Willem Van Onsem
000f901a93
simplify the Semigroup instance of MaybeDefault 2021-06-10 22:52:17 +02:00
Jonathan Daugherty
fa74b0ae1c
Merge pull request #217 from felixonmars/patch-2
Fix upper bound for `random`
2021-02-24 11:24:29 -08:00
Felix Yan
c0d38a16ba
Fix upper bound for random
It was missing in 05b65fc5bc (diff-bbe7cbd3346ad764f4c6f56880116550ee4f4a768d2a578ede1c0ce22b36fb4f)
2021-02-25 03:13:47 +08:00
Jonathan Daugherty
e953272793 Bump version, update changelog 2021-02-22 17:39:10 -08:00
Jonathan Daugherty
62f5ea36e8
Merge pull request #215 from hapytex/hlint/remove-unused-pragmas
Remove unused LANGUAGE pragmas
2021-02-18 07:30:49 -08:00
Jonathan Daugherty
b21145850c
Merge pull request #216 from hapytex/hlint/redundant-dollar
remove redundant $s
2021-02-18 06:52:28 -08:00
Willem Van Onsem
68ec269cf5
remove redundant $s 2021-02-18 07:40:26 +01:00
Willem Van Onsem
b91829353f remove unused BangPatterns 2021-02-18 07:24:07 +01:00
Willem Van Onsem
152d3d6c07 remove unused NamedFieldPuns 2021-02-18 07:21:23 +01:00
Jonathan Daugherty
fdad9586c4
Merge pull request #214 from hapytex/hlint/atomically-to-io
use readTVarIO and newTVarIO as specialized atomic versions of readTV…
2021-02-17 14:48:41 -08:00
Willem Van Onsem
f0fb92aca0 use readTVarIO and newTVarIO as specialized atomic versions of readTVar and newTVar 2021-02-17 23:46:15 +01:00
Jonathan Daugherty
003f491a43
Merge pull request #212 from hapytex/hlint/group-import
Hlint/group import
2021-02-17 14:41:10 -08:00
Jonathan Daugherty
2a881950de
Merge pull request #213 from hapytex/hlint/use-head
Use head over !!0
2021-02-17 14:40:57 -08:00
Willem Van Onsem
a803a2ad72 use head over !!0 2021-02-17 23:38:49 +01:00
Willem Van Onsem
194cd8502c group import 2021-02-17 23:35:49 +01:00
Willem Van Onsem
e886dc0f83
Merge pull request #2 from jtdaugherty/master
sync
2021-02-17 07:43:55 +01:00
Jonathan Daugherty
309c0e4824
Merge pull request #209 from hapytex/improvement/simplify-color
rewrite the color logic
2021-02-16 13:34:13 -08:00
Willem Van Onsem
9605e5f2fb added test to check equivalence with the old implementation 2021-02-16 22:21:00 +01:00
Jonathan Daugherty
bf0874598f combinedOpsForLayers: fix 2021-02-16 13:10:06 -08:00
Jonathan Daugherty
f5b7222065
Merge pull request #196 from lehins/master
Update upper bounds for `random`
2021-02-16 13:07:55 -08:00
Jonathan Daugherty
f0f729d755
Merge pull request #202 from hapytex/hlint/eta-reduction
eta reductions
2021-02-16 09:45:47 -08:00
Jonathan Daugherty
572c59881b
Merge pull request #203 from hapytex/hlint/use-fmap
make use of <$>
2021-02-16 09:44:49 -08:00
Willem Van Onsem
9eaa5e5cb5 16 iso 15 2021-02-16 13:27:46 +01:00
Willem Van Onsem
598b0148b6
Merge pull request #1 from jtdaugherty/master
sync
2021-02-16 12:19:13 +01:00
Willem Van Onsem
ffdd86df1c rewrite the color logic 2021-02-16 12:15:12 +01:00
Willem Van Onsem
f2c58a1870 extra improvements 2021-02-16 09:26:54 +01:00
Jonathan Daugherty
dfa4c1ec08
Merge pull request #207 from hapytex/hlint/redundant-bracket
remove useless parenthesis and ellipse
2021-02-15 15:58:45 -08:00
Willem Van Onsem
9c479554ee revert pattern brackets 2021-02-15 23:59:25 +01:00
Jonathan Daugherty
ab621ee8a4
Merge pull request #204 from hapytex/hlint/remove-lambda
avoid lambda expressions
2021-02-15 14:48:32 -08:00
Jonathan Daugherty
7f8d21b8d6
Merge pull request #205 from hapytex/hlint/use-string
use String over [Char]
2021-02-15 14:43:08 -08:00
Willem Van Onsem
0e5c1646f6 remove useless parenthesis and ellipse 2021-02-15 23:07:09 +01:00
Willem Van Onsem
bed8068d37 use String over [Char] 2021-02-15 17:42:45 +01:00
Willem Van Onsem
b5da64bb63 avoid lambda expressions 2021-02-15 17:39:53 +01:00
Willem Van Onsem
d3a1a5576a make use of <$> 2021-02-15 17:08:15 +01:00
Willem Van Onsem
ec463f1c85 eta reductions 2021-02-15 12:12:20 +01:00
Jonathan Daugherty
9022a45d5d
Merge pull request #197 from felixonmars/patch-2
Allow microlens 0.4.12
2020-12-30 12:18:34 -08:00
Felix Yan
ac3560cc72
Allow microlens 0.4.12
All tests passed here.
2020-12-31 03:06:14 +08:00
Jonathan Daugherty
fd90f7dc85 Cursor: add PositionOnly constructor for cursor placement without visibility 2020-12-06 17:17:20 -08:00
Alexey Kuleshevich
05b65fc5bc
Update upper bounds for random 2020-12-05 23:05:04 +03:00
Jonathan Daugherty
6fead08444
Merge pull request #195 from jtdaugherty/simplify-attr
Simplify definition of MaybeDefault
2020-11-16 11:00:51 -08:00
Eric Mertens
36c1dcc451 Simplify definition of MaybeDefault
The previous version of MaybeDefault stores pointers to the Eq, Show, and Read instances of the defaulted value.

MaybeDefault is used with Style, Color, and Text. All of these types already have all of the necessary instances, and we never work with MaybeDefault generically. Defering the Show, Eq, and Read instances down to the SetTo case isn't helping us to work with types that don't have these instances.
2020-11-16 09:56:30 -08:00
Jonathan Daugherty
d470f5f9d4 Bump version, update changelog 2020-11-08 20:43:37 -08:00
Jonathan Daugherty
99d738b02c Add missing import 2020-11-08 20:43:06 -08:00
Jonathan Daugherty
fd8c4def96
Merge pull request #194 from emekoi/fix-utf8
Ensure detection of UTF-8 mode regardless of case
2020-11-08 20:39:29 -08:00