Mind map
Cahpter 8
Map content
Cahpter 8
Type synonyms
- e.g
- phoneBook=[(String.String)]
- phoneNumber= String
- name= String
- phoneBook=[(Name.phoneNumber)]
- e.g
Class (yes/no)
- ghci>yes/no $ lenght []false
- This function makes a value from any type that can express some value of truth and tells us if it true or not
- ghci>yes/no $ lenght []false
Functor class
- Funtor class which is basicallt for things that can be mapped.
Recursive data structures
- data list = empty Cons a(lista)
data means that w are going to define a new data type
- (type of date) = data constructors
- The part to the left of the = denotes the type
- The part to the right are the data constructors
- =
- (type of date) = data constructors
Information
- Description
- Mind Map on Cahpter 8, created by JUAN SEBASTIAN JIMENEZ ABADIA on 25/03/2020.
- Created by
- JUAN SEBASTIAN JIMENEZ ABADIA
- Views
- 0
- Rating