Ticket #105 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Strange error for list comprehension

Reported by: erikd Owned by:
Priority: normal Milestone:
Component: Source Type Inferencer Version:
Keywords: Cc:

Description

Simple piece of code:

intList ::  [Int]
intList = [ 1 .. 4 ]

main () = do
    println $ show $ [ x + y | x <- intList, y <- intList]

results in the error:

ddc: ERROR
    No instance for Class.Num.Num *506

    No instance for Base.Shape3 *506 *521 *531

Change History

Changed 4 years ago by erikd

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

This is fixed in the following commit:

Thu Sep 24 21:58:01 EST 2009 Amos Robinson <amos.robinson@…>

Note: See TracTickets for help on using tickets.