[Haskell-cafe] ANNOUNCE: control-monad-loop 0.1

2012-07-08 Thread Joey Adams
This package provides imperative-style loops supporting "continue" and "break". For example: import Control.Monad import Control.Monad.IO.Class import Control.Monad.Trans.Loop import Control.Monad.Trans.Class main :: IO () main = foreach [0..] $ \i -> fore

[Haskell-cafe] DPH matrix product

2012-07-08 Thread mblanco
Hi, I'm trying to implement a matrix product example using DPH. This is the code: --- type MMultType = Double type Matrix = [:[:MMultType:]:] type MVector = [:MMultType:] type Matrix_wra

Re: [Haskell-cafe] Interest in typed relational algebra library?

2012-07-08 Thread dag.odenh...@gmail.com
Is this anything like the hssqlppp package? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Interest in typed relational algebra library?

2012-07-08 Thread Rune Harder Bak
Yes, that would be very nice! Type-checked queries really is a must, but I´ve found HaskellDB too cumbersome to work with. -Rune On Sat, Jul 7, 2012 at 11:45 AM, Paul Visschers wrote: > Hello, > > I've been out of the Haskell game for a bit, but now I'm back. A couple of > years ago I made a sm

[Haskell-cafe] Haskell User Group Hamburg (Germany) - Meeting Thursday July 12th 2012

2012-07-08 Thread Stefan Schmidt
Hello cafe, there's an upcomming meeting of the Haskell user group Hamburg next Thursday (July 12th). We'll start 19:00 at the Xing AG in Hamburg (Dammtorstraße 35, 20354 Hamburg ). Jan Ahrens will give a short talk about web development with Yesod ( http://www.yesodweb.com/). Although this anno

Re: [Haskell-cafe] Control defaulting in ghci

2012-07-08 Thread Patrick Palka
On 7/8/2012 11:28 AM, Roman Cheplyaka wrote: Is there a way to control defaulting in ghci? (Like the "default" declaration in source files does.) ghci 7.4.1 doesn't accept "default" declarations. I tried loading a module with a "default" declaration, but that also didn't affect the ghci session.

Re: [Haskell-cafe] Connecting Travis CI and hackage

2012-07-08 Thread Dmitry Malikov
> But in the meantime, regarding what you suggest here, couldn't be done through tags rather than branches? Tagging a release version could trigger testing and, if testing runs fine, upload to hackage. Testing should be done on travis virtual machine. So this question is not about `when' or `whe

Re: [Haskell-cafe] Connecting Travis CI and hackage

2012-07-08 Thread Alp Mestanogullari
There is a broader plan, about having Hackage2 (in development) and scoutess (same) work together, but we're not there yet *at all*. But in the meantime, regarding what you suggest here, couldn't be done through tags rather than branches? Tagging a release version could trigger testing and, if tes

[Haskell-cafe] Control defaulting in ghci

2012-07-08 Thread Roman Cheplyaka
Is there a way to control defaulting in ghci? (Like the "default" declaration in source files does.) ghci 7.4.1 doesn't accept "default" declarations. I tried loading a module with a "default" declaration, but that also didn't affect the ghci session. It would be ironic if this is possible in sou

Re: [Haskell-cafe] Best way to build a GHC backend?

2012-07-08 Thread Jonathan Geddes
I agree that the Raison d'être for a .NET or JVM backend is interop. Perhaps that's not worth the effort of an entirely new backend. JavaScript is a different beast, however. I said before: >From my point of view, languages that cannot run on one of the 3 > aforementioned platforms will become ir

Re: [Haskell-cafe] vector-simd: some code available, and some questions

2012-07-08 Thread Nicolas Trangez
On Sun, 2012-07-08 at 10:27 +0200, Gábor Lehel wrote: > On Sun, Jul 8, 2012 at 3:05 AM, Nicolas Trangez wrote: > > I implemented the inductive alignment calculation over One and Twice > > (good idea, and easy to do), but I don't get the thing about > > superclasses. I've been trying several approa

Re: [Haskell-cafe] vector-simd: some code available, and some questions

2012-07-08 Thread Nicolas Trangez
On Sun, 2012-07-08 at 20:49 +1000, Reiner Pope wrote: > I've not been following this thread very closely, but it seems like > what you're trying to do may be related to Geoffrey Mainland's work on > SIMD support in GHC. See [1] for his "SIMD-enabled version of the > vector library". He's also writt

[Haskell-cafe] Connecting Travis CI and hackage

2012-07-08 Thread Dmitry Malikov
*tldr*: is there a way to upload package to hackage from Travis automatically and safely (hiding password to hackage account)? Several days ago I discovered Travis ( http://travis-ci.org/ ) - nice open source build-service, easy to start and monitoring. I've configured some github projects and

Re: [Haskell-cafe] vector-simd: some code available, and some questions

2012-07-08 Thread Reiner Pope
I've not been following this thread very closely, but it seems like what you're trying to do may be related to Geoffrey Mainland's work on SIMD support in GHC. See [1] for his "SIMD-enabled version of the vector library". He's also written some blog posts about this [2]. Reiner [1] https://github

Re: [Haskell-cafe] Best way to build a GHC backend?

2012-07-08 Thread Florian Weimer
* Niklas Larsson: > http://www.haskell.org/haskellwiki/GHC/FAQ#Why_isn.27t_GHC_available_for_.NET_or_on_the_JVM.3F > "It would make a lot of sense to give GHC a .NET or JVM back end, and > it's a question that comes up regularly. The reason that we haven't > done it here, at GHC HQ, is because it'

[Haskell-cafe] Which mailing list for GHC hacking discussion?

2012-07-08 Thread Erik de Castro Lopo
Hi all, For GHC development questions (ie hacking on GHC, not with GHC) which is the appropriate mailing list ghc-cvs or ghc-users? Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ __

Re: [Haskell-cafe] vector-simd: some code available, and some questions

2012-07-08 Thread Gábor Lehel
On Sun, Jul 8, 2012 at 3:05 AM, Nicolas Trangez wrote: > On Sun, 2012-07-08 at 01:40 +0200, Gábor Lehel wrote: >> unsafeXorSSE42 :: (Storable a, >> > SV.AlignedToAtLeast SV.A16 o1, SV.Alignment o1, >> > SV.AlignedToAtLeast SV.A16 o2, SV.Alignment o2, >> > SV.AlignedToAtLeast SV.A16 o3