On 2014-01-10 09:29, Andrei Alexandrescu wrote:
That's a documentation issue. We've pursued generalization of string algorithms with good result. As such indexOf is susceptible for generalization. However, the justification functions are unlikely to be useful for other data types because most don't have a notion of "filler" object.
They might not have a default "filler" object but you can pass the "filler" as an argument.
-- /Jacob Carlborg
