rage / programming-23

https://programming-23.mooc.fi/
64 stars 24 forks source link

Incorrect brackets used in "Half open intervals" #52

Open tlonsbury opened 9 months ago

tlonsbury commented 9 months ago

In the "Half open intervals" info text box (part 3, section 2 - Working with strings) the notation uses 2 square brackets to demonstrate a half open interval. This should be a mix of square and round brackets. The explanation states that in [a,b], a would be included, while b would not. In that case it should be written [a,b).

Path to notation:

gatsby-focus-wrapper > div > div.Layout__SidebarPush-h1dut3-1.ixYNAc > main > div > article > div:nth-child(3) > aside:nth-child(65) > div > p:nth-child(1) > code:nth-child(1)