¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Chapter 7 - Modules

Jesús Henríquez Español

Contenido del mapa

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

Información

Descripción
Mapa Mental sobre Chapter 7 - Modules, creado por Jesús Henríquez el 17/09/2018.
Visitas
0
Valoración

Más sobre Haskell Modules and Libraries

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?