         guard bits.characters.count % 5 == 0 else { return nil }
         // bits = 1101000100101011011111010111100110010110101101101110001
         
-        let (lat, lon) = bits.characters.enumerated().reduce(([Character](),[Character]())) {
+        let (lat, lon) = bits.characters.enumerated().reduce(([Character](), [Character]())) {
             var result = $0
             if $1.0 % 2 == 0 {
                 result.1.append($1.1)

    }
}

private func + (left: Array<String>, right: String) -> Array<String> {
    var arr = left
    arr.append(right)
    return arr
}

private func << (left: Array<String>, right: String) -> Array<String> {
    var arr = left
    var s = arr.popLast()!
    s += right

    func geohash(length: Int) -> String {
        return Geohash.encode(latitude: latitude, longitude: longitude, length: length)
    }
    
    func geohash(precision: Geohash.Precision) -> String {
        return geohash(length: precision.rawValue)
    }
}

#endif
