Mapa mental
Modules
Conteúdo do 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
Imagens e arquivos do mapa
Informações
- Descrição
- Programacion Funcional (CAPITULOS HASKELL) Mapa Mental sobre Modules, criado por Daniel Velez em 21-03-2018.
- Criado por
- Daniel Velez
- Visualizações
- 0
- Avaliação
Mais sobre Haskell Modules and Libraries