Hey all, I’m working on my first to-do list project. My first “head scratch” question is, why does it seem that I need to “reset” my to-do list vector to be empty in order to get the expected print out of “empty list” followed by “list with one item” ?
Please see my code example here: autofocus-clj-ver-1/core.clj at main · avidrucker/autofocus-clj-ver-1 · GitHub
(reset-list) ;; note: comment this out to see strange behavior
(println (stringify-list)) ;; should print out empty
(add-item-to-list example-item)
(println (stringify-list)) ;; should print out with only 1 item