module Build.Drasil.Make.Import where
import Build.Drasil.Make.AST (Makefile(M), Rule)
class RuleTransformer c where
makeRule :: c -> [Rule]
toMake :: RuleTransformer c => [c] -> Makefile
toMake :: forall c. RuleTransformer c => [c] -> Makefile
toMake = [Rule] -> Makefile
M forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall c. RuleTransformer c => [c] -> [Rule]
makeRules
makeRules :: RuleTransformer c => [c] -> [Rule]
makeRules :: forall c. RuleTransformer c => [c] -> [Rule]
makeRules = forall (t :: * -> *) a b. Foldable t => (a -> [b]) -> t a -> [b]
concatMap forall c. RuleTransformer c => c -> [Rule]
makeRule