on develop help sign in
Removing Float usage
commitf8dc1592f36cff4c8318f84dcaa5e45313786480 authorBrendan Hay <brendan.g.hay@gmail.com> dateSat 24 Oct 2015, 09:09 (11 years ago) parent90e8f83
12 files changed+21−21
gen/src/Gen/Syntax.hs+1−1 gogol-analytics/gen/Network/Google/Analytics/Types/Product.hs+1−1 gogol-compute/gen/Network/Google/Compute/Types/Product.hs+4−4 gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/SetBackup.hs+1−1 gogol-dataflow/gen/Network/Google/Dataflow/Types/Product.hs+1−1 gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Product.hs+3−3 gogol-drive/gen/Network/Google/Drive/Types/Product.hs+5−5 gogol-freebasesearch/gen/Network/Google/FreebaseSearch/Types/Product.hs+1−1 gogol-freebasesearch/gen/Network/Google/Method/Freebase/Reconcile.hs+1−1 gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+1−1 gogol-latencytest/gen/Network/Google/LatencyTest/Types/Product.hs+1−1 gogol-translate/gen/Network/Google/Translate/Types/Product.hs+1−1
gen/src/Gen/Syntax.hs+1−1
@@ -541,7 +541,7 @@ externalLit = \case
541541 Date -> TyCon "Day"
542542 DateTime -> TyCon "UTCTime"
543543 Nat -> TyCon "Natural"
544− Float -> TyCon "Float"
544+ Float -> TyCon "Double"
545545 Double -> TyCon "Double"
546546 Byte -> TyCon "Word8"
547547 UInt32 -> TyCon "Word32"
gogol-analytics/gen/Network/Google/Analytics/Types/Product.hs+1−1
@@ -6962,7 +6962,7 @@ goaCreated
69626962 mapping _DateTime
69636963
69646964-- | Goal value.
6965−goaValue :: Lens' Goal (Maybe Float)
6965+goaValue :: Lens' Goal (Maybe Double)
69666966goaValue
69676967 = lens _goaValue (\ s a -> s{_goaValue = a}) .
69686968 mapping _Coerce
gogol-compute/gen/Network/Google/Compute/Types/Product.hs+4−4
@@ -3165,7 +3165,7 @@ tpId
31653165-- pool in the \"force\" mode, where traffic will be spread to the healthy
31663166-- instances with the best effort, or to all instances when no instance is
31673167-- healthy.
3168−tpFailoverRatio :: Lens' TargetPool (Maybe Float)
3168+tpFailoverRatio :: Lens' TargetPool (Maybe Double)
31693169tpFailoverRatio
31703170 = lens _tpFailoverRatio
31713171 (\ s a -> s{_tpFailoverRatio = a})
@@ -8476,7 +8476,7 @@ bBalancingMode
84768476-- | Used when balancingMode is UTILIZATION. This ratio defines the CPU
84778477-- utilization target for the group. The default is 0.8. Valid range is
84788478-- [0.0, 1.0].
8479−bMaxUtilization :: Lens' Backend (Maybe Float)
8479+bMaxUtilization :: Lens' Backend (Maybe Double)
84808480bMaxUtilization
84818481 = lens _bMaxUtilization
84828482 (\ s a -> s{_bMaxUtilization = a})
@@ -8493,7 +8493,7 @@ bMaxRate
84938493-- | The max RPS that a single backed instance can handle. This is used to
84948494-- calculate the capacity of the group. Can be used in either balancing
84958495-- mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
8496−bMaxRatePerInstance :: Lens' Backend (Maybe Float)
8496+bMaxRatePerInstance :: Lens' Backend (Maybe Double)
84978497bMaxRatePerInstance
84988498 = lens _bMaxRatePerInstance
84998499 (\ s a -> s{_bMaxRatePerInstance = a})
@@ -8510,7 +8510,7 @@ bDescription
85108510-- serve up to 100% of its configured CPU or RPS (depending on
85118511-- balancingMode). A setting of 0 means the group is completely drained,
85128512-- 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)
85148514bCapacityScaler
85158515 = lens _bCapacityScaler
85168516 (\ s a -> s{_bCapacityScaler = a})
gogol-compute/gen/Network/Google/Resource/Compute/TargetPools/SetBackup.hs+1−1
@@ -116,7 +116,7 @@ tpsbPayload
116116 = lens _tpsbPayload (\ s a -> s{_tpsbPayload = a})
117117
118118-- | New failoverRatio value for the containing target pool.
119−tpsbFailoverRatio :: Lens' TargetPoolsSetBackup (Maybe Float)
119+tpsbFailoverRatio :: Lens' TargetPoolsSetBackup (Maybe Double)
120120tpsbFailoverRatio
121121 = lens _tpsbFailoverRatio
122122 (\ s a -> s{_tpsbFailoverRatio = a})
gogol-dataflow/gen/Network/Google/Dataflow/Types/Product.hs+1−1
@@ -4897,7 +4897,7 @@ apRemainingTime
48974897
48984898-- | Completion as percentage of the work, from 0.0 (beginning, nothing
48994899-- complete), to 1.0 (end of the work range, entire WorkItem complete).
4900−apPercentComplete :: Lens' ApproximateProgress (Maybe Float)
4900+apPercentComplete :: Lens' ApproximateProgress (Maybe Double)
49014901apPercentComplete
49024902 = lens _apPercentComplete
49034903 (\ s a -> s{_apPercentComplete = a})
gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Product.hs+3−3
@@ -7076,7 +7076,7 @@ creCustomKeyValues
70767076-- | Creative video duration in seconds. This is a read-only field.
70777077-- Applicable to the following creative types: INSTREAM_VIDEO, all
70787078-- RICH_MEDIA, and all VPAID.
7079−creVideoDuration :: Lens' Creative (Maybe Float)
7079+creVideoDuration :: Lens' Creative (Maybe Double)
70807080creVideoDuration
70817081 = lens _creVideoDuration
70827082 (\ s a -> s{_creVideoDuration = a})
@@ -15894,7 +15894,7 @@ caaPushdown
1589415894-- | Detected video duration for video asset. This is a read-only field.
1589515895-- Applicable to the following creative types: INSTREAM_VIDEO and all
1589615896-- VPAID.
15897−caaVideoDuration :: Lens' CreativeAsset (Maybe Float)
15897+caaVideoDuration :: Lens' CreativeAsset (Maybe Double)
1589815898caaVideoDuration
1589915899 = lens _caaVideoDuration
1590015900 (\ s a -> s{_caaVideoDuration = a})
@@ -15929,7 +15929,7 @@ caaFlashVersion
1592915929-- only applicable when the asset pushdown field is true, the offsets are
1593015930-- 0, the collapsedSize.width matches size.width, and the
1593115931-- collapsedSize.height is less than size.height.
15932−caaPushdownDuration :: Lens' CreativeAsset (Maybe Float)
15932+caaPushdownDuration :: Lens' CreativeAsset (Maybe Double)
1593315933caaPushdownDuration
1593415934 = lens _caaPushdownDuration
1593515935 (\ s a -> s{_caaPushdownDuration = a})
gogol-drive/gen/Network/Google/Drive/Types/Product.hs+5−5
@@ -2767,7 +2767,7 @@ fimmSubjectDistance
27672767
27682768-- | The smallest f-number of the lens at the focal length used to create the
27692769-- photo (APEX value).
2770−fimmMaxApertureValue :: Lens' FileImageMediaMetadata (Maybe Float)
2770+fimmMaxApertureValue :: Lens' FileImageMediaMetadata (Maybe Double)
27712771fimmMaxApertureValue
27722772 = lens _fimmMaxApertureValue
27732773 (\ s a -> s{_fimmMaxApertureValue = a})
@@ -2785,13 +2785,13 @@ fimmLocation
27852785 = lens _fimmLocation (\ s a -> s{_fimmLocation = a})
27862786
27872787-- | The aperture used to create the photo (f-number).
2788−fimmAperture :: Lens' FileImageMediaMetadata (Maybe Float)
2788+fimmAperture :: Lens' FileImageMediaMetadata (Maybe Double)
27892789fimmAperture
27902790 = lens _fimmAperture (\ s a -> s{_fimmAperture = a})
27912791 . mapping _Coerce
27922792
27932793-- | The focal length used to create the photo, in millimeters.
2794−fimmFocalLength :: Lens' FileImageMediaMetadata (Maybe Float)
2794+fimmFocalLength :: Lens' FileImageMediaMetadata (Maybe Double)
27952795fimmFocalLength
27962796 = lens _fimmFocalLength
27972797 (\ s a -> s{_fimmFocalLength = a})
@@ -2810,7 +2810,7 @@ fimmWidth
28102810 mapping _Coerce
28112811
28122812-- | The length of the exposure, in seconds.
2813−fimmExposureTime :: Lens' FileImageMediaMetadata (Maybe Float)
2813+fimmExposureTime :: Lens' FileImageMediaMetadata (Maybe Double)
28142814fimmExposureTime
28152815 = lens _fimmExposureTime
28162816 (\ s a -> s{_fimmExposureTime = a})
@@ -2843,7 +2843,7 @@ fimmFlashUsed
28432843 (\ s a -> s{_fimmFlashUsed = a})
28442844
28452845-- | The exposure bias of the photo (APEX value).
2846−fimmExposureBias :: Lens' FileImageMediaMetadata (Maybe Float)
2846+fimmExposureBias :: Lens' FileImageMediaMetadata (Maybe Double)
28472847fimmExposureBias
28482848 = lens _fimmExposureBias
28492849 (\ 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})
287287
288288-- | Percentage likelihood that this candidate is the unique matching entity.
289289-- Value will be between 0.0 and 1.0
290−rcConfidence :: Lens' ReconcileCandidate (Maybe Float)
290+rcConfidence :: Lens' ReconcileCandidate (Maybe Double)
291291rcConfidence
292292 = lens _rcConfidence (\ s a -> s{_rcConfidence = a})
293293 . mapping _Coerce
gogol-freebasesearch/gen/Network/Google/Method/Freebase/Reconcile.hs+1−1
@@ -111,7 +111,7 @@ rLang
111111 _Coerce
112112
113113-- | Required confidence for a candidate to match. Must be between .5 and 1.0
114−rConfidence :: Lens' Reconcile Float
114+rConfidence :: Lens' Reconcile Double
115115rConfidence
116116 = lens _rConfidence (\ s a -> s{_rConfidence = a}) .
117117 _Coerce
gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+1−1
@@ -1648,7 +1648,7 @@ cbRange = lens _cbRange (\ s a -> s{_cbRange = a})
16481648
16491649-- | The average number of reads which are aligned to each individual
16501650-- reference base in this bucket.
1651−cbMeanCoverage :: Lens' CoverageBucket (Maybe Float)
1651+cbMeanCoverage :: Lens' CoverageBucket (Maybe Double)
16521652cbMeanCoverage
16531653 = lens _cbMeanCoverage
16541654 (\ s a -> s{_cbMeanCoverage = a})
gogol-latencytest/gen/Network/Google/LatencyTest/Types/Product.hs+1−1
@@ -85,7 +85,7 @@ doubleValue =
8585 , _dvLabel = Nothing
8686 }
8787
88−dvValue :: Lens' DoubleValue (Maybe Float)
88+dvValue :: Lens' DoubleValue (Maybe Double)
8989dvValue
9090 = lens _dvValue (\ s a -> s{_dvValue = a}) .
9191 mapping _Coerce
gogol-translate/gen/Network/Google/Translate/Types/Product.hs+1−1
@@ -176,7 +176,7 @@ detectionsResourceItem =
176176 }
177177
178178-- | The confidence of the detection resul of this language.
179−driConfidence :: Lens' DetectionsResourceItem (Maybe Float)
179+driConfidence :: Lens' DetectionsResourceItem (Maybe Double)
180180driConfidence
181181 = lens _driConfidence
182182 (\ s a -> s{_driConfidence = a})