Use InList properly

This commit is contained in:
2024-09-21 19:09:43 +02:00
parent af2b9202ef
commit d0c2b47df0
2 changed files with 14 additions and 10 deletions

View File

@@ -3,16 +3,11 @@ module Main where
import Types
import ComputationM
testSub :: ComputationM Image
testSub = do
inp <- getListElem
openImage inp
test :: ComputationM ()
test = do
dir <- inject "retter"
dirContents <- listDirectory dir
u <- mapListTaken testSub dirContents
u <- mapListTaken openImage dirContents
pure $ NoToken
main :: IO ()