Skip to content

Error message for range is leaky #32

@stamourv

Description

@stamourv

The code range([1,2])
results in the error

range: contract violation
  expected: num?
  given: [1, 2]
  in: the 1st argument of
      the 3rd case of
      (case->
       (-> num? num? num? AnyC)
       (-> num? num? AnyC)
       (-> num? AnyC))

This is the correct contract for DSSL's range, but having an error message in terms of case-> and prefix -> isn't ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions