Open
Description
Bug Report
Description
A few code strings in this chapter are not backed by the implementation dependent code under code/
.
Changing these to rely on the language specific implementation will improve consistency with the other code (for example if length()
is not a function in another language).
Screenshots
The aforementioned strings have been marked up here:
For Algorithm Archive Developers
- The bug can be reproducedThe bug can be fixed (if not, please explain why not in a comment below)There is a timeline to fix the bugThe bug has been fixed (Please link the PR)
Activity
leios commentedon Aug 24, 2021
I don't really know how to solve this issue. We could have a language method at the start of the file that allows us to create html variables or something that we then slot in to the text?
So like
Sorry it's hand-wavey. Still thinking about it!
jiegillet commentedon Aug 31, 2021
Honestly, I would probably change the text to say something like:
Because depending on the language, that line you reference may look vastly different. I'm working on a Haskell version and it's not there at all.
leios commentedon Aug 31, 2021
To be honest, it said that originally, then I changed it due to feedback. I am happy to change it back