Full outline.

This commit is contained in:
Stephen Diehl
2016-07-29 12:28:29 -04:00
parent 5de8f47138
commit 5bf3b7f812
5 changed files with 114 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
Tuples
======
```haskell
fst :: (a, b) -> a
```
```haskell
snd :: (a, b) -> b
```
```haskell
swap :: (a, b) -> (b, a)
```
```haskell
curry :: ((a, b) -> c) -> a -> b -> c
```
```haskell
uncurry :: (a -> b -> c) -> (a, b) -> c
```