@@ -229,7 +229,7 @@ instance (Atomable a) => AtomableG (K1 c a) where
230 tCons = PrimitiveTypeConstructor primitiveATypeName primitiveAType
230 tCons = PrimitiveTypeConstructor primitiveATypeName primitiveAType
231 primitiveAType = toAtomType (Proxy :: Proxy a)
231 primitiveAType = toAtomType (Proxy :: Proxy a)
232− primitiveATypeName = fromMaybe (error ("primitive type missing: " ++ show primitiveAType)) (foldr (\(PrimitiveTypeConstructorDef name typ, _) _ -> if typ == primitiveAType then Just name else Nothing) Nothing primitiveTypeConstructorMapping)
232+ primitiveATypeName = fromMaybe (error ("primitive type missing: " ++ show primitiveAType)) (foldr (\(PrimitiveTypeConstructorDef name typ, _) acc -> if typ == primitiveAType then Just name else acc) Nothing primitiveTypeConstructorMapping)
234instance AtomableG U1 where
234instance AtomableG U1 where
235 toAtomG = undefined
235 toAtomG = undefined