Difference between revisions of "Lenny222/About Haskell"
Jump to navigation
Jump to search
m (Fill in the blanks...) |
|||
(18 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ |
||
⚫ | |||
⚫ | |||
− | * [[functional programming|purely functional]] |
||
− | * [[typing|statically typed]] |
||
− | * [[Lazy evaluation|lazy]] |
||
− | * [[Polymorphism|polymorphically]] |
||
⚫ | |||
− | It's quite different from most other programming languages. |
||
+ | {| class="wikitable" |
||
− | == The look == |
||
+ | |- |
||
+ | ! |
||
+ | ! What it means |
||
+ | ! What it is good for |
||
+ | |- |
||
+ | | functional |
||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
+ | | garbage collected |
||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
+ | | high-level |
||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
⚫ | |||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
+ | | lazy |
||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
⚫ | |||
+ | | Example: |
||
+ | fib 0 = 0 |
||
+ | fib 1 = 1 |
||
+ | fib n = fib (n - 2) + fib (n - 1) |
||
+ | | |
||
+ | |- |
||
+ | | pure |
||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
+ | | static typed |
||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
+ | | strongly typed |
||
+ | | ? |
||
+ | | ? |
||
+ | |} |
||
− | + | == Who is using it == |
|
− | |||
⚫ | |||
− | |||
⚫ | |||
− | |||
− | == Strenghts and weaknesses == |
||
− | |||
⚫ | |||
== Further reading == |
== Further reading == |
||
Line 24: | Line 57: | ||
* [[History of Haskell]] |
* [[History of Haskell]] |
||
* [[Future of Haskell]] |
* [[Future of Haskell]] |
||
+ | |||
+ | [[Category:Pages under construction]] |
Latest revision as of 21:57, 23 April 2021
Haskell
Haskell is a programming language with the following features:
What it means | What it is good for | |
---|---|---|
functional | ? | ? |
garbage collected | ? | ? |
high-level | ? | ? |
lambda functions | ? | ? |
lazy | ? | ? |
pattern matching | Example:
fib 0 = 0 fib 1 = 1 fib n = fib (n - 2) + fib (n - 1) |
|
pure | ? | ? |
static typed | ? | ? |
strongly typed | ? | ? |