Alphabetize namespace dependencies

This commit is contained in:
mcgirjau 2020-06-25 13:21:41 -04:00
parent 07956a0eca
commit 11a2534f67
3 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
(ns propeller.core (ns propeller.core
(:gen-class) (:gen-class)
(:require [propeller.gp :as gp] (:require [propeller.gp :as gp]
[propeller.push.core :as push]
[propeller.problems.simple-regression :as regression] [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 (defn -main
"Runs propel-gp, giving it a map of arguments." "Runs propel-gp, giving it a map of arguments."

View File

@ -59,7 +59,7 @@
"Pushes item(s) onto stack." "Pushes item(s) onto stack."
[state stack items] [state stack items]
(let [items-list (if (coll? items) items (list 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))) (update state stack into items-list-no-nil)))
(defn get-args-from-stacks (defn get-args-from-stacks

View File

@ -3,11 +3,11 @@
[propeller.gp :as gp] [propeller.gp :as gp]
[propeller.selection :as selection] [propeller.selection :as selection]
[propeller.variation :as variation] [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.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 #_(interpreter/interpret-program
'(1 2 integer_add) state/empty-state 1000) '(1 2 integer_add) state/empty-state 1000)