Clojure-Intro-Course / clojure-intro-class

NOTE: This repository is obsolete. Was: A pilot project to use Clojure for introductory computer science courses at the University of Minnesota - Morris
20 stars 3 forks source link

Not clearing the atom when we should be #95

Closed leek5pin closed 8 years ago

leek5pin commented 8 years ago

(seq? (vec (+ "hi" "hi")))

Error: In function +, the argument "hi" must be a number but is a string. Found in file test.clj on, or before, line 12. corefns.corefns/+ (corefns.clj line 285) intro.test/eval8687 (test.clj line 17) intro.core/-main (core.clj line 21)

elenam commented 8 years ago

This was caused by changing the atom in a wrong place in handling a single argument. Not really an issue; was fixed when #87 issue was properly done.