diff --git a/src/function/builtin/cons/LIST.java b/src/function/builtin/cons/LIST.java index 506c0fb..ec006e3 100644 --- a/src/function/builtin/cons/LIST.java +++ b/src/function/builtin/cons/LIST.java @@ -8,16 +8,16 @@ import sexpression.*; @FunctionNames({ "LIST" }) public class LIST extends LispFunction { + public static Cons makeList(SExpression sexpr) { + return new Cons(sexpr, NIL); + } + private ArgumentValidator argumentValidator; public LIST() { this.argumentValidator = new ArgumentValidator("LIST"); } - public static Cons makeList(SExpression sexpr) { - return new Cons(sexpr, NIL); - } - public Cons call(Cons argumentList) { argumentValidator.validate(argumentList);