Ticket #105 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
