begin conversion to rst

This commit is contained in:
Stephen Diehl
2016-12-08 09:36:00 +00:00
parent fb6f00b90b
commit 60ca33fecb
12 changed files with 551 additions and 104 deletions
-57
View File
@@ -1,57 +0,0 @@
Type Level
==========
```haskell
data Coercion (a :: k) (b :: k) where
Coercion :: forall (k :: BOX) (a :: k) (b :: k). Coercible a b => Coercion a b
```
```haskell
coerceWith :: Coercion a b -> a -> b
```
#### Empty
```haskell
data Void
```
```haskell
absurd :: Void -> a
```
```haskell
vacuous :: Functor f => f Void -> f a
```
#### Proxy
```haskell
data Proxy (t :: k) = Proxy
```
#### Type Equality
```haskell
(:~:) :: k -> k -> *
```
```haskell
(==) :: k -> k -> Bool
```
```haskell
sym :: a :~: b -> b :~: a
```
```haskell
trans :: a :~: b -> b :~: c -> a :~: c
```
```haskell
castWith :: a :~: b -> a -> b
```
```haskell
gcastWith :: a :~: b -> ((a ~ b) => r) -> r
```