1 2 3 4 5
T19843j.hs:5:5: Variable not in scope: guard Perhaps you want to add ‘guard’ to the import list in the import of ‘Control.Monad’ (T19843j.hs:3:1-31).