Help shape GoConqr. What should we add next?

Mind map

Making Types and Typeclasses

JUAN DAVID PARDO REINA Spanish

Map content

Making Types and Typeclasses

  1. data

    • keyword for create new data type
    • name
      • next word defina name of the newtype
      • =
        • values
          • true | false
          • | is or
          • Circle Float Float Float | Rectangle Float Float Float Float
            • more than one value
  2. prompt, don't print shapes

  3. deriving (Show)

    • our type makes that type part of the Show typeclases
  4. in Module

    • Capital Case
      • (..) If you want to export all the value constructors
  5. Type parameters

    • Constructor
      • take parameters and produce a new value
      • several and differents type values
  6. interface

    • define behavior
  7. synonymus

    • make more sense to someone reading our code and documentation

Information

Description
Mind Map on Making Types and Typeclasses, created by JUAN DAVID PARDO REINA on 20/03/2019.
Views
0
Rating

Feedback

What is it about?

What should we add next?