Skip to content

Commit 581caaa

Browse files
authored
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)