-------------------------------------------------------------------------------- module Language.Haskell.Stylish.Step ( Lines , Step (..) , makeStep ) where -------------------------------------------------------------------------------- import Language.Haskell.Stylish.Module -------------------------------------------------------------------------------- data Step = Step { Step -> String stepName :: String , Step -> Lines -> Module -> Lines stepFilter :: Lines -> Module -> Lines } -------------------------------------------------------------------------------- makeStep :: String -> (Lines -> Module -> Lines) -> Step makeStep :: String -> (Lines -> Module -> Lines) -> Step makeStep = String -> (Lines -> Module -> Lines) -> Step Step