Re: [Haskell-cafe] sequential logic

2012-12-05 Thread Emil Axelsson
2012-12-06 01:16, Christopher Howard skrev: Hi. I was wondering what the various (and especially most simple) approaches one could take for working with (simulating or calculating) sequential logic in Haskell. By sequential logic, I mean like wikipedia describes, where a system is made up of logi

[Haskell-cafe] Haskell Weekly News: Issue 253

2012-12-05 Thread Daniel Santa Cruz
Welcome to issue 253 of the HWN, an issue covering crowd-sourced bits of information about Haskell from around the web. This issue covers the week of November 25 to December 01, 2012. Quotes of the Week * edwardk: this breaks my previous record of 6 unsafeCoerce's in a line * bo

Re: [Haskell-cafe] sequential logic

2012-12-05 Thread Eric Velten de Melo
2012/12/5 Christopher Howard : > Hi. I was wondering what the various (and especially most simple) > approaches one could take for working with (simulating or calculating) > sequential logic in Haskell. By sequential logic, I mean like wikipedia > describes, where a system is made up of logic gates

[Haskell-cafe] sequential logic

2012-12-05 Thread Christopher Howard
Hi. I was wondering what the various (and especially most simple) approaches one could take for working with (simulating or calculating) sequential logic in Haskell. By sequential logic, I mean like wikipedia describes, where a system is made up of logic gates, whose output is dependent not only on

Re: [Haskell-cafe] Understanding GHC's instance inference.

2012-12-05 Thread adam vogt
On Wed, Dec 5, 2012 at 12:12 AM, Takayuki Muranushi wrote: > Dear everyone, > > I have a code > https://github.com/nushio3/practice/blob/master/instance-inference/zipf-11-1.hs > > that produces a type-error when I remove a type signature. > https://github.com/nushio3/practice/blob/master/instance-

Re: [Haskell-cafe] Best approach to avoid dependency hells

2012-12-05 Thread Rogan Creswick
On Wed, Dec 5, 2012 at 11:13 AM, Jason Dagit wrote: > > Let's say you are working in a directory foo that contains a cabal file > for package foo. When you type 'cabal-dev install', cabal-dev looks at > foo.cabal in the current directory, it uses it to calculate constraints and > then installs th

Re: [Haskell-cafe] Maintainer of fixpoint

2012-12-05 Thread kudah
On Wed, 5 Dec 2012 20:22:32 +0100 Petr P wrote: > Or is there a way how to take over an orphaned package? You can just upload a new version, if you're sure that the original maintainer won't protest. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.

Re: [Haskell-cafe] QuickCheck shrink

2012-12-05 Thread Roman Cheplyaka
* warrensomeb...@gmail.com [2012-12-05 12:21:52-0800] > Can someone point me at some documentation or examples of how to write > and use a QuickCheck shrink function. I can't seem to find anything > online. Thanks, Did you try to look at the instances defined in the package itself? Roman __

Re: [Haskell-cafe] Maintainer of hgettext

2012-12-05 Thread Roman Cheplyaka
* Ivan Perez [2012-12-05 17:59:26+] > Hello haskellers, > > A few months ago I sent an email to Vasyl Pasternak regarding a couple > of bugs in hgettext [1], together with a small patch that fixes them. > > I never received an answer and I can see that the error persists. Does > anyone know

Re: [Haskell-cafe] The end of an era, and the dawn of a new one

2012-12-05 Thread Johan Tibell
On Wed, Dec 5, 2012 at 12:37 PM, David Terei wrote: > I have always considered the LLVM code generator my responsibility and > will continue to do so. I don't seem to find the time to make > improvements to it but make sure to keep it bug free and working with > the latest LLVM releases. So if oth

[Haskell-cafe] QuickCheck shrink

2012-12-05 Thread warrensomebody
Can someone point me at some documentation or examples of how to write and use a QuickCheck shrink function. I can't seem to find anything online. Thanks, Warren ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listi

[Haskell-cafe] Maintainer of fixpoint

2012-12-05 Thread Petr P
Dear Haskellers, I've made some minor improvements of fixpoint package < http://hackage.haskell.org/package/fixpoint>. I tried to contact the original maintainer twice, but without success. The package hasn't been updated for 4 years. How should I proceed? Should I start a new fork of the packa

Re: [Haskell-cafe] Best approach to avoid dependency hells

2012-12-05 Thread Jason Dagit
On Wed, Dec 5, 2012 at 10:52 AM, Ivan Perez wrote: > Hello everyone, > > I've spent the last couple of days fighting my way around a dependency > hell with my own libraries and packages. > > If I install them package by package (by hand), I'm very likely to hit > one of these conflicts that I'm ta

[Haskell-cafe] Best approach to avoid dependency hells

2012-12-05 Thread Ivan Perez
Hello everyone, I've spent the last couple of days fighting my way around a dependency hell with my own libraries and packages. If I install them package by package (by hand), I'm very likely to hit one of these conflicts that I'm talking about. A simple example of something that did happen: - Pa

Re: [Haskell-cafe] Maintainer of hgettext

2012-12-05 Thread Felipe Almeida Lessa
Did you try pinging him again? On Wed, Dec 5, 2012 at 3:59 PM, Ivan Perez wrote: > Hello haskellers, > > A few months ago I sent an email to Vasyl Pasternak regarding a couple > of bugs in hgettext [1], together with a small patch that fixes them. > > I never received an answer and I can see that

[Haskell-cafe] Maintainer of hgettext

2012-12-05 Thread Ivan Perez
Hello haskellers, A few months ago I sent an email to Vasyl Pasternak regarding a couple of bugs in hgettext [1], together with a small patch that fixes them. I never received an answer and I can see that the error persists. Does anyone know where he is? What would you recommend at this point? C

[Haskell-cafe] The end of an era, and the dawn of a new one

2012-12-05 Thread Simon Peyton-Jones
Friends You'll have seen Simon Marlow's recent announcement (included below): | Today I'm announcing that I'm leaving Microsoft Research. Simon Marlow and I have worked together on GHC for nearly two decades. During much of that time we have shared a cup of coffee every morning (one cup each, si

[Haskell-cafe] Are there REPA linear algebra routines? e.g. Eigenvalues?

2012-12-05 Thread KC
:) -- -- Regards, KC ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Design of a DSL in Haskell

2012-12-05 Thread Tillmann Rendel
Hi Joerg, Joerg Fritsch wrote: I am interested in the definition of deep vs shallow embedded I would say: In shallow embedding, a DSL is implemented as a library. Every keyword of the DSL is a function of the library. The implementation of the function directly computes the result of executin

Re: [Haskell-cafe] Design of a DSL in Haskell

2012-12-05 Thread Kim-Ee Yeoh
Joerg, For definitions I'd search for Andres Loeh and "haskell edsl". His PDF slides also have code examples which'll help. Lennart also gave a talk this year titled "making edsls fly". The video is on the web. If you have specific questions bring them to the list! The community is a tremendous

Re: [Haskell-cafe] RFC: Changes to Travis CI's Haskell support

2012-12-05 Thread Simon Hengel
On Mon, Dec 03, 2012 at 08:13:42AM -0800, Johan Tibell wrote: > On Mon, Dec 3, 2012 at 1:04 AM, Simon Hengel wrote: > > I think the right thing to do is: > > > > install: > > - cabal install --only-dependencies --enable-tests > > > > script: > > - cabal configure --enable-tests