Skip to content

Commit

Permalink
Workaround for weird type error (see http://ghc.haskell.org/trac/ghc/…
Browse files Browse the repository at this point in the history
  • Loading branch information
MedeaMelana committed Sep 2, 2013
1 parent 76ef2fb commit 3772bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Magic/src/Magic/Abilities.hs
Expand Up @@ -161,4 +161,4 @@ ifSelfWasOrIsOnBattlefield f events rSelf you =
if ok then f events rSelf you else mempty
where
ok = fst rSelf == Some Battlefield
|| not (null [ undefined | DidMoveObject (Just (Some Battlefield, _)) newRef <- events, newRef == rSelf ])
|| not (null ([ () | DidMoveObject (Just (Some Battlefield, _)) newRef <- events, newRef == rSelf ] :: [()]))

0 comments on commit 3772bb2

Please sign in to comment.