Skip to content

Commit f147d0f

Browse files
committed
MathML
1 parent c250ee2 commit f147d0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source_md/starting-out.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ ghci> triangles = [ (a,b,c) | c <- [1..10], a <- [1..10], b <- [1..10] ]
884884
We're just drawing from three lists and our output function is combining them into a triple.
885885
If you evaluate that by typing out `triangles` in GHCi, you'll get a list of all possible triangles with sides under or equal to 10.
886886
Next, we'll add a condition that they all have to be right triangles.
887-
We'll also modify this function by taking into consideration that side *a* isn't larger than the hypotenuse and that side *b* isn't larger than side *a*.
887+
We'll also modify this function by taking into consideration that side $b$ isn't larger than the hypotenuse and that side $a$ isn't larger than side $b$.
888888

889889
```{.haskell: .ghci}
890890
ghci> rightTriangles = [ (a,b,c) | c <- [1..10], a <- [1..c], b <- [1..a], a^2 + b^2 == c^2]

0 commit comments

Comments
 (0)