File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export const rawIndex = function(i) {
4
4
}
5
5
}
6
6
7
- export const selfZipWithImpl = function ( offset ) {
7
+ export const offsetWithImpl = function ( offset ) {
8
8
return function ( operator ) {
9
9
return function ( xs ) {
10
10
let xsLen = xs . length ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ module Data.Array.ArrayAL
55
55
, nubByEq
56
56
57
57
, zipWith
58
- , selfZipWith
58
+ , offsetWith
59
59
60
60
, checkValid
61
61
) where
@@ -499,11 +499,11 @@ zipWith
499
499
-> ArrayAL n c
500
500
zipWith fn (ArrayAL xs) (ArrayAL ys) = ArrayAL $ Array .zipWith fn xs ys
501
501
502
- foreign import selfZipWithImpl
502
+ foreign import offsetWithImpl
503
503
:: ∀ a b . Int -> (a -> a -> b ) -> Array a -> Array b
504
504
505
505
-- | Apply a binary function to offset copies of an `ArrayAL`
506
- selfZipWith
506
+ offsetWith
507
507
:: ∀ (n1 :: Int )
508
508
(n2 :: Int )
509
509
(offset :: Int )
@@ -519,7 +519,7 @@ selfZipWith
519
519
-> (a1 -> a1 -> a2 )
520
520
-> ArrayAL n1 a1
521
521
-> ArrayAL n2 a2
522
- selfZipWith i f (ArrayAL xs) = ArrayAL $ selfZipWithImpl (reflectType i) f xs
522
+ offsetWith i f (ArrayAL xs) = ArrayAL $ offsetWithImpl (reflectType i) f xs
523
523
524
524
-- | Return true if the length of the underlying array is less than or equal to
525
525
-- | the type-level minimum length. This should always be true and this function
You can’t perform that action at this time.
0 commit comments