Skip to content

Commit

Permalink
docs: add redef keyword (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaschdoc authored Aug 26, 2024
1 parent 91d902f commit a5e5709
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/page/Principles.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,9 @@ class Principles extends Component {
</p>
</Principle>

<Principle name="Explicit Override">
A type class instance that wants to override a default implementation must explicitly do
so using the <code>override</code> keyword. This ensures that there are no dangling overrides,
<Principle name="Explicit Override / Redefinition">
A type class instance that wants to override / redefine a default implementation must explicitly do
so using the <code>redef</code> keyword. This ensures that there are no dangling overrides / redefinitions,
i.e. functions definitions that do not match any signature of the type class.
</Principle>

Expand Down

0 comments on commit a5e5709

Please sign in to comment.