Skip to content

min/max should not accept 0 arguments #496

@samth

Description

@samth
Welcome to Racket v6.8.0.1.
> min
- : (-> Real * Real) ... [Use (:print-type <expr>) to see more.]
#<procedure:min>
> max
- : (-> Real * Real) ...
#<procedure:max>
> (max)
; max: arity mismatch;
;  the expected number of arguments does not match the given number
;   expected: at least 1
;   given: 0
; [,bt for context]

Reported by John Reppy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions