Difference between revisions of "Lenny222/About Haskell"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
__NOTOC__ |
__NOTOC__ |
||
⚫ | |||
+ | is a programming language with the following properties: |
||
⚫ | |||
+ | {| class="wikitable" |
||
− | Haskell is a computer programming language that is |
||
+ | |- |
||
+ | ! Feature |
||
+ | ! What does it mean? |
||
+ | ! What is it good for? |
||
+ | |- |
||
⚫ | |||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
+ | | pure |
||
+ | | ? |
||
+ | | ? |
||
+ | |- |
||
+ | | pattern matching |
||
+ | | ? |
||
+ | | ? |
||
+ | |} |
||
− | * [[functional programming|purely functional]] |
||
− | * [[typing|statically typed]] |
||
− | * [[Lazy evaluation|lazy]] |
||
− | * [[Polymorphism|polymorphically]] |
||
+ | === functional === |
||
− | It's quite different from most other programming languages. |
||
− | === |
+ | === pure === |
− | |||
⚫ | |||
=== Pattern matching === |
=== Pattern matching === |
Revision as of 11:54, 9 July 2009
Haskell
is a programming language with the following properties:
Feature | What does it mean? | What is it good for? |
---|---|---|
functional | ? | ? |
pure | ? | ? |
pattern matching | ? | ? |
functional
pure
Pattern matching
fib 0 = 0 fib 1 = 1 fib n = fib (n - 2) + fib (n - 1)