diff --git a/haskell/01-expressions/README.md b/haskell/01-expressions/README.md index dec9b5d..c390fab 100644 --- a/haskell/01-expressions/README.md +++ b/haskell/01-expressions/README.md @@ -54,6 +54,14 @@ Expression | Type (:t) | Value | Comment ## Tuples +Expression | Type (:t) | Value | Comment +--- | --- | --- | -------- +`(1, 2)` | `(Num a, Num b) => (a, b)` | `(1, 2)` | +`(1, "hello", True)` | `(Num a => (a, String, Bool)` | `(1, "hello", True)` | +`fst (1, 2)` | `Num a => a` | `1` | +`snd (1, 2)` | `Num b => b` | `2` | +`(,) 1 2` | `Num a => a -> a -> (a, a)` | `(1, 2)` | + ## Strings ## Control Structures