Extract pretty_list
pretty_list in hs