Ticket #180 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

GHCi tries to print infinite list (like [1..])

Reported by: nsinreal Owned by: dons
Priority: trivial Milestone:
Component: GHC Keywords:
Cc:

Description

GHCi mustn't try to print infinite lists. Maybe GHCi must print some warning for user

Change History

Changed 2 years ago by gregorycollins

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

Knowing whether a particular list value is infinite requires solving the halting problem, which is undecidable -- sorry.

Note: See TracTickets for help on using tickets.