blob: 20bc59e6f1f772d9972cadbf3e3d50771092d4dd (
plain)
1
2
3
4
5
6
|
{-# LANGUAGE PolyKinds, KindSignatures, DataKinds, GADTs #-}
module T5937 where
data SMaybe :: (k -> *) -> Maybe k -> * where
SNothing :: SMaybe s 'Nothing
SJust :: s a -> SMaybe s ('Just a)
|