def removal_publication_retain
import bendvy-ecs-core@0.1.0.4/ordinary_reader_stream_parameter.bend as OrdinaryReaderStreamParameterimport Base
480def removal_publication_retain(~P:Data,keep:Bool,publication:P,rest:List<&2,P>) -> List<&2,P>:
481 match keep:
482 case True{}:publication <> rest
483 case False{}:rest