iæfai wrote: > I have been trying to work out a problem for the last few hours with > little success. > ... > config <- case opt of > Left (_, err) -> ioError (userError err) > Right (config) -> config does changing the last line to Right (config) -> return config fix your type error? -Isaac