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

vector vector at projects.haskell.org
Sun Jan 29 12:18:05 GMT 2012


#54: Missing NFData instances for vector types
------------------------+---------------------------------------------------
Reporter:  hvr          |        Owner:          
    Type:  enhancement  |       Status:  reopened
Priority:  blocker      |    Milestone:  0.10    
 Version:  0.7          |   Resolution:          
Keywords:               |  
------------------------+---------------------------------------------------

Comment(by hvr):

 How would the definition of the monadic version, say `mrnf` look like?
 Just something like

 {{{
 #!hs

 mrnf :: (NFData a, Monad m) => a -> m ()
 mrnf v = rnf v `seq` return ()
 }}}

 ?

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


More information about the vector mailing list