Skip to content

Commit 72b012f

Browse files
committed
Fix the description of NamedDefaults
1 parent 12e17d9 commit 72b012f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/ghc-9.12-cabal-3.14/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ You can now apply this mechanism to other typeclasses, like:
4343
default IsString (Text, String)
4444
```
4545

46-
Which means that in a module with [`OverloadedStrings`][OverloadedStrings], string literals `"like this"` will default to [`Text`][Text] instead of a vague polymorphic type.
46+
Which means that in a module with [`OverloadedStrings`][OverloadedStrings], string literals `"like this"` will default to [`Text`][Text]
47+
instead of triggering an error about a polymorphic type.
4748

4849
### Base Library
4950

0 commit comments

Comments
 (0)