ff = x => atom(x) ? x : true ? ff(car(x)) : undefined

assertEqual(ff(list('A', 'B', 'C')), 'A')
