you can also do case [ ImportName == I || I <- Acc ] of [] or _