[m-dev.] Contribution: Pretty Printing Library
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Apr 13 03:15:08 AEST 2000
On 12-Apr-2000, Ralph Becket <rbeck at microsoft.com> wrote:
> I think split_string/2 is sufficiently useful that it should go
> into the library. Perhaps it would be better to generalise it
> to accept, e.g. split_string(String, char__is_whitespace)?
Both of those suggestions sound good to me.
The obvious place for it to go is in the string module,
but the name `split_string' is probably not a good choice,
since it would lead to confusion with the existing
`string__split' predicate. Perhaps `string__words'
would be a better name.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list