def foldl(list, &block)
      return '' if list.empty?
      list[1..-1].inject(list.first, &block)
    end
def foldl(list, &block)
      return '' if list.empty?
      list[1..-1].inject(list.first, &block)
    end
Lisp style fold left where the first element builds the basis for
 an inject.