πŸ“˜
HPM Education - Haskell
search
⌘Ctrlk
πŸ“˜
HPM Education - Haskell
  • Introduction to Haskell
  • Introduction
    • Functions
    • Functional Programming vs Imperative Programming
    • Installing Haskell
    • Haskell Modules
    • Loading Modules into GHCi
    • Expressions
    • Laziness
    • Immutability
  • Types in Haskell
    • Introduction
    • Basic Types
    • Static Type Check
    • Polymorphic and Overloaded Types
    • Data Structure Types
    • Function Types
  • Defining Functions / Working with Functions
    • The Layout Rule
    • Local Definitions
    • The Infix Operator
    • Conditionals
    • Pattern Matching
    • Lambda functions
    • Function Operators
  • List Comprehensions
    • List Comprehensions
  • Higher-order Functions
    • Introduction
    • The map Function
    • The filter Function
  • Recursion
    • Introduction
    • 4 Steps to Defining Recursive Functions
    • Recursion Practice
    • Folds
  • Cutom Types
    • Declaring Types
  • Type Classes
    • Introduction
    • Basic Classes
      • Eq – Equality Types
      • Ord – ordered types
      • Show – Showable Types
      • Read – readable types
      • Num – Numeric Types
      • Integral – Integral Types
      • Fractional – Fractional Types
      • Enum – Enumeration Types
    • Derived Instances
    • Exercise – Making a Card Deck Type
  • Interactive Programming
    • Introduction
    • Input / Output Actions
    • Sequencing Actions
    • Exercise - Numbers Guessing Game
  • Functors, Applicatives and Monads
    • Introduction
    • Functors
    • Applicative Functors
    • Monads
  • References / Further Reading
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Type Classes

Basic Classes

Eq – Equality Typeschevron-rightOrd – ordered typeschevron-rightShow – Showable Typeschevron-rightRead – readable typeschevron-rightNum – Numeric Typeschevron-rightIntegral – Integral Typeschevron-rightFractional – Fractional Typeschevron-rightEnum – Enumeration Typeschevron-right
PreviousIntroductionchevron-leftNextEq – Equality Typeschevron-right

Last updated 3 years ago