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) {
44 }
55}
66
7- export const selfZipWithImpl = function ( offset ) {
7+ export const offsetWithImpl = function ( offset ) {
88 return function ( operator ) {
99 return function ( xs ) {
1010 let xsLen = xs . length ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ module Data.Array.ArrayAL
5555 , nubByEq
5656
5757 , zipWith
58- , selfZipWith
58+ , offsetWith
5959
6060 , checkValid
6161 ) where
@@ -499,11 +499,11 @@ zipWith
499499 -> ArrayAL n c
500500zipWith fn (ArrayAL xs) (ArrayAL ys) = ArrayAL $ Array .zipWith fn xs ys
501501
502- foreign import selfZipWithImpl
502+ foreign import offsetWithImpl
503503 :: ∀ a b . Int -> (a -> a -> b ) -> Array a -> Array b
504504
505505-- | Apply a binary function to offset copies of an `ArrayAL`
506- selfZipWith
506+ offsetWith
507507 :: ∀ (n1 :: Int )
508508 (n2 :: Int )
509509 (offset :: Int )
@@ -519,7 +519,7 @@ selfZipWith
519519 -> (a1 -> a1 -> a2 )
520520 -> ArrayAL n1 a1
521521 -> 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
523523
524524-- | Return true if the length of the underlying array is less than or equal to
525525-- | 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