Skip to content

Chapter 13, Testing Polymorphic Code #475

Description

@mkohlhaas

This

ints :: Array Int -> Array Int
ints = id

should be

ints :: Array Int -> Array Int
ints = identity

Also for:

intToBool  (Int  Boolean)  Int  Boolean
intToBool = identity

treeOfInt  Tree Int  Tree Int
treeOfInt = identity

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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