2013/1/25 Daniel Díaz Casanueva <dhelta.diaz@gmail.com>

Yes, you're right about the type context. I always forget that Functor is not a superclass of Monad. Anyway, the `fmap` can be done only with `Monad` in the context.


Instead of adding `Functor m` constraint you could write just

    f n = liftM Seq.fromList . replicateM n
 
Best regards,
Petr Pudlak