[Haskell-cafe] "shadowing" keywords like "otherwise"

Janis Voigtlaender voigt at tcs.inf.tu-dresden.de
Sun Jun 28 02:50:35 EDT 2009

Vasili I. Galchin wrote:
> It seems to me that in the code base somewhere that there is a 
> "redefine" of the keyword"otherwise". I haven't read the Haskell 98 
> Report but I thought that it was not possible to redefine keywords. ??

"otherwise" is not a keyword. It is just defined as a normal function
like so:

otherwise = True


Dr. Janis Voigtlaender
mailto:voigt at tcs.inf.tu-dresden.de

More information about the Haskell-Cafe mailing list