core.logic

make defrecord unification easier to adopt

Details

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

Activity

David Nolen made changes -
Field Original Value New Value
Issue Type Defect [ 1 ] Enhancement [ 4 ]
Summary Create IEmptyableCollection protocol so that we can preserve record types during map unification make defrecord unification easier to adopt
Hide
David Nolen added a comment - - edited

As pointed out on the mailing list calling empty on defrecord doesn't actually make sense. defrecords are never empty in the IPersistentCollection sense, they just have their keys initialized to nil. I'm open to suggestions here.

Show
David Nolen added a comment - - edited As pointed out on the mailing list calling empty on defrecord doesn't actually make sense. defrecords are never empty in the IPersistentCollection sense, they just have their keys initialized to nil. I'm open to suggestions here.
Hide
David Nolen added a comment -

This was resolved a while back with the addition of the IUninitialized protocol

Show
David Nolen added a comment - This was resolved a while back with the addition of the IUninitialized protocol
David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: