Есть ф-ция следующего вида
logLayout :: Logger
type Logger = X (Maybe String)
if(logLayout == return (Just "Full"))
.....
No instance for (Eq Logger) arising from a use of ‘==’
In the first argument of ‘(||)’, namely
‘(logLayout == return (Just "Full"))’