mad/byg/src/Main.hs

18 lines
325 B
Haskell
Raw Normal View History

{-# LANGUAGE TemplateHaskell #-}
2024-09-11 22:32:14 +02:00
module Main where
2024-10-05 15:35:52 +02:00
import qualified Precomputer
import System.Environment (getArgs)
2024-09-11 22:32:14 +02:00
main :: IO ()
main = do
args <- getArgs
case args of
["run"] ->
$$(Precomputer.runDeps)
["tree"] ->
$$(Precomputer.formatDependencyTrees)
_ ->
error "unexpected arguments"