Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Greif authored and acowley committed May 10, 2016
1 parent 6f8ef30 commit e2b82eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Intro.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ First of all, we need a data type defining the field labels:
> data Fields = Name | Age | Sleeping | Master deriving Show

Any record can be now described by a type-level list of these labels.
The `DataKinds` extension must be enabled to autmatically turn all the
The `DataKinds` extension must be enabled to automatically turn all the
constructors of the `Field` type into types.

> type LifeForm = [Name, Age, Sleeping]
Expand Down Expand Up @@ -155,7 +155,7 @@ Therefore, the following works:
> upcastedTucker = rcast tucker

The subtyping relationship between record types is expressed with the
`(<:)` constraint; so, rcast is of the following type:
`(<:)` constraint; so, `rcast` is of the following type:

< rcast :: r1 <: r2 => Rec f r1 -> Rec f r2

Expand Down

0 comments on commit e2b82eb

Please sign in to comment.