Skip to content

Commit

Permalink
Move module definition below comment
Browse files Browse the repository at this point in the history
Because GHC 8.x seems to be particular about it
  • Loading branch information
tomjaguarpaw committed Jan 18, 2025
1 parent d97b797 commit e420fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Test/DefinitionsUndecidable.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}

module DefinitionsUndecidable where

-- | We define the data types and generate the TH in a separate module
-- because we want to ensure that no external names are required to be
-- imported.
--
-- It's a bit sad that these need UndecidableInstances

module DefinitionsUndecidable where

import GHC.Generics (Generic)
import Data.Profunctor.Product (ProductProfunctor, SumProfunctor)
import Data.Profunctor.Product.Default
Expand Down

0 comments on commit e420fd2

Please sign in to comment.