Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pp:l01 [2020/03/12 14:35]
pdmatei [Introduction to the Haskell language]
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**). ​
Line 110: Line 110:
 inssort l =  inssort l = 
 </​code>​ </​code>​
-l =  +
-<​code>​+
  
 ===== Further reading ===== ===== Further reading =====