Ayúdanos a dar forma a GoConqr. ¿Qué deberíamos añadir?

Mapa mental

MODULES

Nicolas Medina Inglés

MODULES

Contenido del mapa

MODULES

  1. Collection of related functions, types and typeclasses

    • The main module loads up the other modules
      • The Haskell program use the functions to do something
  2. There could be modules to

    • manipulating lists
    • concurrent programming
    • complex numbers
  3. The main functions that we use in Haskell come from the Prelude module!

  4. To import a module we use: import <module name>

    • This should be done on the top of the file, before use any function
  5. You can import modules from GHCI using ... :m + <module name>

  6. Making modules... is the perfect way to split your code up on several files

    • In each file you keep functions that have similar purpose
      • To make a module just create a file with .hs extension (xxxx.hs)
        • At the beginning of the file we define the module name according with the file name.

Imágenes y archivos del mapa

  • MODULES
  • MODULES

Información

Descripción
Mapa Mental sobre MODULES, creado por Nicolas Medina el 02/09/2018.
Creado por
Nicolas Medina
Visitas
1
Valoración

Más sobre Haskell Modules and Libraries

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué deberíamos añadir?