Clojure

Add support for UUID literals using tagged literal capability.

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: Release 1.4
  • Fix Version/s: Release 1.4
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test

Description

Using the tagged literal facility added in Clojure 1.4-alpha4, add support for a UUID literal of the form:

#uuid "550e8400-e29b-41d4-a716-446655440000"

;=> #<UUID 550e8400-e29b-41d4-a716-446655440000>

The default object built with this literal would be a java.util.UUID. A print-method for this type would also be required for this enhancement.

Activity

Hide
Fogus added a comment -

Added updated patch based on fixes to CLJ-871. This patch should be applied AFTER the patch for the latest patch for CLJ-871.

Show
Fogus added a comment - Added updated patch based on fixes to CLJ-871. This patch should be applied AFTER the patch for the latest patch for CLJ-871.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: