 }
 
 extension Attributes {
-    
-    /// convenience method for comparing attributes on `paragraph` vs `defaultParagrah`
-    private func paraStyleCompare< U:Equatable>(trans:NSParagraphStyle->U) -> U?{
-        guard let paragraph = paragraph else{
-            return nil
-        }
-        let x = trans(paragraph)
-        let y = trans(Attributes.defaultParagraph)
-        return (x == y) ? nil : x
-    }
-    
+
     init(rawAttributes attributes: RawAttributes) {
         self.backgroundColor = attributes[NSBackgroundColorAttributeName] as? UIColor
         self.baseline = attributes[NSBaselineOffsetAttributeName] as? Float

    }
    
    
    private func retrieveParagraph() -> NSMutableParagraphStyle?{
        if !isAnyNotNil(leading, alignment, lineBreakMode, lineHeightMultiplier,
            paragraphSpacingAfter, paragraphSpacingBefore, headIndent, tailIndent,
            firstLineHeadIndent, minimumLineHeight, maximumLineHeight, hyphenationFactor,

        }
        return paragraph
    }
}


