Skip to content

enumFromTo.hs in ch9 #3

Closed
Closed
@simoncourtenage

Description

@simoncourtenage

Do you need the maxBound test in the guards for the int and char versions? If a is equal to maxBound, then b must be less than or equal to a - if the former, then it's met by the first guard, if the latter then met by the first part of the second guard?

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