//
//  SpelledPitch.swift
//  PitchSpellingTools
//
//  Created by James Bean on 5/1/16.
//
//

import Foundation
import Pitch

/**
 Structure that extends a `Pitch` with a `PitchSpelling`.
 */
public class SpelledPitch: Pitch {
    
    public let spelling: PitchSpelling
    
    public init(pitch: Pitch, spelling: PitchSpelling) {
        self.spelling = spelling
        super.init(pitch: pitch)
    }
}

/*
extension SpelledPitch: Equatable { }

public func == (lhs: SpelledPitch, rhs: SpelledPitch) -> Bool {
    return lhs.pitch == rhs.pitch
}

extension SpelledPitch: Comparable { }

public func < (lhs: SpelledPitch, rhs: SpelledPitch) -> Bool {
    return lhs.pitch < rhs.pitch
}
*/
//
//  SpelledPitch.swift
//  PitchSpellingTools
//
//  Created by James Bean on 5/1/16.
//
//

import Foundation
import Pitch

/**
 Structure that extends a `Pitch` with a `PitchSpelling`.
 */
public class SpelledPitch: Pitch {
    
    private let spelling: PitchSpelling
    
    /**
     Create a `SpelledPitch` with a given `pitch` and `spelling`.
     */
    public init(pitch: Pitch, spelling: PitchSpelling) {
        self.spelling = spelling
        super.init(pitch: pitch)
    }
}

Remove dead code, make spelling private
Remove dead code, make spelling private
