import { indent } from './indent' ; export function itemize ( ... items ) { return itemizeWith ( '-' , ... items ) ; } export function itemizeWith ( bullet , ... items ) { return items . map ( item => bullet + indent ( item , 2 , 1 ) ) . join ( '\n' ) ; }