Mind map
Modules
Map content
Modules
a collection of
- Functions
- Types
- typeclasses
- related to each other
- typeclasses
- Types
- Functions
Advantages
- reuse of functions
- organization
haskell standard library
- divided into modules
- specific use
- List manipulation
- concurrent progtramming
- a complex number module
- specific use
- divided into modules
syntax
- import <module name>
- in the header
- each in separate rows
- example
- in GHCi
- :m + Data.list
- in Script
- the whole module
- import Data.list
- specific functions
- import Data.List (nub, sort)
- the whole module
- in GHCi
Types
- Data.List
- Intersperse
- intersperse 0 [1,2,3]
- [1,0,2,0,3]
- intersperse 0 [1,2,3]
- Intercalate
- intercalate " " ["A","B","C"]
- "A B C"
- intercalate " " ["A","B","C"]
- Transpose
- concat
- concat ["car","los"]
- "carlos"
- concat ["car","los"]
- concatMap
- applies function and concatenates
- and
- apply function to a list
- Intersperse
- Data.List
Information
- Description
- Ingeniería Mind Map on Modules, created by carlos marin on 20/03/2018.
- Created by
- carlos marin
- Views
- 2
- History
-
- Created by PUENTES VIVIESCAS CARLOS ALFREDO · Mar 20, 2018
- Copied by carlos marin · Mar 20, 2018
- Rating
More on Haskell Modules and Libraries