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

Mapa mental

Modules Chapter seven

DIAZ PARRA BRAYAN STIVEN Español

Modules Chapter seven

Contenido del mapa

Modules Chapter seven

  1. Collection of related functions, types, and type classes

    • import <module name>
      • Data.Char
        • It exports functions that deal with characters
      • Data.Map
        • Association lists (also called dictionaries) are lists that are used to store key-value pairs where ordering doesn't matter
      • Data.Set
        • The Data.Set module offers us, well, sets. Sets are kind of like a cross between lists and maps. All the elements in a set are unique.
      • Data.List
        • The Data.List module is all about lists
            • The function nub is imported from Data.List
              • It's equivalent to code: \xs-> length (nub xs)
      • Prelude is a module imported by default, Prelude>
      • Example of several modules implemented in GHCI session
          • To specified the import functions there are key words that can filter the ones we need: hiding, qualified, (put the specific functions).
    • If generic can be applied in several programns
  2. We say that a module exports functions. What that means is that when I import a module, I can use the functions that it exports. It can define functions that its functions call internally, but we can only see and use the ones that it exports.

Imágenes y archivos del mapa

  • Modules Chapter seven
  • Modules Chapter seven
  • Modules Chapter seven

Información

Descripción
Mapa Mental sobre Modules Chapter seven, creado por DIAZ PARRA BRAYAN STIVEN el 18/03/2019.
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?