File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
universe-some/src/Data/Universe Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ {-# LANGUAGE PolyKinds #-}
12{-# LANGUAGE ScopedTypeVariables #-}
23{-# LANGUAGE RankNTypes #-}
34{-# LANGUAGE Safe #-}
@@ -7,6 +8,7 @@ module Data.Universe.Some (
78 ) where
89
910import Data.Functor.Sum (Sum (.. ))
11+ import Data.Kind (Type )
1012import Data.List (genericLength )
1113import Data.Some (Some , mapSome , mkSome , foldSome )
1214import Data.Type.Equality ((:~:) (.. ))
@@ -37,10 +39,10 @@ import qualified Data.Some.Church as C
3739-- /Note:/ The 'Some' type is imported from "Data.Some", i.e. maybe
3840-- either from "Data.Some.Newtype" (default) or "Data.Some.GADT" modules.
3941--
40- class UniverseSome f where
42+ class UniverseSome ( f :: k -> Type ) where
4143 universeSome :: [Some f ]
4244
43- class UniverseSome f => FiniteSome f where
45+ class UniverseSome f => FiniteSome ( f :: k -> Type ) where
4446 universeFSome :: [Some f ]
4547 universeFSome = universeSome
4648
You can’t perform that action at this time.
0 commit comments