Mindmap
Modules in Haskell

Inhalt der Mindmap
Modules in Haskell
Collections of related functions, types and type classes
- Haskell program
- A main module loads some others modules
- Haskell standard library
- Haskell program
Code split
- Have more generic modules
- the functions it exports can be used in a multitude of different programs
- Code reuse
- Have more generic modules
Syntaxis
- To import a module
- Import "module_name"
- Import "module_name" "other_module" "module_n"
- Specific functions for some module
- Import "module_name" ("function1", "function2", "functionN")
- Exclude some functions
- Import "module_name" hiding ("functionName")
- Qualified
- Use to make the modules explicit name when call a function of that module
- import qualified "module_name" as "alias"
- Tha "alias" is optional
- import qualified "module_name" as "alias"
- Use to make the modules explicit name when call a function of that module
- Import "module_name"
- Make our own module
- Define functions
- Define functions
- To import a module
Bilder und Dateien der Mindmap
Informationen
- Beschreibung
- Ingeniería Mindmap am Modules in Haskell, erstellt von WILLIAM SANTIAGO FONSECA MORA am 24/09/2021.
- Erstellt von
- WILLIAM SANTIAGO FONSECA MORA
- Aufrufe
- 0
- Bewertung
Mehr zu Haskell Modules and Libraries
