Proposal: Add Random instances for more base types
Bas van Dijk
v.dijk.bas at gmail.com
Fri Oct 8 10:13:22 EDT 2010
On Thu, Oct 7, 2010 at 2:27 PM, Ivan Lazar Miljenovic
<ivan.miljenovic at gmail.com> wrote:
> A lot of those can be removed if Random has instances for Word* by
> default. Is there any reason they aren't already instances?
On Thu, Oct 7, 2010 at 2:28 PM, Ian Lynagh <igloo at earth.li> wrote:
> I see several instances for base types - the random package ought to
> provide these.
Add Random instances for:
* all the types in Data.Int:
(Int is already provided)
* all the types in Data.Word:
* almost all the types in Foreign.C.Types:
Does it make sense to have Random instances for CClock and CTime?
The patch is attached to the ticket:
Deadline: 2 weeks (Friday 22 October 2010)
More information about the Libraries