foo x = b where if a then b else c = x main = "Not to be executed." -- 1:9-1:10: Couldn't resolve b. 3:5-3:23: Pattern was expected here.