Ticket #7158 (new feature request)

Opened 9 months ago

Last modified 6 months ago

GHCi commands case insensitive

Reported by: Oblosys Owned by:
Priority: normal Milestone: 7.8.1
Component: GHCi Version: 7.6.1-rc1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Because GHCi commands start with a colon, it frequently happens to me that my shift key is still down and I accidentally type :R instead of :r, which gives an error. I'm not sure how common this is, but I've seen at least one more person do it.

As it seems unlikely that people define commands that differ only by case, it might be an option to disregard the case altogether when parsing the commands.

Change History

Changed 7 months ago by igloo

  • difficulty set to Unknown
  • component changed from Compiler to GHCi
  • milestone set to 7.8.1

Seems reasonable to me.

Changed 6 months ago by simonmar

I vote against, mainly because I have a Unix upbringing and I am allergic to case insensitivity. But if everyone else wants this I don't feel that strongly.

Note: See TracTickets for help on using tickets.