Skip to content

Commit

Permalink
use backticks for rem & mod in table
Browse files Browse the repository at this point in the history
  • Loading branch information
GoNZooo committed Dec 10, 2021
1 parent 7883db6 commit 6faf04d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions basics/01-values-and-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,22 +188,22 @@ an individual basis in terms of whether or not it makes the code more or less ea

### Boolean & arithmetic operations

| Math | Haskell | Notes |
| :-----: | :-----: | :-------------------------------------: |
| + | + | |
| - | - | |
| * | * | |
| / | / | |
| > | > | |
| < | < | |
|| >= | |
|| <= | |
| = | == | |
|| /= | |
| xⁿ | x ^ n | x is numeric, n is integral |
| xⁿ | x ** n | x & n are both floating point values |
| x mod n | x rem n | x and n are integral [0] |
| x mod n | x mod n | x and n are integral [0] |
| Math | Haskell | Notes |
| :-----: | :-----: | :-------------------------------------: |
| + | + | |
| - | - | |
| * | * | |
| / | / | |
| > | > | |
| < | < | |
|| >= | |
|| <= | |
| = | == | |
|| /= | |
| xⁿ | x ^ n | x is numeric, n is integral |
| xⁿ | x ** n | x & n are both floating point values |
| x mod n | x `rem` n | x and n are integral [0] |
| x mod n | x `mod` n | x and n are integral [0] |

| Math | C | Haskell | Notes |
| :--: | :-: | :-----: | :-----------------: |
Expand Down

0 comments on commit 6faf04d

Please sign in to comment.