ClojureScript

Keyword used as function do not return default value when first argument does not satisfy ILookup

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

In Clojure, (:test "" 1) returns 1 while in ClojureScript it returns nil. Note that (get "" :test 1) returns 1 in both environment.

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: