GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Chapter 7 - Modules

Jesús Henríquez Spanisch

Inhalt der Mindmap

Chapter 7 - Modules

  1. Loading Modules

    • Collection of
      • Functions
      • Types
      • Classes of Types
    • To load a module it is used
      • From GHCI with: ': m + <module>'
      • Desde un script hs: 'import <module>'
        • And for specific functions 'import <module> (<function>, <function>, ...)'
  2. Data.List

    • Deal exclusively with lists
    • Useful functions
      • Interperse
        • Take an element and a list puts that element between each pair of elements in the list.
      • Intercalate
        • Take a list and list of lists. Insert the first list among all the other list, resulting in a single list
      • Transpose
        • Transpose a list of lists
  3. Data.Char

    • Exports functions that deal with characters such as
      • isControl
      • isSpace
      • isLower
      • isUpper
      • isAlphaNum
  4. Making our own modules

    • The .hs file must comply with this structure
      • module <ModuleName> (<functioName>, ...) where <structureFunction>
  5. Data.Map

    • It offers us work of associacoon lists
      • are lists that are used to store key-value pairs where order does not matter
    • findKey
  6. Data.Set

    • Offers operations with mathematical sets
      • The sets are a type of data mix between the list and the dictionaries

Informationen

Beschreibung
Mindmap am Chapter 7 - Modules, erstellt von Jesús Henríquez am 17/09/2018.
Erstellt von
Jesús Henríquez
Aufrufe
0
Bewertung

Mehr zu Haskell Modules and Libraries

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck