Re: [GHC] #3434: improve vi tags (add non-exported symbols, add tag kinds, add regex tags)

2009-09-12 Thread GHC
#3434: improve vi tags (add non-exported symbols, add tag kinds, add regex tags) -+-- Reporter: phercek |Owner: simonmar Type: feature request | Status: new

Re: [GHC] #3486: Data.ByteString.elemIndices causes SEGV

2009-09-12 Thread GHC
#3486: Data.ByteString.elemIndices causes SEGV ---+ Reporter: nwn |Owner: igloo Type: bug | Status: new Priority: normal |Milestone: 6.12.1

Re: [GHC] #3487: Data.ByteString.Lazy.elemIndices returns wrong results

2009-09-12 Thread GHC
#3487: Data.ByteString.Lazy.elemIndices returns wrong results ---+ Reporter: nwn |Owner: duncan Type: bug | Status: new Priority: normal

[GHC] #3506: Can't compile 6.10.x from 6.8.3

2009-09-12 Thread GHC
#3506: Can't compile 6.10.x from 6.8.3 -+-- Reporter: Pandarus | Owner: Type: bug | Status: new Priority: normal| Component: Compiler Version: 6.8.3

Re: [GHC] #3506: Can't compile 6.10.x from 6.8.3

2009-09-12 Thread GHC
#3506: Can't compile 6.10.x from 6.8.3 ---+ Reporter: Pandarus|Owner: Type: bug | Status: closed Priority: normal |Milestone: Component:

[GHC] #3507: In TH, allow e.g. (type T) rather than ''T

2009-09-12 Thread GHC
#3507: In TH, allow e.g. (type T) rather than ''T ---+ Reporter: igloo | Owner: Type: feature request | Status: new Priority: normal|

Re: [GHC] #3493: make install fails with error on rts/Config.h in HEAD

2009-09-12 Thread GHC
#3493: make install fails with error on rts/Config.h in HEAD -+-- Reporter: guest |Owner: igloo Type: bug | Status: new Priority: normal

Re: [GHC] #3493: make install fails with error on rts/Config.h in HEAD

2009-09-12 Thread GHC
#3493: make install fails with error on rts/Config.h in HEAD -+-- Reporter: guest |Owner: igloo Type: bug | Status: new Priority: high

Re: [GHC] #3481: Nightly snapshot fails to install

2009-09-12 Thread GHC
#3481: Nightly snapshot fails to install ---+ Reporter: dons|Owner: igloo Type: bug | Status: new Priority: high|Milestone: 6.12.1

[Haskell] Haskell Weekly News: Issue 130 - September 12, 2009

2009-09-12 Thread Joe Fredette
--- Haskell Weekly News http://sequence.complete.org/hwn/20090912 Issue 130 - September 12, 2009 --- Welcome to issue 130 of HWN, a newsletter

Re: [Haskell-cafe] ANNOUNCE: A Levenberg-Marquardt implementation

2009-09-12 Thread Khudyakov Alexey
В сообщении от Четверг 10 сентября 2009 17:21:40 автор Bas van Dijk написал: We like to announce the release of a Haskell binding to Manolis Lourakis's C levmar library bindings-levmar fails to configure on debian testing with following message: $ cabal install bindings-levmar Resolving

Re: [Haskell-cafe] ANNOUNCE: Palindromes 0.1

2009-09-12 Thread Johan Jeuring
Hi Henning, Thanks for the many suggestions. On Sun, 6 Sep 2009, Johan Jeuring wrote: The primary features of Palindromes include: * Linear-time algorithm for finding exact palindromes * Linear-time algorithm for finding text palindromes, ignoring spaces, case of characters, and

Re: [Haskell-cafe] Just to let people know

2009-09-12 Thread Don Stewart
jefferson.r.heard: lhs2TeX does not compile with the latest version of base. complaints about Control.Exception abound Adding --constraint='base4' helps. That's what the Arch Linux package uses: http://aur.archlinux.org/packages.php?ID=12648

Re: [Haskell-cafe] Just to let people know

2009-09-12 Thread Jeff Heard
I know, but I'm not the package maintainer... I didn't mean it couldn't be installed, just that it didn't compile out of the box On Sat, Sep 12, 2009 at 6:19 AM, Don Stewart d...@galois.com wrote: jefferson.r.heard: lhs2TeX does not compile with the latest version of base.  complaints about

Re: [Haskell-cafe] ANNOUNCE: A Levenberg-Marquardt implementation

2009-09-12 Thread Xiao-Yong Jin
Khudyakov Alexey alexey.sklad...@gmail.com writes: В сообщении от Четверг 10 сентября 2009 17:21:40 автор Bas van Dijk написал: We like to announce the release of a Haskell binding to Manolis Lourakis's C levmar library bindings-levmar fails to configure on debian testing with following

[Haskell-cafe] Re: Darcs and NFS Resolution

2009-09-12 Thread Trent W. Buck
[Due to circumstances beyond my control, I cannot CC the OP. Sorry.] Jason Dagit da...@codersbase.com writes: [Darcs] assumes that when your OS is [POSIX], all your mounted volumes will natively support POSIX. Some CIFS servers (namely, Samba) *do* implement POSIX semantics. I take it to OP

Re: [Haskell-cafe] Re: Darcs and NFS Resolution

2009-09-12 Thread Max Rabkin
On Sat, Sep 12, 2009 at 5:22 PM, Trent W. Buck trentb...@gmail.com wrote: Ew.  I'm not keen on calling mv(1) to handle each rename, let alone via sh (which WILL explode on some paths, and allow injection attacks). rawSystem does not use sh (hence the raw) --Max

[Haskell-cafe] Re: Darcs and NFS Resolution

2009-09-12 Thread Petr Rockai
trentb...@gmail.com (Trent W. Buck) writes: I'm also puzzled as to why this works -- surely mv(1) assumes POSIX semantics, too? I would be interested in seeing the exact error transcript, preferably as an issue on bugs.d.n. I'm not sure the problem has been diagnosed correctly. Well, not

[Haskell-cafe] Haskell Weekly News: Issue 130 - September 12, 2009

2009-09-12 Thread Joe Fredette
--- Haskell Weekly News http://sequence.complete.org/hwn/20090912 Issue 130 - September 12, 2009 --- Welcome to issue 130 of HWN, a newsletter

[Haskell-cafe] why these two are not equivalent?

2009-09-12 Thread Diego Souza
Hi, I was trying to solve a simple problem in SPOJ, however, after two weeks trying almost everything I could think of, I was still getting WrongAnswer. Then I decided to do the same thing in C++ and I really got puzzled when I got ACcepted. I tried to understand what was different without

HECC License (was: [Haskell-cafe] Haskell Weekly News: Issue 130 - September 12, 2009)

2009-09-12 Thread Thomas DuBuisson
  hecc-0.1. Marcel Fourn√© [5]announced the first release of hecc, the   Elliptic Curve Cryptography Library for Haskell. Implemented are   affine, projective, jacobian and modified jacobian point formats with   the basic operations. Included as an Example is a basic ECDH as well as   a basic

Re: [Haskell-cafe] why these two are not equivalent?

2009-09-12 Thread Jason Dagit
On Sat, Sep 12, 2009 at 12:08 PM, Diego Souza dso...@bitforest.org wrote: Hi, I was trying to solve a simple problem in SPOJ, however, after two weeks trying almost everything I could think of, I was still getting WrongAnswer. Then I decided to do the same thing in C++ and I really got

Re: [Haskell-cafe] why these two are not equivalent?

2009-09-12 Thread Jason Dagit
On Sat, Sep 12, 2009 at 12:46 PM, Jason Dagit da...@codersbase.com wrote: On Sat, Sep 12, 2009 at 12:08 PM, Diego Souza dso...@bitforest.orgwrote: Hi, I was trying to solve a simple problem in SPOJ, however, after two weeks trying almost everything I could think of, I was still getting

Re: [Haskell-cafe] why these two are not equivalent?

2009-09-12 Thread Diego Souza
Looks like the output should be sorted. The C++ version does this with the iterator over mapstring, int implicitly. I don't spot where your haskell version sorts the output. There could be other problems, that's just what I can notice in 2 minutes of looking. Good luck! Jason, I

Re: [Haskell-cafe] instance Monad (Either String) in Prelude or Data.Either?

2009-09-12 Thread Henning Thielemann
Evan Laforge schrieb: On Fri, Sep 11, 2009 at 6:10 AM, Edward Kmett ekm...@gmail.com wrote: Unfortunately, the instance of Monad for Either a is somewhat misguided in Haskell. There is a spurious restraint that the Left value in your Either be a member of some Error class, which was brought

Re: [Haskell-cafe] Re: Darcs and NFS Resolution

2009-09-12 Thread Brandon S. Allbery KF8NH
On Sep 12, 2009, at 11:22 , Trent W. Buck wrote: Jason Dagit da...@codersbase.com writes: which ensures that when the operating system is not WIN32, that renaming of files will be performed by the OS shell. I'm also puzzled as to why this works -- surely mv(1) assumes POSIX semantics, too? I

Re: [Haskell-cafe] Re: Darcs and NFS Resolution

2009-09-12 Thread Ganesh Sittampalam
On Sat, 12 Sep 2009, Brandon S. Allbery KF8NH wrote: On Sep 12, 2009, at 11:22 , Trent W. Buck wrote: Jason Dagit da...@codersbase.com writes: which ensures that when the operating system is not WIN32, that renaming of files will be performed by the OS shell. I'm also puzzled as to why this

Re: [Haskell-cafe] Re: Darcs and NFS Resolution

2009-09-12 Thread Brandon S. Allbery KF8NH
On Sep 12, 2009, at 18:24 , Ganesh Sittampalam wrote: On Sat, 12 Sep 2009, Brandon S. Allbery KF8NH wrote: In order to handle the case where you're moving across filesystems, mv(1) gracefully degrades to cp + rm. rename(2) does not. This also happens to work around compatibility issues

Re: [Haskell-cafe] instance Monad (Either String) in Prelude or Data.Either?

2009-09-12 Thread Edward Kmett
You could, but then you need overlapping instances to define the one in Control.Monad.Error. -Edward Kmett On Sat, Sep 12, 2009 at 4:26 PM, Henning Thielemann lemm...@henning-thielemann.de wrote: Evan Laforge schrieb: On Fri, Sep 11, 2009 at 6:10 AM, Edward Kmett ekm...@gmail.com wrote:

[Haskell-cafe] flexible contexts problem

2009-09-12 Thread Sean McLaughlin
I'm having trouble understanding the following behavior. The following program compiles: {-# OPTIONS_GHC -XMultiParamTypeClasses -XFlexibleContexts #-} import Control.Monad.State class Has α s where has :: s - (α, s) project :: (MonadState s m, Has α s) = m α project = do (α, s) - gets has

Re: [Haskell-cafe] flexible contexts problem

2009-09-12 Thread Luke Palmer
2009/9/12 Sean McLaughlin sean...@gmail.com: I'm having trouble understanding the following behavior.  The following program compiles: {-# OPTIONS_GHC -XMultiParamTypeClasses -XFlexibleContexts  #-} import Control.Monad.State class Has α s where   has :: s - (α, s) project :: (MonadState s

Re: [Haskell-cafe] flexible contexts problem

2009-09-12 Thread Brandon S. Allbery KF8NH
On Sep 12, 2009, at 20:17 , Sean McLaughlin wrote: However, if you replace the function f with f :: (MonadState s m, Has Int s) = m Int f = do x - project y - project return x then it fails with the error Could not deduce (Has α s) from the context (MonadState s

Re: [Haskell-cafe] flexible contexts problem

2009-09-12 Thread Sean McLaughlin
Ah, I see. Thanks very much. For some reason I figured the second type would be resolved to Int, but now I see that is totally wrong. Best, Sean On Sat, Sep 12, 2009 at 8:34 PM, Brandon S. Allbery KF8NH allb...@ece.cmu.edu wrote: On Sep 12, 2009, at 20:17 , Sean McLaughlin wrote: However,

[Haskell-cafe] [ANNOUNCE] A statistics library

2009-09-12 Thread Bryan O'Sullivan
I'm pleased to announce a new Haskell statistics library, imaginatively named statistics http://hackage.haskell.org/package/statistics: http://hackage.haskell.org/package/statistics - Support for common discrete and continuous probability distributions (binomial, gamma, exponential,

[Haskell-cafe] yhc compiled hbc

2009-09-12 Thread Fernan Bolando
Hi all Are there any yhc users here? Can anybody send me a precompiled yhc cross-platform hbc file? regards fernan -- http://www.fernski.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe