Ticket #1587 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

":i (->)" doesn't work

Reported by: SamB Owned by: igloo
Priority: normal Milestone: 6.8.1
Component: GHCi Version: 6.6.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Prelude> :i (->)
<interactive>:1:1: parse error on input `->'

I hope that's clear enough for you ;-).

Change History

Changed 6 years ago by Isaac Dupree

  • version changed from 6.6 to 6.6.1

Also fails for me in 6.6.1. Since :i [] works but not :i ([]) (should this be true?), I tried :i -> and :i ((->)) and :i (a->b) ... none of which worked.

Changed 6 years ago by SamB

[] isn't an infix name, so I wouldn't really expect :i ([]) to work. (([]) is valid as an expression, but not as a name.)

Changed 6 years ago by igloo

  • owner set to igloo
  • milestone set to 6.8

Fixed locally; will add a test and push later.

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Pushed.

Changed 6 years ago by igloo

  • milestone changed from 6.8 branch to 6.8.1

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.