Mediaeval literature#Types of writing