name = 'joindigits/2' slug = 'join adjacent numbers in a list' description = '''\

joindigits(L, NL): the list NL is obtained from L by arbitrarily joining neighboring digits. Your code should generate all valid solutions.

?- joindigits([3,2,4], NL).
  NL = [324] ;
  NL = [32,4] ;
  NL = [3,24] ;
  NL = [3,2,4].
''' hint = {}