core.typed

Support Clojure records

Details

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

Description

Seems like HMaps + Datatypes, except for weird `dissoc` behaviour of losing type when dissocing all of the base keys.

Activity

Hide
Ambrose Bonnaire-Sergeant added a comment -

0.1.12 adds `ann-record` and `ann-precord`, support for checking `defrecord` and some `assoc` forms.

Still need to work out how it interacts with other operations (eg. dissoc, merge).

Show
Ambrose Bonnaire-Sergeant added a comment - 0.1.12 adds `ann-record` and `ann-precord`, support for checking `defrecord` and some `assoc` forms. Still need to work out how it interacts with other operations (eg. dissoc, merge).
Hide
Ambrose Bonnaire-Sergeant added a comment -

All destructuring forms now work with records. Going to ignore dissoc and merge for now.

Show
Ambrose Bonnaire-Sergeant added a comment - All destructuring forms now work with records. Going to ignore dissoc and merge for now.
Ambrose Bonnaire-Sergeant made changes -
Field Original Value New Value
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Ambrose Bonnaire-Sergeant made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: