0

Haskell "module" keyword versus identifier with same prefix

Tony Morris vor 12 Jahren 0

 The word "module" is a Haskell keyword, however, creating an identifier with a prefix of "module" is also valid. e.g.


modulez = "hi" -- valid Haskell


Unfortunately, this causes the editor to think I have used the module keyword, which screws up highlighting.