Skip to content

Commit 7119019

Browse files
authored
Fix typo
in region "Record Syntax"
1 parent f851d0f commit 7119019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/making-our-own-types-and-typeclasses.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h1>Making Our Own Types and Typeclasses</h1>
156156
ghci&gt; guy
157157
Person "Buddy" "Finklestein" 43 184.2 "526-2928" "Chocolate"
158158
</pre>
159-
<p>That's kind of cool, although slightly unreadable. What if we want to create a function to get seperate info from a person? A function that gets some person's first name, a function that gets some person's last name, etc. Well, we'd have to define them kind of like this.</p>
159+
<p>That's kind of cool, although slightly unreadable. What if we want to create a function to get separate info from a person? A function that gets some person's first name, a function that gets some person's last name, etc. Well, we'd have to define them kind of like this.</p>
160160
<pre name="code" class="haskell:hs">
161161
firstName :: Person -&gt; String
162162
firstName (Person firstname _ _ _ _ _) = firstname

0 commit comments

Comments
 (0)