Skip to content

Commit 5b10076

Browse files
committed
:t and :k are abbreviations of :type and :kind
1 parent e8658b4 commit 5b10076

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

source_md/making-our-own-types-and-typeclasses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ A kind is more or less the type of a type.
17531753
This may sound a bit weird and confusing, but it's actually a really cool concept.
17541754

17551755
What are kinds and what are they good for?
1756-
Well, let's examine the kind of a type by using the `:k` command in GHCi.
1756+
Well, let's examine the kind of a type by using the `:k` (or `:kind`) command in GHCi.
17571757

17581758
```{.haskell:hs}
17591759
ghci> :k Int

source_md/types-and-typeclasses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ It tells us in which category of things that expression fits.
2424
The expression `True` is a boolean, `"hello"` is a string, etc.
2525

2626
Now we'll use GHCi to examine the types of some expressions.
27-
We'll do that by using the `:t` command which, followed by any valid expression, tells us its type.
27+
We'll do that by using the `:t` (or `:type`) command which, followed by any valid expression, tells us its type.
2828
Let's give it a whirl.
2929

3030
```{.haskell: .ghci}

0 commit comments

Comments
 (0)