Mind map
Modules in Haskell

Map content
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
Images and files in the map
Information
- Description
- Ingeniería Mind Map on Modules in Haskell, created by WILLIAM SANTIAGO FONSECA MORA on 24/09/2021.
- Created by
- WILLIAM SANTIAGO FONSECA MORA
- Views
- 0
- Rating
More on Haskell Modules and Libraries
