Warnings on load from GHCi prompt

When using GHCi I'd like to know how can I use the -Wall option when (re)loading from the prompt. For example in section 3.3 of Haskell Programming Tips The example shown with guards is as follows...