id = 144 name = 'getdigits/2' slug = 'remove non-numeric elements from a list' description = '''\

getdigits(L, DL): the list DL contains the numeric elements of L, in the same order as in the original list.

  ?- getdigits([2,3,e,-,4,b], DL).
    DL = [2,3,4].
''' hint = {}