
2 Sep
2010
2 Sep
'10
6:16 p.m.
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.)