2024-09-23 21:14:18 +02:00
|
|
|
{-# LANGUAGE TemplateHaskell #-}
|
2024-09-11 22:32:14 +02:00
|
|
|
module Main where
|
|
|
|
|
2024-09-23 21:14:18 +02:00
|
|
|
import Dependency
|
2024-09-21 17:13:20 +02:00
|
|
|
import ComputationM
|
2024-09-23 21:14:18 +02:00
|
|
|
import Generator
|
2024-09-21 16:35:13 +02:00
|
|
|
|
2024-09-23 21:14:18 +02:00
|
|
|
import Language.Haskell.TH.Syntax
|
2024-09-21 22:40:17 +02:00
|
|
|
|
2024-09-23 21:14:18 +02:00
|
|
|
dependencies :: [DependencyUntyped]
|
|
|
|
dependencies = $(lift (evalComputationM generate))
|
2024-09-21 16:35:13 +02:00
|
|
|
|
2024-09-11 22:32:14 +02:00
|
|
|
main :: IO ()
|
2024-09-23 21:14:18 +02:00
|
|
|
main = mapM_ print dependencies
|