     }
 }
 
-public struct FixRat<I:FixedRationalElement> : FixeRationalType {
+public struct FixRat<I:FixedRationalElement> : FixedRationalType {
     public typealias IntegerLiteralType = Int
     public typealias Element = I
     public var (num, den):(I, I)

    }
}

public typealias Rat = FixRat<Int>

extension FixRat : Codable where Element: Codable {
    public enum CodingKeys : String, CodingKey {

    }
}

public protocol FixedRationalType : RationalType where Element: FixedRationalElement { }

extension FixedRationalType {
    public static var max:Self {
        return Self(+Element.max, 1)
    }
