Skip to content

Commit b7c4670

Browse files
committed
Merge pull request #36 from mjgpy3/purscript_1368
Double backtick Remainder law so that nested backticks are code
2 parents 8d6cd04 + 85d0cf6 commit b7c4670

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/Prelude.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ multiplication, division, and modulo (division remainder) operations.
634634
Instances must satisfy the following law in addition to the `Semiring`
635635
laws:
636636

637-
- Remainder: `a / b * b + (a `mod` b) = a`
637+
- Remainder: ``a / b * b + (a `mod` b) = a``
638638

639639
##### Instances
640640
``` purescript

src/Prelude.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ foreign import numSub :: Number -> Number -> Number
515515
-- | Instances must satisfy the following law in addition to the `Semiring`
516516
-- | laws:
517517
-- |
518-
-- | - Remainder: `a / b * b + (a `mod` b) = a`
518+
-- | - Remainder: ``a / b * b + (a `mod` b) = a``
519519
class (Semiring a) <= ModuloSemiring a where
520520
div :: a -> a -> a
521521
mod :: a -> a -> a

0 commit comments

Comments
 (0)