move unescape_nit to stdlib
lib: add String::escape_more_to_c

Signed-off-by: Jean Privat <jean@pryen.org>
lib: add Collection::has_all

Signed-off-by: Jean Privat <jean@pryen.org>
nitc: remove has_all from partialorder
lib: redef Set#==

Signed-off-by: Jean Privat <jean@pryen.org>
test: add test_set.nit

Signed-off-by: Jean Privat <jean@pryen.org>
Merge branch 'libs'
lib: promote implementations in NaiveCollection to Collection

There is not a strong reason to have a class NaiveCollection with default
implementations, Collection should be the class to do it.

Signed-off-by: Jean Privat <jean@pryen.org>
lib: remove the now useless class NaiveCollection

Signed-off-by: Jean Privat <jean@pryen.org>
lib: doc of Collection

Signed-off-by: Jean Privat <jean@pryen.org>
lib: promote AbstractArray#== to SequenceRead

Signed-off-by: Jean Privat <jean@pryen.org>
lib: remove the module hash, introduce services in kernel

Because hash is strongly coupled with ==, and == is introduced in kernel,
having hash also introduced in kernel will help having a correct
implementation of hash when == is redefined

Signed-off-by: Jean Privat <jean@pryen.org>
lib: redefine hash in Sequence and Set

Signed-off-by: Jean Privat <jean@pryen.org>
tests: test hash in test_seq

Signed-off-by: Jean Privat <jean@pryen.org>
test: add test_seq

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update tests with abort in kernel

to update the line numbers

Signed-off-by: Jean Privat <jean@pryen.org>