data-centric-computing / dcic-public

Repository for (for now) filing bug reports about DCIC.
21 stars 2 forks source link

[DCIC Book]: Closing parenthesis missing in example #38

Closed kishvanchee closed 2 years ago

kishvanchee commented 2 years ago

Contact Details

v.kish.vanchee@gmail.com

Which Web page has the problem?

https://dcic-world.org/2022-01-25/processing-lists.html#%28part._doubles-eg-code%29

What's the problem?

Examples towards the end are missing a ) wherever link is used.

How it is

which we then convert to

my-doubles([list: 3, 5, 2]) is link(3 * 2, my-doubles([list: 5, 2])

Applying this idea across the examples, we get:

my-doubles([list: 3, 5, 2]) is link(3 * 2, my-doubles([list: 5, 2])
my-doubles([list:    5, 2]) is link(5 * 2, my-doubles([list: 2])
my-doubles([list:       2]) is link(2 * 2, my-doubles([list: ])
my-doubles([list:        ]) is [list:             ]

Correction

which we then convert to

my-doubles([list: 3, 5, 2]) is link(3 * 2, my-doubles([list: 5, 2]))

Applying this idea across the examples, we get:

my-doubles([list: 3, 5, 2]) is link(3 * 2, my-doubles([list: 5, 2]))
my-doubles([list:    5, 2]) is link(5 * 2, my-doubles([list: 2]))
my-doubles([list:       2]) is link(2 * 2, my-doubles([list: ]))
my-doubles([list:        ]) is [list:             ]

What browser are you seeing the problem on?

Firefox

kfisler commented 2 years ago

Fixed. Will appear in release later this weekend.