On Sep 3, 2010, at 12:07 AM, Sebastian Fischer wrote:

Why not use

   generateKeypair :: MonadRandom m => BitLength -> m (Maybe (p,p))

Or if the choice to generate keys or not should solely depend on the BitLength (and not on the random generator):

    generateKeypair :: MonadRandom m => BitLength -> Maybe (m (p,p))



--
Underestimating the novelty of the future is a time-honored tradition.
(D.G.)



_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to