Three patches for cabal
batterseapower at hotmail.com
Wed Jun 3 11:33:19 EDT 2009
2009/6/3 Niklas Broberg <niklas.broberg at gmail.com>:
> First there's the constructor called TransformListComp, which should
> really be named GeneralizedListComp, since the constructor should
> describe the extension and not the implementation scheme.
It's called TransformListComp because the "then f" syntax transforms a
list using f (which has type [a] -> [a]) - not because the
implementation works by transformation or anything like that! We
considered but rejected GeneralizedListComp because it's too vague -
what if someone comes up with another list comprehension
generalisation in the future?
More information about the Libraries