def wrap(scope, lines, format=BARE_FORMAT):
		"""Wrap a stream of lines in armour.
		
		Takes a stream of lines, for example, the following single line:
		
			Line(1, "Lorem ipsum dolor.")
		
		Or the following multiple lines:
		
			Line(1, "Lorem ipsum")
			Line(2, "dolor")
			Line(3, "sit amet.")
		
		Provides a generator of wrapped lines.  For a single line, the following format is utilized:
		
			{format.single.prefix}{line.stripped}{format.single.suffix}
		
		In the above multi-line example, the following format would be utilized:
		
			{format.multiple.prefix}{line[1].stripped}{format.intra.suffix}
			{format.intra.prefix}{line[2].stripped}{format.intra.suffix}
			{format.intra.prefix}{line[3].stripped}{format.multiple.suffix}
		"""
		
		for line in iterate(lines):
			prefix = suffix = ''
			
			if line.first and line.last:
				prefix = format.single.prefix
				suffix = format.single.suffix
			else:
				prefix = format.multiple.prefix if line.first else format.intra.prefix
				suffix = format.multiple.suffix if line.last else format.intra.suffix
			
			yield line.value.clone(line=prefix + line.value.stripped + suffix, scope=scope + (0 if line.first else format.indent))
Wrap a stream of lines in armour.
		
		Takes a stream of lines, for example, the following single line:
		
			Line(1, "Lorem ipsum dolor.")
		
		Or the following multiple lines:
		
			Line(1, "Lorem ipsum")
			Line(2, "dolor")
			Line(3, "sit amet.")
		
		Provides a generator of wrapped lines.  For a single line, the following format is utilized:
		
			{format.single.prefix}{line.stripped}{format.single.suffix}
		
		In the above multi-line example, the following format would be utilized:
		
			{format.multiple.prefix}{line[1].stripped}{format.intra.suffix}
			{format.intra.prefix}{line[2].stripped}{format.intra.suffix}
			{format.intra.prefix}{line[3].stripped}{format.multiple.suffix}