diff -rN -u old-domination/State.hs new-domination/State.hs
|
old
|
new
|
|
| 172 | 172 | , resetFirstFrame = False |
| 173 | 173 | } |
| 174 | 174 | |
| 175 | | {- |
| 176 | | FIXME: This block causes GHC to panic and to claim that the impossible happens |
| 177 | 175 | instance Default GuiState where |
| 178 | 176 | def = GuiState { g_font = Nothing |
| 179 | 177 | , g_labels = [] |
| 180 | 178 | , g_actions = [] |
| 181 | 179 | } |
| 182 | | -} |
| 183 | | instance Default GuiState where |
| 184 | | def = undefined |
| 185 | 180 | |
| 186 | 181 | -- temporary data (can be used to set arbitrary next mode, etc.) |
| 187 | 182 | data Tmp = TmpNul | TmpMode Mode | TmpString String |