| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Haskell.Format
Documentation
format :: Formatter -> HaskellSource -> Either String Reformatted Source #
Constructors
| Formatter | |
Fields
| |
newtype Suggestion Source #
Constructors
| Suggestion String |
Instances
| Show Suggestion Source # | |
Defined in Language.Haskell.Format.Types Methods showsPrec :: Int -> Suggestion -> ShowS # show :: Suggestion -> String # showList :: [Suggestion] -> ShowS # | |
data HaskellSource Source #
Constructors
| HaskellSource FilePath String |
Instances
| Eq HaskellSource Source # | |
Defined in Language.Haskell.Format.Types Methods (==) :: HaskellSource -> HaskellSource -> Bool # (/=) :: HaskellSource -> HaskellSource -> Bool # | |
data Reformatted Source #
Constructors
| Reformatted | |
Fields | |
Instances
| Semigroup Reformatted Source # | |
Defined in Language.Haskell.Format.Types Methods (<>) :: Reformatted -> Reformatted -> Reformatted # sconcat :: NonEmpty Reformatted -> Reformatted # stimes :: Integral b => b -> Reformatted -> Reformatted # | |
| Monoid Reformatted Source # | |
Defined in Language.Haskell.Format.Types Methods mempty :: Reformatted # mappend :: Reformatted -> Reformatted -> Reformatted # mconcat :: [Reformatted] -> Reformatted # | |