Skip to content

Commit 8bc7c61

Browse files
committed
Replace * with Type
1 parent 3df9c29 commit 8bc7c61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Win32-network/src/System/Win32/Async/IOData.hsc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ import Control.Exception ( SomeAsyncException
4343
import Control.Monad ( when
4444
, void
4545
)
46+
import Data.Kind ( Type
47+
)
4648
import Foreign ( Ptr
4749
, StablePtr
4850
, Storable (..)
@@ -80,7 +82,7 @@ data AsyncSing (asyncType :: AsyncType) where
8082
-- number of storable instances as we can map directly @asyncType :: AsyncType@
8183
-- to the 'OVERLAPPED' or 'WSAOVERLAPPED' .
8284
--
83-
type family OverlappedType (asyncType :: AsyncType) :: * where
85+
type family OverlappedType (asyncType :: AsyncType) :: Type where
8486
OverlappedType Async = OVERLAPPED
8587
OverlappedType WsaAsync = WSAOVERLAPPED
8688

0 commit comments

Comments
 (0)