Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 581caaa

Browse files
Link generics documentation that isn't deprecated (#447)
1 parent 26da1f4 commit 581caaa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎errors/CannotDerive.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ list, however, you'll need to find another way of obtaining an instance.
1818
## Fix
1919

2020
- You will need to write an instance yourself.
21-
- For many classes (including `Show`), you can use [Generics][] to obtain the
22-
instances you want with less effort.
21+
- For many classes, you can use [Generic][] to obtain the
22+
instances you want with less effort. For example you can use [Data.Show.Generic][] to derive the Show instance using Generic.
2323

24-
[Generics]: https://pursuit.purescript.org/packages/purescript-generics-rep
24+
[Generic]: https://pursuit.purescript.org/packages/purescript-prelude/6.0.1/docs/Data.Generic.Rep
2525
[derivable]: https://github.com/purescript/documentation/blob/master/language/Type-Classes.md#type-class-deriving
26+
[Data.Show.Generic]: https://pursuit.purescript.org/packages/purescript-prelude/6.0.1/docs/Data.Show.Generic

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /