File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -354,6 +354,40 @@ instance Foldable.Foldable Vector where
354
354
{-# INLINE foldl1 #-}
355
355
foldl1 = foldl1
356
356
357
+ #if MIN_VERSION_base(4,6,0)
358
+ {-# INLINE foldr' #-}
359
+ foldr' = foldr'
360
+
361
+ {-# INLINE foldl' #-}
362
+ foldl' = foldl'
363
+ #endif
364
+
365
+ #if MIN_VERSION_base(4,8,0)
366
+ {-# INLINE toList #-}
367
+ toList = toList
368
+
369
+ {-# INLINE length #-}
370
+ length = length
371
+
372
+ {-# INLINE null #-}
373
+ null = null
374
+
375
+ {-# INLINE elem #-}
376
+ elem = elem
377
+
378
+ {-# INLINE maximum #-}
379
+ maximum = maximum
380
+
381
+ {-# INLINE minimum #-}
382
+ minimum = minimum
383
+
384
+ {-# INLINE sum #-}
385
+ sum = sum
386
+
387
+ {-# INLINE product #-}
388
+ product = product
389
+ #endif
390
+
357
391
instance Traversable. Traversable Vector where
358
392
{-# INLINE traverse #-}
359
393
traverse f xs = Data.Vector. fromList Applicative. <$> Traversable. traverse f (toList xs)
You can’t perform that action at this time.
0 commit comments