Clojure

include var->sym in clojure.core

Details

  • Type: Feature Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: Release 1.9
  • Fix Version/s: Release 1.11
  • Component/s: None
  • Labels:
    None
  • Approval:
    Vetted

Description

A lot of libraries define their own variant of `var->sym`, clojure.spec recently did so aswell as a private var called `->sym`.

This ticket proposes to move it from `clojure.spec` to `clojure.core` as a public var named `var->sym` and to refactor the two variants to use it.

Patch: clj-1952-v2.patch
Prescreened by: Alex Miller

  1. clj-1952.patch
    01/Dec/16 1:38 PM
    9 kB
    Jozef Wagner
  2. clj-1952-v2.patch
    02/Dec/16 2:10 AM
    9 kB
    Jozef Wagner

Activity

Hide
Jozef Wagner added a comment -

Added patch

Show
Jozef Wagner added a comment - Added patch
Hide
Alex Miller added a comment -

Patch has whitespace warnings that should be removed.

Show
Alex Miller added a comment - Patch has whitespace warnings that should be removed.
Hide
Jozef Wagner added a comment -

Attached updated patch clj-1952-v2.patch that has no trailing whitespaces.

Show
Jozef Wagner added a comment - Attached updated patch clj-1952-v2.patch that has no trailing whitespaces.

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated: