Domain of clojure.core/zero? is Number, not Any

Description

The annotation for clojure.core/zero? gives its type as [Any -> Boolean], but calling it with anything other than a number results in a ClassCastException. The type should probably be something like:

Environment

None

Activity

Show:
Ambrose Bonnaire-Sergeant
May 18, 2015, 9:48 AM
Completed

Assignee

Ambrose Bonnaire-Sergeant

Reporter

Justin Holguin

Labels

None

Approval

None

Patch

None

Affects versions

Priority

Minor
Configure