In future versions of GHC, List.List will be ambiguous because Data.List will start exporting List as a type alias for []. Rather than using CPP to solve this problem, this PR uses RList as the alias for the internal list type.
It might be a good idea to rename the type to something that doesn't collide with other names. Like perhaps Arr or Vec or something like that.
Closes https://github.com/tfausak/rattletrap/pull/292.
In future versions of GHC,
List.List
will be ambiguous becauseData.List
will start exportingList
as a type alias for[]
. Rather than using CPP to solve this problem, this PR usesRList
as the alias for the internal list type.It might be a good idea to rename the type to something that doesn't collide with other names. Like perhaps
Arr
orVec
or something like that.