Skip to content

Commit

Permalink
ormolu'd
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyday567 committed Jul 29, 2024
1 parent de92a82 commit 172352c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ packages:

write-ghc-environment-files: always

tests: True
9 changes: 3 additions & 6 deletions src/NumHask/Array/Fixed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -136,17 +136,15 @@ instance (HasShape s, Show a) => Show (Array s a) where
show a = GHC.Show.show (toDynamic a)

instance
( HasShape s
) =>
(HasShape s) =>
Data.Distributive.Distributive (Array s)
where
distribute = distributeRep
{-# INLINE distribute #-}

instance
forall s.
( HasShape s
) =>
(HasShape s) =>
Representable (Array s)
where
type Rep (Array s) = [Int]
Expand Down Expand Up @@ -215,8 +213,7 @@ instance (HasShape s, Subtractive a, Epsilon a) => Epsilon (Array s a) where
epsilon = singleton epsilon

instance
( HasShape s
) =>
(HasShape s) =>
IsList (Array s a)
where
type Item (Array s a) = a
Expand Down

0 comments on commit 172352c

Please sign in to comment.