core: add `Sequence::get_or_default` and `get_or_null`
authorJean Privat <jean@pryen.org>
Mon, 4 Dec 2017 13:59:27 +0000 (08:59 -0500)
committerJean Privat <jean@pryen.org>
Wed, 20 Dec 2017 14:06:29 +0000 (09:06 -0500)
commitd8a1608160263ecc43f5623e9cefe860a499042d
treec9233eb82118ba026c7d758fd4f5c644d88e305e
parentf1bc8aa1702044b7bb63023cc84f950bd57b3522
core: add `Sequence::get_or_default` and `get_or_null`

Signed-off-by: Jean Privat <jean@pryen.org>
lib/core/collection/abstract_collection.nit