Clojure

Allow the function / to be referred to in namespaces other than clojure.core

Details

  • Type: Enhancement Enhancement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: Release 1.1, Release 1.2, Release 1.3, Release 1.4
  • Fix Version/s: Release 1.6
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Ok

Description

The attached patch gives the programmer the option of referring to the division function in namespaces other than just clojure.core. For example,

(ns foo
(:require [cljs.core :as core]))
(apply core// '(1 2 3))

The above lines do not compile without this patch.

Activity

Andy Fingerhut made changes -
Field Original Value New Value
Attachment clj-873-namespace-divides-patch.txt [ 10964 ]
Rich Hickey made changes -
Fix Version/s Release 1.5 [ 10150 ]
Stuart Halloway made changes -
Approval Screened [ 10004 ]
Rich Hickey made changes -
Fix Version/s Release 1.5 [ 10150 ]
Rich Hickey made changes -
Issue Type Defect [ 1 ] Enhancement [ 4 ]
Rich Hickey made changes -
Approval Screened [ 10004 ] Ok [ 10007 ]
Fix Version/s Release 1.6 [ 10157 ]
Stuart Halloway made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Nicola Mometto made changes -
Patch Code and Test [ 10002 ] Code [ 10001 ]
Status Closed [ 6 ] Reopened [ 4 ]
Resolution Completed [ 1 ]
Nicola Mometto made changes -
Attachment 0001-Fix-CLJ-873-for-EdnReader-too.patch [ 12009 ]
Nicola Mometto made changes -
Attachment 0001-Fix-CLJ-873-for-EdnReader-too.patch [ 12009 ]
Nicola Mometto made changes -
Alex Miller made changes -
Resolution Completed [ 1 ]
Status Reopened [ 4 ] Resolved [ 5 ]

People

Vote (7)
Watch (6)

Dates

  • Created:
    Updated:
    Resolved: