documentation
use BatList.map for tail recursive map