core.typed

Add special arities to `nth` if we know exactly the index argument and CountRange

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code and Test

Description

(nth (I (Coll Integer) (CountRange 1)) 0 x) should always return Integer, not (U Integer x)

Activity

Hide
Ambrose Bonnaire-Sergeant added a comment -

Not urgent.

Show
Ambrose Bonnaire-Sergeant added a comment - Not urgent.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: