Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

101: Types people see when they use ":t" is confusing to them #12

Description

@illia-bobyr

tl;dr: Mention that :t output will not be useful until 102 material.

This is something we have discussed a few times in the past.
Until typeclasses in 102, types even for simple functions such as (+) and div are not really that helpful.

We have tried looking into monomorphising ghci output and considered writing a replacement for a limited number of operations in Prelude, so that during 101 people would not see typeclasess.

While been technically challenging, it might also not be the best solution from the educational standpoint.

An alternative is to mention, in 101, that types people will see when they type :t involve abstractions covered in 102, and just suggest they wait until 102, to understand them.
We literally start 102 with slides that explain what those types are.

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