Mind map
Modules
Map content
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
Images and files in the map
Information
- Description
- Programacion Funcional (CAPITULOS HASKELL) Mind Map on Modules, created by Daniel Velez on 21/03/2018.
- Created by
- Daniel Velez
- Views
- 0
- Rating
More on Haskell Modules and Libraries