Mindmap
HASKELL
Inhalt der Mindmap
HASKELL
Introduction
- Haskell derives from
- LISP Language
- Adding
- Strong type system
- Lazy evaluation
- Adding
- LISP Language
- Haskell derives from
Get started
- First program
- Steps
- - Create hs file
- - Write code
- main = putStrLn "Hello World"
- Install Stack Haskel Tool
- Execute with stack runghc
- Steps
- First program
DataTypes
- Char
- [Char]
- [ ]
- Num
- Int
- Double
- Three ways
- Entirely new data types
- data Color = Red | Green | Blue
- Memory layout
- newtype Positive a = Positive a
- Synonym
- type String = [Char]
- Entirely new data types
TypeClasses
- Similar interfaces in Java
- Class Eq a where (==) : : a -> a -> a
- Similar interfaces in Java
Haskell Tool Stack
- Create project
- stack new project-name simple
- Build project
- stack build
- Execute project
- stack exec
- Create project
Informationen
- Beschreibung
- Mindmap am HASKELL, erstellt von VICTOR ANDRES PEDRAZA LEON am 25/08/2021.
- Erstellt von
- VICTOR ANDRES PEDRAZA LEON
- Aufrufe
- 0
- Bewertung