quoting

Christian S <>
Wed Nov 30 14:15:01 CET 2005


2005/11/30, Bengt Kleberg <>:
> could the names be made more consistent with the existing erlang
> libraries by using something like the names in lists module?
> dropwhile/2, takewhile/2, sub<list>/3 (replace list with binary or set)
>
> and from string module:
> tokens/2
>
>
> bengt, who thinks tokens is a misleading name, but realise that it would
> be really difficult to change.

That's reasonable objections. I was mostly focusing on module
interface, and not so much names.

Via http://www.planeterlang.org/ I noticed the existence of a library
targeting string-use of binaries:

  http://capflam.org/wp-content/files/stream/stream.html

I haven't tried how I like that interface, but at least it is code already
written.



More information about the erlang-questions mailing list