[Haskell-cafe] Cloud Haskell Appetiser: a taste of distributed programming in Haskell

2012-07-21 Thread Eric Kow
HTML version: http://www.well-typed.com/blog/68 # Cloud Haskell Appetiser: (part 2 of Parallel Haskell Digest 11) Hello Haskellers! We mentioned in the [last digest][phd-11] that we'd have just a tiny bit more to say about Parallel Haskell. As promised, here is the completed word of month on

Re: [Haskell-cafe] Haskell's type inference considered harmful

2012-07-21 Thread oleg
However, if your are using ExtendedDefaultRules then you are likely to know you are leaving the clean sound world of type inference. First of all, ExtendedDefaultRules is enabled by default in GHCi. Second, my example will work without ExtendedDefaultRules, in pure Haskell98. It is even

[Haskell-cafe] Relational Algebra library: first version on GitHub

2012-07-21 Thread Paul Visschers
Hello, A couple of weeks ago I asked if there was interest in a library that implements a type-safe relational algebra. The response was positive, so I have spruced up the code I had a bit and created a repository on GitHub at: https://github.com/PaulVisschers/relational-algebra It is a very

[Haskell-cafe] TLS 0.9.6, question about session resumption.

2012-07-21 Thread C Gosch
Hi Cafe, I am trying to use the TLS package from hackage, and it works fine so far -- except when a client wants to do session resumption (note I am not an expert in TLS, so it might be something quite simple). In that case, I get an alert, unexpected message, during handshake. The handshake

Re: [Haskell-cafe] Monads with The contexts?

2012-07-21 Thread Takayuki Muranushi
Dear Oleg, You're right. The points boil down to That assumption (that the deviations are small) is not stated in types and it is hard to see how can we enforce it. and even if it's small, there's corner cases at df/dx = 0 or df/dx = infinity (as you have mentioned.) Thanks to your advices,

Re: [Haskell-cafe] TLS 0.9.6, question about session resumption.

2012-07-21 Thread Dominique Devriese
Hi, 2012/7/21 C Gosch ch.go...@googlemail.com: I am trying to use the TLS package from hackage, and it works fine so far -- except when a client wants to do session resumption (note I am not an expert in TLS, so it might be something quite simple). In that case, I get an alert, unexpected

Re: [Haskell-cafe] Relational Algebra library: first version on GitHub

2012-07-21 Thread Ertugrul Söylemez
Hello there Paul, Paul Visschers m...@paulvisschers.net wrote: A couple of weeks ago I asked if there was interest in a library that implements a type-safe relational algebra. The response was positive, so I have spruced up the code I had a bit and created a repository on GitHub at:

Re: [Haskell-cafe] Relational Algebra library: first version on GitHub

2012-07-21 Thread Carter Schonwald
Great / thanks!!! This will be incredibly helpful for some of my present work. :-) On Saturday, July 21, 2012, Paul Visschers wrote: Hello, A couple of weeks ago I asked if there was interest in a library that implements a type-safe relational algebra. The response was positive, so I have

[Haskell-cafe] Darcs / ByteString optimisation

2012-07-21 Thread Luke Worth
Hi, I'm currently investigating darcs' performance issues. The first thing I looked at was ByteString.concat, which seems to allocate a lot of extra objects. Here is the standard definition: concat :: [ByteString] - ByteString concat [] = empty concat [ps] = ps concat xs =

[Haskell-cafe] System.Win32.Registry... Help?

2012-07-21 Thread Anonymous Void
Hi, I'm working on a project that will require me to create and possibly set registry keys. I don't have much experience with programming on Windows either, but I'm having to learn as you don't get many *nix PCs at a computer repair shop, lol. I found a mailing list post showing how to read

Re: [Haskell-cafe] System.Win32.Registry... Help?

2012-07-21 Thread Tim Matthews
On Sun, Jul 22, 2012 at 5:43 PM, Tim Matthews tim.matthe...@gmail.comwrote: On Sun, Jul 22, 2012 at 5:11 PM, Anonymous Void bitsofch...@gmail.comwrote: but I have no idea what to put into some of the arguments for regSetValueEx or regCreateKeyEx, Those are just plain bindings to windows