[Haskell-cafe] Re: Crypto-API is stabilizing

Sebastian Fischer sebf at informatik.uni-kiel.de
Fri Sep 3 04:42:45 EDT 2010


> In general, I like this approach, but what are
>
>    encrypt privateKey
>
> or
>
>    decrypt publicKey
>
> supposed to do? A type-class solution also does not *prevent*  
> programmers to perform such non-sensical calls

Would it be desirable to prohibit such calls using the type system?


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





More information about the Haskell-Cafe mailing list