Re: [Haskell-cafe] Quicksort in Haskell

2011-11-07 Thread Peter Scott
You can narrow down the problem by commenting out the part of the file that's giving you problems, and trying out the other functions in ghci. In your case, the main function is causing a parsing error. If you comment it out, you can verify that quicksort works correctly. Then look at your main fun

Re: [Haskell-cafe] Storing passwords securely

2011-02-05 Thread Peter Scott
On Sat, Feb 5, 2011 at 10:54 PM, Jeremy Shaw wrote: > Have you seen the PBKDF2 library? > > http://hackage.haskell.org/package/PBKDF2 > > Does that look like a > reasonable way to store passwords securely? > Yes, I looked at it before I started on pwst

[Haskell-cafe] Storing passwords securely

2011-02-05 Thread Peter Scott
The usual advice on how to store passwords securely is "use bcrypt", but since there seem to be no Haskell bindings for bcrypt, the other good option is to iterate a salted hash function at least 1000 times. In order for people to get this right, there should be a library with a really simple API t

Re: Re[2]: [Haskell-cafe] Estonia and GADT

2005-10-16 Thread Peter Scott
On 10/16/05, Bulat Ziganshin <[EMAIL PROTECTED]> wrote: > DR> darcs get http://abridgegame.org/darcs-patch-theory > > Invalid repository: http://abridgegame.org/darcs-patch-theory >[...] The link didn't work for me either, but this is what you're looking for: http://www.abridgegame.org/repos/dar

Re: [Haskell-cafe] Papers from the 2005 Haskell Workshop (Tallinn)?

2005-10-05 Thread Peter Scott
On 10/5/05, Dimitry Golubovsky <[EMAIL PROTECTED]> wrote: > In particular, I would like to read the paper on "halfs" (haskell > filesystem). Googling for gave nothing but > the Workshop's schedule and ACM Library TOC. The paper on the ACM web site is only half a page long. It doesn't really expla