diff --git a/training/2-primer/2.5-types.md b/training/2-primer/2.5-types.md index 81c3b7c..f73cdc2 100644 --- a/training/2-primer/2.5-types.md +++ b/training/2-primer/2.5-types.md @@ -18,7 +18,7 @@ Here we just aliasing, or giving String another binding to a type within our pro > type alias Person = { name : String, age : Int } ``` -To read this one would say: "Person is a type alias for a record with a field called name witch has type of String, and a field age which has type of Int." Again, you will see type alias for records a lot in Elm code, but you probably will not use them too much in the repl. This just to get you started with some of the syntax and ideas around type aliases. +To read this one would say: "Person is a type alias for a record with a field called name which has type of String, and a field age which has type of Int." Again, you will see type alias for records a lot in Elm code, but you probably will not use them too much in the repl. This just to get you started with some of the syntax and ideas around type aliases. ## Type @@ -42,7 +42,7 @@ Product "Updesk" : Repl.Product ``` -First lets cover syntax. It is very similar to what we had above for our product type, but this time we told Elm that this type will receive a String when we what to use it. The type `Product String` can be seen as a function in JavaScript that looks like: +First lets cover syntax. It is very similar to what we had above for our product type, but this time we told Elm that this type will receive a String when we want to use it. The type `Product String` can be seen as a function in JavaScript that looks like: ``` function Product(name) {