lib/string: StringCharView is no more comparable
authorJean Privat <jean@pryen.org>
Fri, 4 Apr 2014 12:57:12 +0000 (08:57 -0400)
committerJean Privat <jean@pryen.org>
Fri, 4 Apr 2014 18:16:08 +0000 (14:16 -0400)
commit70b0fcf9f487c03ef3a556c2ab97734633461e55
tree5fb4a26721e4da42e39b7562f1047d4a7b92f351
parentb3b588de2549ad5f744dd3ab6a3cba3f3fb06257
lib/string: StringCharView is no more comparable

Comparing text has only a clear meaning on a text, not on a sequence of
char.

Basically, I think that StringCharView should be private because

* it simplifies the API ; and one wants to aim a simple API for the Text class
* there should be no real services that a StringCharView can do but a
  Sequence[Char] cannot; thus no real gain to type things with the former

Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/string.nit