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

Add processing for wrong number of args to keyword #66

Closed BananaObserved closed 9 years ago

BananaObserved commented 9 years ago

(:a) gives "Error: Wrong number of args passed to keyword: :a"

BananaObserved commented 9 years ago

The valid number of arguments to a keyword is 1 or 2, where the second arg acts as an else.

elenam commented 9 years ago

Need to add test files to the git repo.

leek5pin commented 9 years ago

Since you added them, and the test is passing, I am closing this issue.