Mapa mental
Haskell - Types and Typeclasses

Mind map: Haskell types and typeclasses
Conteúdo do mapa
Haskell - Types and Typeclasses
Exits many types of variables
The functions have a type
- Is possible know the type of a function
- :t
- Is possible know the type of a function
Haskell also have the most common types of varibles
- Int
- Integer
- Float
- Double
- Bool
- Char
There are funcions for all the types
- Eq
- Ord
- Show
- Read
- Enum
- Bounded
- Num
class constraint
- Offer the option to work with an only type of data
- Most expressions are such that the compiler can infer what their type is by itself
Typeclasses
Haskell has type inference
- we don't have to explicitly write out the types of our functions and expressions
Informações
- Descrição
- Mapa del Capitulo 3
- Criado por
- FONTALVO ROMERO EDUARDO JOSÉ
- Visualizações
- 19
- Tags
- Avaliação
Mais sobre Data Types and Typeclasses