Mindmap
Modules
Inhalt der Mindmap
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
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Programacion Funcional (CAPITULOS HASKELL) Mindmap am Modules, erstellt von Daniel Velez am 21/03/2018.
- Erstellt von
- Daniel Velez
- Aufrufe
- 0
- Bewertung
Mehr zu Haskell Modules and Libraries