<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi devs,<div><br></div><div>I've just posted #10583 (<a href="http://ghc.haskell.org/trac/ghc/ticket/10583">http://ghc.haskell.org/trac/ghc/ticket/10583</a>) about fixing up basicTypes/Lexeme.hs. As stated in the ticket, I'm happy to do the hacking, but I need some advice. My most pressing question is this:</div><div><br></div><div>Examine the following functions, which all should do the same thing</div><div>  * isVarSymChar: <a href="https://github.com/ghc/ghc/blob/master/compiler/basicTypes/Lexeme.hs#L102">https://github.com/ghc/ghc/blob/master/compiler/basicTypes/Lexeme.hs#L102</a></div><div>  * okSymChar: <a href="https://github.com/ghc/ghc/blob/master/compiler/basicTypes/Lexeme.hs#L215">https://github.com/ghc/ghc/blob/master/compiler/basicTypes/Lexeme.hs#L215</a></div><div>  * notFollowedBySymbol: <a href="https://github.com/ghc/ghc/blob/master/compiler/parser/Lexer.x#L904">https://github.com/ghc/ghc/blob/master/compiler/parser/Lexer.x#L904</a></div><div><br></div><div>These functions intend to identify characters that can appear in symbolic identifiers. They all have different implementations. Which one is right? Or is there a better way to do this operation?</div><div><br></div><div>There are other questions in the ticket, but I can probably sort those out on my own. If you can help, ideally you will respond in the ticket itself.</div><div><br></div><div>Many thanks!</div><div>Richard</div></body></html>