Clojure

Add more type predicate fns to core

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: Release 1.5, Release 1.6
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Add more built-in type predicates:

1) Definitely missing: (atom? x), (ref? x), (deref? x), (named? x), (map-entry? x), (lazy-seq? x).
2) Very good to have: (throwable? x), (exception? x), (pattern? x).

The first group is especially important for writing cleaner code with core Clojure.

Activity

Alex Miller made changes -
Field Original Value New Value
Summary More of essential type predicates in the core Add more type predicate fns to core
Alex Miller made changes -
Labels predicate type

People

Vote (4)
Watch (1)

Dates

  • Created:
    Updated: