Skip to content
  • Takenobu Tani's avatar
    Allow command name resolution for GHCi commands with option `!` #17345 · 4798f3b9
    Takenobu Tani authored and Marge Bot's avatar Marge Bot committed
    This commit allows command name resolution for GHCi commands
    with option `!` as follows:
    
        ghci> :k! Int
        Int :: *
        = Int
    
    This commit changes implementation as follows:
    
    Before:
      * Prefix match with full string including the option `!` (e.g. `k!`)
    
    After (this patch):
      * Prefix match without option suffix `!` (e.g. `k`)
      * in addition, suffix match with option `!`
    
    See also #8305 and #8113
    4798f3b9