Would it be a problem for all types in class Elt to have a default or zero value?

Ryan Newton rrnewton at gmail.com
Mon Apr 30 20:06:10 BST 2012


Ok, great -- I'll add it.



On Wed, Apr 25, 2012 at 9:23 AM, Ryan Newton <rrnewton at gmail.com> wrote:

>
>> Why do you need default values in a *proper* permutation? (I.e., in that
>> case, you shouldn't need the default.)
>>
>
> You don't!  But permute expects the default values argument argument
> nevertheless, right?  If it were normal Haskell you could just put an
> (error "...") there, but that won't work with the EDSL staged evaluation.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/accelerate/attachments/20120430/3d9dbe40/attachment.htm>


More information about the Accelerate mailing list