# coding=utf-8 name = 'subset/2' slug = 'Generiraj vse podmnožice dane množice' description = '''\
subset(Set, Subset)
: množica Subset
je podmnožica od Set
. Ta predikat naj, eno po eno, generira vse veljavne podmnožice.
?- subset([1,2,3], SS). SS = [1,2,3] ; SS = [1,2] ; SS = [1,3] ; SS = [1] ; SS = [2,3] ; SS = [2] ; SS = [3] ; SS = [].''' hint = {}