Base.div is always binary numeric arguments (or with third optional argument), while for HTML always (one?) string. Maybe I have “no idea”, but does it not save us if div for HTML is always a unary function? I’m thinking of the practical implications of specializing. I looked at your link to a much longer discussion than I have time for now… and from there a link to:
I just know Julia for web programming, is also very important, so I hate to have this dilemma, and would like the most natural div
(without needing macros or prefixing). Is this about mostly about the help text for div, that can’t be(?) extended. Can we allow for some impurity here?Would it make something slower?
SInce ÷ points to div (also for the help text), you could do very confusing…:
julia> ÷("text for div")
text for div
About the help text, should it be “x ÷ y” rather than current “÷(x, y)”?