[vector] #54: Missing NFData instances for vector types

vector vector at projects.haskell.org
Mon Sep 12 23:10:45 BST 2011

#54: Missing NFData instances for vector types
Reporter:  hvr          |        Owner:     
    Type:  enhancement  |       Status:  new
Priority:  minor        |    Milestone:     
 Version:  0.7          |   Resolution:     
Keywords:               |  

Comment(by choener):

 Replying to [comment:6 hvr]:
 > Replying to [comment:2 choener]:
 > > Doesn't the first one crash during runtime, if you actually call rnf
 on an unboxed vector?
 > why should it? The first one uses the default `rnf` implementation which
 corresponds to something like `rnf x = seq x ()`

 Yeah... :-( I did not remember that there was a default instance... *sigh*
 The second one seems ok, since everything else in a vector is

 Someone provided a library: http://hackage.haskell.org/package/vector-
 strategies with parallel evaluation as well. Yours?

Ticket URL: <http://trac.haskell.org/vector/ticket/54#comment:7>
vector <http://trac.haskell.org/vector>
Package vector

More information about the vector mailing list