From 6faf04dedd64061745f7afcfea48f3141d2ed69a Mon Sep 17 00:00:00 2001 From: Rickard Andersson Date: Fri, 10 Dec 2021 23:22:44 +0200 Subject: [PATCH] use backticks for rem & mod in table --- basics/01-values-and-functions.md | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/basics/01-values-and-functions.md b/basics/01-values-and-functions.md index d4e4079..88e506e 100644 --- a/basics/01-values-and-functions.md +++ b/basics/01-values-and-functions.md @@ -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 | | :--: | :-: | :-----: | :-----------------: |