Changes between Initial Version and Version 1 of Ticket #8135


Ignore:
Timestamp:
Aug 15, 2013 2:57:53 PM (23 months ago)
Author:
jstolarek
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8135 – Description

    initial v1  
    1 I wrote a little utility function against the new pipes 4.0 repository but neglected to put the brackets around lift (f x)  like so: 
     1I wrote a little utility function against the new pipes 4.0 repository but neglected to put the brackets around `lift (f x)`  like so: 
    22 
     3{{{ 
    34mapM :: (Monad m) => (a -> m b) -> Pipe a b m r 
    45mapM f =  for cat $ \x -> do  
    56  r <- lift f x 
    67  yield r 
     8}}} 
    79 
    810Which resulted in this error/panic. 
    911 
     12{{{ 
    1013src/Utils/Pipes.hs:13:8: 
    1114    Couldn't match kind `* -> *' with `*' 
     
    1821  (GHC version 7.6.2 for x86_64-unknown-linux): 
    1922        kindFunResult ghc-prim:GHC.Prim.*{(w) tc 34d} 
     23}}}