From 946af245145199e875f56bee202ee1fe9f514cc0 Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Fri, 3 Mar 2017 15:57:16 -0500 Subject: [PATCH] Minor cleanup of LIST --- src/function/builtin/cons/LIST.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);