ns-decl? treats (ns) as valid

Description

If you try to declare an empty namespace with `(ns)`, you get an ArityException, but ns-decl? does not test for this.

The attached patch simply tests whether it is at least two items long.

I have previously signed the Clojure CA.

Environment

None

Assignee

Stuart Sierra

Reporter

James Laver

Labels

None

Approval

None

Patch

Code

Priority

Minor
Configure