Mapa mental
Chapter 7: Modules
Conteúdo do mapa
Chapter 7: Modules
Modules are collections of relational functions, types, and classes
- Advantage
- Use of generic modules in the same or different programs
- Reuse of unrelated modules (low coupling)
- To import a module in Haskell you use
- When importing a module, all its libraries are available to us.
- import <module name>
- Specific functions can be imported
- The qualified keyword is used to avoid name conflicts
- The as reserved word is used to assign an identifier to that module
- hiding we use it to prevent import certain functions
- Advantage
A Haskell program is a compendium of modules
- Main module
- Secondary modules
- Functions
- Stock Compendium
Informações
- Descrição
- Mapa Mental sobre Chapter 7: Modules, criado por DIANA ANDREA APONTE SANABRIA em 12-04-2021.
- Criado por
- DIANA ANDREA APONTE SANABRIA
- Visualizações
- 0
- Avaliação
Mais sobre Haskell Modules and Libraries