Skip to content

Commit b6283e0

Browse files
committed
Format using newer ormolu version
1 parent 7f9214a commit b6283e0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Data/Unrestricted/Linear/Internal/Instances.hs

+2-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ instance (KnownNat n, Consumable a) => Consumable (V n a) where
186186

187187
instance (KnownNat n, Dupable a) => Dupable (V n a) where
188188
dupR (V xs) =
189-
V . Unsafe.toLinear (Vector.fromListN (V.theLength @n))
189+
V
190+
. Unsafe.toLinear (Vector.fromListN (V.theLength @n))
190191
Data.<$> dupR (Unsafe.toLinear Vector.toList xs)
191192

192193
-- Some stock instances

src/Data/V/Linear/Internal.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ map f (V xs) = V $ Unsafe.toLinear (Vector.map (\x -> f x)) xs
7878

7979
(<*>) :: V n (a %1 -> b) %1 -> V n a %1 -> V n b
8080
(V fs) <*> (V xs) =
81-
V $
82-
Unsafe.toLinear2 (Vector.zipWith (\f x -> f $ x)) fs xs
81+
V
82+
$ Unsafe.toLinear2 (Vector.zipWith (\f x -> f $ x)) fs xs
8383

8484
infixl 4 <*> -- same fixity as base.<*>
8585

0 commit comments

Comments
 (0)