diff --git a/dust-lang/src/abstract_tree/built_in_function.rs b/dust-lang/src/abstract_tree/built_in_function.rs
index 0098a7c..473d667 100644
--- a/dust-lang/src/abstract_tree/built_in_function.rs
+++ b/dust-lang/src/abstract_tree/built_in_function.rs
@@ -14,242 +14,179 @@ use crate::{
use super::{AbstractNode, Evaluation, Expression, Type, TypeConstructor};
#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Serialize, Deserialize)]
-pub enum BuiltInFunctionCall {
- Length(Length),
- ReadFile(ReadFile),
- ReadLine(ReadLine),
- Sleep(Sleep),
- WriteLine(WriteLine),
- JsonParse(JsonParse),
+pub enum BuiltInFunction {
+ Length,
+ ReadLine,
+ ReadFile,
+ Sleep,
+ WriteLine,
+ JsonParse,
}
-impl AbstractNode for BuiltInFunctionCall {
- fn define_types(&self, _context: &Context) -> Result<(), ValidationError> {
- Ok(())
- }
-
- fn validate(&self, _context: &Context, _manage_memory: bool) -> Result<(), ValidationError> {
- Ok(())
- }
-
- fn evaluate(
- self,
- _context: &Context,
- _manage_memory: bool,
- ) -> Result