Put function shortcuts back in Functions module

This commit is contained in:
2024-09-21 20:00:59 +02:00
parent e3868332be
commit 28d430cf72
3 changed files with 36 additions and 19 deletions

View File

@@ -2,13 +2,15 @@ module Main where
import Types
import ComputationM
import Functions
test :: ComputationM ()
test = do
dir <- inject "retter"
dirContents <- listDirectory dir
u <- mapComputationM openImage dirContents
pure $ NoToken
t <- inject ("hej", "hey.txt")
saveFile t
main :: IO ()
main = mapM_ print $ evalComputationM test