Use Value for evaluating functions

This commit is contained in:
ngws committed 2024-09-24 21:03:54 +02:00
1 parent e7e767c007
commit 9376ede653
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ module Evaluation.Function
( evalFunction ( evalFunction
) where ) where
import Types (Function(..)) import Types (Function(..), Value(..))
evalFunction :: Function -> a -> b evalFunction :: Function -> Value -> Value
evalFunction = undefined evalFunction = undefined
+2 -2
View File
@@ -2,7 +2,7 @@ module Evaluation.FunctionIO
( evalFunctionIO ( evalFunctionIO
) where ) where
import Types (FunctionIO(..)) import Types (FunctionIO(..), Value(..))
evalFunctionIO :: FunctionIO -> a -> b evalFunctionIO :: FunctionIO -> Value -> IO Value
evalFunctionIO = undefined evalFunctionIO = undefined