Skip to content

Commit b57ef39

Browse files
authored
Remove bad space (learnyouahaskell#22)
1 parent f4ed865 commit b57ef39

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
@@ -472,7 +472,7 @@ <h1>Making Our Own Types and Typeclasses</h1>
472472
<p>That's pretty awesome.</p>
473473
<a name="type-synonyms"></a><h2>Type synonyms</h2>
474474
<p>
475-
Previously, we mentioned that when writing types, the <span class="fixed">[Char]</span> and <span class="fixed">String </span> types are equivalent and interchangeable. That's implemented with <em>type synonyms</em>. Type synonyms don't really do anything per se, they're just about giving some types different names so that they make more sense to someone reading our code and documentation. Here's how the standard library defines <span class="fixed">String</span> as a synonym for <span class="fixed">[Char]</span>.
475+
Previously, we mentioned that when writing types, the <span class="fixed">[Char]</span> and <span class="fixed">String</span> types are equivalent and interchangeable. That's implemented with <em>type synonyms</em>. Type synonyms don't really do anything per se, they're just about giving some types different names so that they make more sense to someone reading our code and documentation. Here's how the standard library defines <span class="fixed">String</span> as a synonym for <span class="fixed">[Char]</span>.
476476
</p>
477477
<pre name="code" class="haskell:hs">
478478
type String = [Char]

0 commit comments

Comments
 (0)