on develop help sign in
Removing Float usage
f8dc159Brendan Hay
gen/src/Gen/Syntax.hs+1−1
@@ -541,7 +541,7 @@ externalLit = \case
541 Date -> TyCon "Day"
541 Date -> TyCon "Day"
542 DateTime -> TyCon "UTCTime"
542 DateTime -> TyCon "UTCTime"
543 Nat -> TyCon "Natural"
543 Nat -> TyCon "Natural"
544− Float -> TyCon "Float"
544+ Float -> TyCon "Double"
545 Double -> TyCon "Double"
545 Double -> TyCon "Double"
546 Byte -> TyCon "Word8"
546 Byte -> TyCon "Word8"
547 UInt32 -> TyCon "Word32"
547 UInt32 -> TyCon "Word32"
gogol-analytics/gen/Network/Google/Analytics/Types/Product.hs+1−1
@@ -6962,7 +6962,7 @@ goaCreated
6962 mapping _DateTime
6962 mapping _DateTime
6963
6963
6964-- | Goal value.
6964-- | Goal value.
6965−goaValue :: Lens' Goal (Maybe Float)
6965+goaValue :: Lens' Goal (Maybe Double)
6966goaValue
6966goaValue
6967 = lens _goaValue (\ s a -> s{_goaValue = a}) .
6967 = lens _goaValue (\ s a -> s{_goaValue = a}) .
6968 mapping _Coerce
6968 mapping _Coerce
gogol-compute/gen/Network/Google/Compute/Types/Product.hs+4−4
@@ -3165,7 +3165,7 @@ tpId
3165-- pool in the \"force\" mode, where traffic will be spread to the healthy
3165-- pool in the \"force\" mode, where traffic will be spread to the healthy
3166-- instances with the best effort, or to all instances when no instance is
3166-- instances with the best effort, or to all instances when no instance is
3167-- healthy.
3167-- healthy.
3168−tpFailoverRatio :: Lens' TargetPool (Maybe Float)
3168+tpFailoverRatio :: Lens' TargetPool (Maybe Double)
3169tpFailoverRatio
3169tpFailoverRatio
3170 = lens _tpFailoverRatio
3170 = lens _tpFailoverRatio
3171 (\ s a -> s{_tpFailoverRatio = a})
3171 (\ s a -> s{_tpFailoverRatio = a})
@@ -8476,7 +8476,7 @@ bBalancingMode
8476-- | Used when balancingMode is UTILIZATION. This ratio defines the CPU
8476-- | Used when balancingMode is UTILIZATION. This ratio defines the CPU
8477-- utilization target for the group. The default is 0.8. Valid range is
8477-- utilization target for the group. The default is 0.8. Valid range is
8478-- [0.0, 1.0].
8478-- [0.0, 1.0].
8479−bMaxUtilization :: Lens' Backend (Maybe Float)
8479+bMaxUtilization :: Lens' Backend (Maybe Double)
8480bMaxUtilization
8480bMaxUtilization
8481 = lens _bMaxUtilization
8481 = lens _bMaxUtilization
8482 (\ s a -> s{_bMaxUtilization = a})
8482 (\ s a -> s{_bMaxUtilization = a})
@@ -8493,7 +8493,7 @@ bMaxRate
8493-- | The max RPS that a single backed instance can handle. This is used to
8493-- | The max RPS that a single backed instance can handle. This is used to
8494-- calculate the capacity of the group. Can be used in either balancing
8494-- calculate the capacity of the group. Can be used in either balancing
8495-- mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
8495-- mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
8496−bMaxRatePerInstance :: Lens' Backend (Maybe Float)
8496+bMaxRatePerInstance :: Lens' Backend (Maybe Double)
8497bMaxRatePerInstance
8497bMaxRatePerInstance
8498 = lens _bMaxRatePerInstance
8498 = lens _bMaxRatePerInstance
8499 (\ s a -> s{_bMaxRatePerInstance = a})
8499 (\ s a -> s{_bMaxRatePerInstance = a})
@@ -8510,7 +8510,7 @@ bDescription
8510-- serve up to 100% of its configured CPU or RPS (depending on
8510-- serve up to 100% of its configured CPU or RPS (depending on
8511-- balancingMode). A setting of 0 means the group is completely drained,
8511-- balancingMode). A setting of 0 means the group is completely drained,
8512-- offering 0% of its available CPU or RPS. Valid range is [0.0,1.0].
8512-- offering 0% of its available CPU or RPS. Valid range is [0.0,1.0].
8513−bCapacityScaler :: Lens' Backend (Maybe Float)
8513+bCapacityScaler :: Lens' Backend (Maybe Double)
8514bCapacityScaler
8514bCapacityScaler
8515 = lens _bCapacityScaler
8515 = lens _bCapacityScaler
8516 (\ s a -> s{_bCapacityScaler = a})
8516 (\ s a -> s{_bCapacityScaler = a})
gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/SetBackup.hs+1−1
@@ -116,7 +116,7 @@ tpsbPayload
116 = lens _tpsbPayload (\ s a -> s{_tpsbPayload = a})
116 = lens _tpsbPayload (\ s a -> s{_tpsbPayload = a})
117
117
118-- | New failoverRatio value for the containing target pool.
118-- | New failoverRatio value for the containing target pool.
119−tpsbFailoverRatio :: Lens' TargetPoolsSetBackup (Maybe Float)
119+tpsbFailoverRatio :: Lens' TargetPoolsSetBackup (Maybe Double)
120tpsbFailoverRatio
120tpsbFailoverRatio
121 = lens _tpsbFailoverRatio
121 = lens _tpsbFailoverRatio
122 (\ s a -> s{_tpsbFailoverRatio = a})
122 (\ s a -> s{_tpsbFailoverRatio = a})
gogol-dataflow/gen/Network/Google/Dataflow/Types/Product.hs+1−1
@@ -4897,7 +4897,7 @@ apRemainingTime
4897
4897
4898-- | Completion as percentage of the work, from 0.0 (beginning, nothing
4898-- | Completion as percentage of the work, from 0.0 (beginning, nothing
4899-- complete), to 1.0 (end of the work range, entire WorkItem complete).
4899-- complete), to 1.0 (end of the work range, entire WorkItem complete).
4900−apPercentComplete :: Lens' ApproximateProgress (Maybe Float)
4900+apPercentComplete :: Lens' ApproximateProgress (Maybe Double)
4901apPercentComplete
4901apPercentComplete
4902 = lens _apPercentComplete
4902 = lens _apPercentComplete
4903 (\ s a -> s{_apPercentComplete = a})
4903 (\ s a -> s{_apPercentComplete = a})
gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Product.hs+3−3
@@ -7076,7 +7076,7 @@ creCustomKeyValues
7076-- | Creative video duration in seconds. This is a read-only field.
7076-- | Creative video duration in seconds. This is a read-only field.
7077-- Applicable to the following creative types: INSTREAM_VIDEO, all
7077-- Applicable to the following creative types: INSTREAM_VIDEO, all
7078-- RICH_MEDIA, and all VPAID.
7078-- RICH_MEDIA, and all VPAID.
7079−creVideoDuration :: Lens' Creative (Maybe Float)
7079+creVideoDuration :: Lens' Creative (Maybe Double)
7080creVideoDuration
7080creVideoDuration
7081 = lens _creVideoDuration
7081 = lens _creVideoDuration
7082 (\ s a -> s{_creVideoDuration = a})
7082 (\ s a -> s{_creVideoDuration = a})
@@ -15894,7 +15894,7 @@ caaPushdown
15894-- | Detected video duration for video asset. This is a read-only field.
15894-- | Detected video duration for video asset. This is a read-only field.
15895-- Applicable to the following creative types: INSTREAM_VIDEO and all
15895-- Applicable to the following creative types: INSTREAM_VIDEO and all
15896-- VPAID.
15896-- VPAID.
15897−caaVideoDuration :: Lens' CreativeAsset (Maybe Float)
15897+caaVideoDuration :: Lens' CreativeAsset (Maybe Double)
15898caaVideoDuration
15898caaVideoDuration
15899 = lens _caaVideoDuration
15899 = lens _caaVideoDuration
15900 (\ s a -> s{_caaVideoDuration = a})
15900 (\ s a -> s{_caaVideoDuration = a})
@@ -15929,7 +15929,7 @@ caaFlashVersion
15929-- only applicable when the asset pushdown field is true, the offsets are
15929-- only applicable when the asset pushdown field is true, the offsets are
15930-- 0, the collapsedSize.width matches size.width, and the
15930-- 0, the collapsedSize.width matches size.width, and the
15931-- collapsedSize.height is less than size.height.
15931-- collapsedSize.height is less than size.height.
15932−caaPushdownDuration :: Lens' CreativeAsset (Maybe Float)
15932+caaPushdownDuration :: Lens' CreativeAsset (Maybe Double)
15933caaPushdownDuration
15933caaPushdownDuration
15934 = lens _caaPushdownDuration
15934 = lens _caaPushdownDuration
15935 (\ s a -> s{_caaPushdownDuration = a})
15935 (\ s a -> s{_caaPushdownDuration = a})
gogol-drive/gen/Network/Google/Drive/Types/Product.hs+5−5
@@ -2767,7 +2767,7 @@ fimmSubjectDistance
2767
2767
2768-- | The smallest f-number of the lens at the focal length used to create the
2768-- | The smallest f-number of the lens at the focal length used to create the
2769-- photo (APEX value).
2769-- photo (APEX value).
2770−fimmMaxApertureValue :: Lens' FileImageMediaMetadata (Maybe Float)
2770+fimmMaxApertureValue :: Lens' FileImageMediaMetadata (Maybe Double)
2771fimmMaxApertureValue
2771fimmMaxApertureValue
2772 = lens _fimmMaxApertureValue
2772 = lens _fimmMaxApertureValue
2773 (\ s a -> s{_fimmMaxApertureValue = a})
2773 (\ s a -> s{_fimmMaxApertureValue = a})
@@ -2785,13 +2785,13 @@ fimmLocation
2785 = lens _fimmLocation (\ s a -> s{_fimmLocation = a})
2785 = lens _fimmLocation (\ s a -> s{_fimmLocation = a})
2786
2786
2787-- | The aperture used to create the photo (f-number).
2787-- | The aperture used to create the photo (f-number).
2788−fimmAperture :: Lens' FileImageMediaMetadata (Maybe Float)
2788+fimmAperture :: Lens' FileImageMediaMetadata (Maybe Double)
2789fimmAperture
2789fimmAperture
2790 = lens _fimmAperture (\ s a -> s{_fimmAperture = a})
2790 = lens _fimmAperture (\ s a -> s{_fimmAperture = a})
2791 . mapping _Coerce
2791 . mapping _Coerce
2792
2792
2793-- | The focal length used to create the photo, in millimeters.
2793-- | The focal length used to create the photo, in millimeters.
2794−fimmFocalLength :: Lens' FileImageMediaMetadata (Maybe Float)
2794+fimmFocalLength :: Lens' FileImageMediaMetadata (Maybe Double)
2795fimmFocalLength
2795fimmFocalLength
2796 = lens _fimmFocalLength
2796 = lens _fimmFocalLength
2797 (\ s a -> s{_fimmFocalLength = a})
2797 (\ s a -> s{_fimmFocalLength = a})
@@ -2810,7 +2810,7 @@ fimmWidth
2810 mapping _Coerce
2810 mapping _Coerce
2811
2811
2812-- | The length of the exposure, in seconds.
2812-- | The length of the exposure, in seconds.
2813−fimmExposureTime :: Lens' FileImageMediaMetadata (Maybe Float)
2813+fimmExposureTime :: Lens' FileImageMediaMetadata (Maybe Double)
2814fimmExposureTime
2814fimmExposureTime
2815 = lens _fimmExposureTime
2815 = lens _fimmExposureTime
2816 (\ s a -> s{_fimmExposureTime = a})
2816 (\ s a -> s{_fimmExposureTime = a})
@@ -2843,7 +2843,7 @@ fimmFlashUsed
2843 (\ s a -> s{_fimmFlashUsed = a})
2843 (\ s a -> s{_fimmFlashUsed = a})
2844
2844
2845-- | The exposure bias of the photo (APEX value).
2845-- | The exposure bias of the photo (APEX value).
2846−fimmExposureBias :: Lens' FileImageMediaMetadata (Maybe Float)
2846+fimmExposureBias :: Lens' FileImageMediaMetadata (Maybe Double)
2847fimmExposureBias
2847fimmExposureBias
2848 = lens _fimmExposureBias
2848 = lens _fimmExposureBias
2849 (\ s a -> s{_fimmExposureBias = a})
2849 (\ s a -> s{_fimmExposureBias = a})
gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types/Product.hs+1−1
@@ -287,7 +287,7 @@ rcLang = lens _rcLang (\ s a -> s{_rcLang = a})
287
287
288-- | Percentage likelihood that this candidate is the unique matching entity.
288-- | Percentage likelihood that this candidate is the unique matching entity.
289-- Value will be between 0.0 and 1.0
289-- Value will be between 0.0 and 1.0
290−rcConfidence :: Lens' ReconcileCandidate (Maybe Float)
290+rcConfidence :: Lens' ReconcileCandidate (Maybe Double)
291rcConfidence
291rcConfidence
292 = lens _rcConfidence (\ s a -> s{_rcConfidence = a})
292 = lens _rcConfidence (\ s a -> s{_rcConfidence = a})
293 . mapping _Coerce
293 . mapping _Coerce
gogol-freebasesearch/gen/Network/Google/Method/Freebase/Reconcile.hs+1−1
@@ -111,7 +111,7 @@ rLang
111 _Coerce
111 _Coerce
112
112
113-- | Required confidence for a candidate to match. Must be between .5 and 1.0
113-- | Required confidence for a candidate to match. Must be between .5 and 1.0
114−rConfidence :: Lens' Reconcile Float
114+rConfidence :: Lens' Reconcile Double
115rConfidence
115rConfidence
116 = lens _rConfidence (\ s a -> s{_rConfidence = a}) .
116 = lens _rConfidence (\ s a -> s{_rConfidence = a}) .
117 _Coerce
117 _Coerce
gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+1−1
@@ -1648,7 +1648,7 @@ cbRange = lens _cbRange (\ s a -> s{_cbRange = a})
1648
1648
1649-- | The average number of reads which are aligned to each individual
1649-- | The average number of reads which are aligned to each individual
1650-- reference base in this bucket.
1650-- reference base in this bucket.
1651−cbMeanCoverage :: Lens' CoverageBucket (Maybe Float)
1651+cbMeanCoverage :: Lens' CoverageBucket (Maybe Double)
1652cbMeanCoverage
1652cbMeanCoverage
1653 = lens _cbMeanCoverage
1653 = lens _cbMeanCoverage
1654 (\ s a -> s{_cbMeanCoverage = a})
1654 (\ s a -> s{_cbMeanCoverage = a})
gogol-latencytest/gen/Network/Google/LatencyTest/Types/Product.hs+1−1
@@ -85,7 +85,7 @@ doubleValue =
85 , _dvLabel = Nothing
85 , _dvLabel = Nothing
86 }
86 }
87
87
88−dvValue :: Lens' DoubleValue (Maybe Float)
88+dvValue :: Lens' DoubleValue (Maybe Double)
89dvValue
89dvValue
90 = lens _dvValue (\ s a -> s{_dvValue = a}) .
90 = lens _dvValue (\ s a -> s{_dvValue = a}) .
91 mapping _Coerce
91 mapping _Coerce
gogol-translate/gen/Network/Google/Translate/Types/Product.hs+1−1
@@ -176,7 +176,7 @@ detectionsResourceItem =
176 }
176 }
177
177
178-- | The confidence of the detection resul of this language.
178-- | The confidence of the detection resul of this language.
179−driConfidence :: Lens' DetectionsResourceItem (Maybe Float)
179+driConfidence :: Lens' DetectionsResourceItem (Maybe Double)
180driConfidence
180driConfidence
181 = lens _driConfidence
181 = lens _driConfidence
182 (\ s a -> s{_driConfidence = a})
182 (\ s a -> s{_driConfidence = a})