blob: 9d51f207f185d339fd85842635f74c3bc73e3573 (
plain)
1
2
3
4
5
6
7
8
|
{-# LANGUAGE PolyKinds, KindSignatures, DataKinds, GADTs #-}
module T5937 where
import Data.Kind (Type)
data SMaybe :: (k -> Type) -> Maybe k -> Type where
SNothing :: SMaybe s 'Nothing
SJust :: s a -> SMaybe s ('Just a)
|