Mapa mental
Modules
Contenido del mapa
Modules
Modules are made up by functions, types, and classes related one and other
- If generic can be applied in several programs
Import <module name> Example: Import Data.List
- If GHCI> then :m + "modules"
Prelude is a module imported by default, Prelude>
·
- The function nub is imported from Data.List
- It's equivalent to code: \xs -> length (nub xs)
- 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), etc.
- The function nub is imported from Data.List
Imágenes y archivos del mapa
Información
- Descripción
- (CAPITULOS HASKELL) Programacion Funcional Mapa Mental sobre Modules, creado por Daniel Velez el 21/03/2018.
- Creado por
- Daniel Velez
- Visitas
- 0
- Valoración
Más sobre Haskell Modules and Libraries