Skip to content

Commit 114e104

Browse files
authored
Update typo in ghci error (learnyouahaskell#44)
1 parent 304692b commit 114e104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/starting-out.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h1 style="margin-left:-3px">Starting Out</h1>
102102
What about doing <span class="fixed">5 + "llama"</span> or <span class="fixed">5 == True</span>? Well, if we try the first snippet, we get a big scary error message!
103103
</p>
104104
<pre name="code" class="haskell: ghci">
105-
• No instance for (Num [Char]) arising from a use of ‘+’
105+
• No instance for (Num String) arising from a use of ‘+’
106106
• In the expression: 5 + "llama"
107107
In an equation for ‘it’: it = 5 + "llama"
108108
</pre>

0 commit comments

Comments
 (0)