lib/core: add protocols for decorator streams
authorLucas Bajolet <lucas.bajolet@gmail.com>
Wed, 9 May 2018 17:18:51 +0000 (13:18 -0400)
committerLucas Bajolet <lucas.bajolet@gmail.com>
Fri, 11 May 2018 14:26:43 +0000 (10:26 -0400)
commit6979f69eeaa1673077a40b4af0679c5d087bd748
tree29abbac19ebe92f6e3726a2c18268290bb474183
parenta5b6fa9fe37703f748094d663fb6dc88c0558b70
lib/core: add protocols for decorator streams

Protocol are a class of streams designed to be decorators over others
and provide a high-level interface to protocols.

Signed-off-by: Lucas Bajolet <lucas.bajolet@gmail.com>
lib/core/core.nit
lib/core/protocol.nit [new file with mode: 0644]