Closed sol closed 10 years ago
@spl BTW, new release to Hackage would be much appreciated ;)
Hmm, skimming over #4, making it abstract was done on purpose. Even though I understand the reasoning, this makes dlist
less useful, which would mean that I roll my own...
@sol Sorry, the constructor is hidden for safety. It may be a tradeoff with performance, but I don't think you lose too much (efficiency-wise) using IsString
/fromString
/fromList
. Alternatively, you can use an older version of dlist
.
@spl My main motivation to do this is that you can do stuff like
DL $ shows a
. But I think it's a good idea anyway, to allow the user to accommodate for things that we haven't thought of.