add fourmolu (#868)

* add fourmolu

* linebreak

* simplify

* comment
This commit is contained in:
Evgeny Poberezkin authored and GitHub committed 2023-10-22 09:20:14 +01:00
1 parent deb3fc7359
commit 9d12d76078
61 files changed
+462 -452

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ lenP = fromIntegral . c2w <$> A.anyChar
{-# INLINE lenP #-}
instance Encoding a => Encoding (Maybe a) where
smpEncode s = maybe "0" (("1" <>) . smpEncode) s
smpEncode = maybe "0" (("1" <>) . smpEncode)
{-# INLINE smpEncode #-}
smpP =
smpP >>= \case