From 11a2534f677704aa33f0721eb6d8050ddca13fea Mon Sep 17 00:00:00 2001 From: mcgirjau Date: Thu, 25 Jun 2020 13:21:41 -0400 Subject: [PATCH] Alphabetize namespace dependencies --- src/propeller/core.clj | 4 ++-- src/propeller/push/state.clj | 2 +- src/propeller/session.clj | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/propeller/core.clj b/src/propeller/core.clj index 5923f16..15e24d0 100644 --- a/src/propeller/core.clj +++ b/src/propeller/core.clj @@ -1,9 +1,9 @@ (ns propeller.core (:gen-class) (:require [propeller.gp :as gp] - [propeller.push.core :as push] [propeller.problems.simple-regression :as regression] - [propeller.problems.string-classification :as string-classif])) + [propeller.problems.string-classification :as string-classif] + [propeller.push.core :as push])) (defn -main "Runs propel-gp, giving it a map of arguments." diff --git a/src/propeller/push/state.clj b/src/propeller/push/state.clj index 03fb788..f1849c4 100644 --- a/src/propeller/push/state.clj +++ b/src/propeller/push/state.clj @@ -59,7 +59,7 @@ "Pushes item(s) onto stack." [state stack items] (let [items-list (if (coll? items) items (list items)) - items-list-no-nil (filter #(not (nil? %)) items-list)] ; do not push nil items + items-list-no-nil (filter #(not (nil? %)) items-list)] (update state stack into items-list-no-nil))) (defn get-args-from-stacks diff --git a/src/propeller/session.clj b/src/propeller/session.clj index 9723240..3e626db 100644 --- a/src/propeller/session.clj +++ b/src/propeller/session.clj @@ -3,11 +3,11 @@ [propeller.gp :as gp] [propeller.selection :as selection] [propeller.variation :as variation] - [propeller.push.core :as push] - [propeller.interpreter :as interpreter] - [propeller.state :as state] [propeller.problems.simple-regression :as regression] - [propeller.problems.string-classification :as string-classif])) + [propeller.problems.string-classification :as string-classif] + [propeller.push.core :as push] + [propeller.push.interpreter :as interpreter] + [propeller.push.state :as state])) #_(interpreter/interpret-program '(1 2 integer_add) state/empty-state 1000)