Skip to content

Is this wording about typeclasses correct in Chapter3.hs? #505

@bitwombat

Description

@bitwombat

Chapter3 says:

As you can see, both monster and knight have similar characteristics, but they
also have some differences. So it is possible to describe their common
properties using typeclasses
, but they are different data types in the end.

Do typeclasses describe their common properties (e.g. health) or the common actions that can be taken on them (e.g. fight)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions