[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoid ambiguity when annotating



Tried to annotate DList and getting errors like this from GHCi (invoked
by runTypesScript):

<interactive>:335:104:
Ambiguous occurrence `head'
It could refer to either `Data.DList.head',
imported from `Data.DList'
or `Prelude.head',
imported from `Prelude' (and originally defined in `GHC.List')

This is bad, we should be qualifying everything to prevent this!