Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
pp:l01 [2020/03/12 14:36] pdmatei |
pp:l01 [2020/04/07 15:05] (current) pdmatei |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Introduction to the Haskell language ====== | + | ====== 1. Introduction to the Haskell language ====== |
The main (and, as we shall soon see, the only!) programming instrument in Haskell is the **function**. In mathematics, a function is a **relation** between specified sets ($math[f:A\rightarrow B]) that associates to every element of $math[A], exactly one element of $math[B]. This is precisely the interpretation of a function in Haskell. (Not to be confused with OOP **methods** or **procedures**). | The main (and, as we shall soon see, the only!) programming instrument in Haskell is the **function**. In mathematics, a function is a **relation** between specified sets ($math[f:A\rightarrow B]) that associates to every element of $math[A], exactly one element of $math[B]. This is precisely the interpretation of a function in Haskell. (Not to be confused with OOP **methods** or **procedures**). |