Use Value for evaluating functions
This commit is contained in:
		@@ -2,7 +2,7 @@ module Evaluation.Function
 | 
			
		||||
  ( evalFunction
 | 
			
		||||
  ) where
 | 
			
		||||
 | 
			
		||||
import Types (Function(..))
 | 
			
		||||
import Types (Function(..), Value(..))
 | 
			
		||||
 | 
			
		||||
evalFunction :: Function -> a -> b
 | 
			
		||||
evalFunction :: Function -> Value -> Value
 | 
			
		||||
evalFunction = undefined
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@ module Evaluation.FunctionIO
 | 
			
		||||
  ( evalFunctionIO
 | 
			
		||||
  ) where
 | 
			
		||||
 | 
			
		||||
import Types (FunctionIO(..))
 | 
			
		||||
import Types (FunctionIO(..), Value(..))
 | 
			
		||||
 | 
			
		||||
evalFunctionIO :: FunctionIO -> a -> b
 | 
			
		||||
evalFunctionIO :: FunctionIO -> Value -> IO Value
 | 
			
		||||
evalFunctionIO = undefined
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user