mad/byg/src/Main.hs

16 lines
344 B
Haskell
Raw Normal View History

2024-09-11 22:32:14 +02:00
module Main where
2024-09-21 17:13:20 +02:00
import Functions
import ComputationM
test :: ComputationM TokenNotTraversable ()
test = do
dir <- inject "retter"
dirContents <- runIO ListDirectory dir
let dirContents' = makeTraversable dirContents
u <- mapM (runIO OpenImage) dirContents'
pure $ NoToken
2024-09-11 22:32:14 +02:00
main :: IO ()
2024-09-21 17:13:20 +02:00
main = mapM_ print $ evalComputationM test