Last active
January 27, 2019 22:01
-
-
Save binq/89999480859905af982b45c8a9df2ed4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type family DownLevel (a' :: (a :: Type)) :: (b :: Type) where | |
DownLevel x = x | |
appendHallway1 :: | |
forall t ds (ds' :: t) dsl (dsl' :: [t]). | |
(t ~ DoorState, ds ~ DownLevel ds', dsl ~ DownLevel dsl') => | |
Door ds -> | |
Hallway dsl -> | |
Hallway (ds : dsl) | |
appendHallway1 d rest = Section d rest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment