[Haskell-cafe] cannot install regex-posix using cabal ?

2010-12-10 Thread z_axis
%ghc-pkg list|grep -i regex regex-base-0.93.2 %cabal install regex-posix Resolving dependencies... Configuring regex-posix-0.94.4... Preprocessing library regex-posix-0.94.4... running dist/build/Text/Regex/Posix/Wrap_hsc_make failed command was: dist/build/Text/Regex/Posix/Wrap_hsc_make >di

[Haskell-cafe] ANN: archiver 0.1 and 0.2

2010-12-10 Thread Gwern Branwen
I'd like to announce a small utility and library which builds on my WebArchive plugin for gitit: archiver http://hackage.haskell.org/package/archiver Source is available via `darcs get http://community.haskell.org/~gwern/archiver/`. The library half is a simple wrapper around the appropriate HTTP

Re: [Haskell-cafe] ANN: Digestive functors 0.0.2.0

2010-12-10 Thread Larry Evans
On 12/10/10 10:38, Jasper Van der Jeugt wrote: > Hello, > > Thanks for the error report. Is blaze-html installed correctly? Could > you cabal install blaze-html and verify that you can import Text.Blaze > in ghci? > Here's the terminal session: --{--cut here-- /home/evansl/prog_dev/haskell/my-

Re: [Haskell-cafe] Haskell and javascript

2010-12-10 Thread Antoine Latter
One nice thing that WebSharp does is that you can annotate types and functions and then use them on both sides - on the client and on the server - almost transparently. Then you can write common utility functions once, but you only maintain one code-base and one build workflow. I haven't used it

Re: [Haskell-cafe] ANN: Digestive functors 0.0.2.0

2010-12-10 Thread Jasper Van der Jeugt
Hello, Thanks for the error report. Is blaze-html installed correctly? Could you cabal install blaze-html and verify that you can import Text.Blaze in ghci? Cheers, Jasper On Fri, Dec 10, 2010 at 5:07 PM, Larry Evans wrote: > On 12/09/10 16:46, Jasper Van der Jeugt wrote: >> Hello all, >> >> I'

Re: [Haskell-cafe] Haskell and javascript

2010-12-10 Thread aditya siram
HJScript[1] ? [1] http://hackage.haskell.org/package/HJScript-0.5.0 On Fri, Dec 10, 2010 at 9:52 AM, jean-christophe mincke wrote: > Hello, > I have just discovered WebSharp, a .Net product for web development that > allows you to write client code in F# and have it translated into > javascript.

Re: [Haskell-cafe] ANN: Digestive functors 0.0.2.0

2010-12-10 Thread Larry Evans
On 12/09/10 16:46, Jasper Van der Jeugt wrote: > Hello all, > > I'm very glad to announce the 0.0.2.0 release of the digestive > functors library. The library provides a general API to input > consumption, and is an upgrade of formlets. > > I've written an announcing blogpost and tutorial with mo

[Haskell-cafe] Haskell and javascript

2010-12-10 Thread jean-christophe mincke
Hello, I have just discovered WebSharp, a .Net product for web development that allows you to write client code in F# and have it translated into javascript. Does anyone know about somethig similar in Haskell? Thank you Regards J-C ___ Haskell-Cafe

Re: [Haskell-cafe] haskell-2010 binary IO

2010-12-10 Thread John Millikin
Haskell supports binary IO via openBinaryFile, hGetBuf, and hPutBuf . Advanced types like ByteString or Binary are not part of Haskell 2010, I assume because they're too complex to be part of the language standard. On Thu, Dec 9, 2010 at 23:14, Permjacov Evgeniy wrote: > Does haskell 2010 include

Re: [Haskell-cafe] haskell flickr bindings: "invalid signature" when uploading

2010-12-10 Thread Dougal Stanton
Yes, that seems to be the reasonable assumption though I can't find any good changelogs for the api. Further investigation will have to wait until after the weekend :-) Cheers, D On Fri, Dec 10, 2010 at 12:51 PM, Stuart Dootson wrote: > > On 10 Dec 2010, at 12:39 PM, Dougal Stanton wrote: > >>

Re: [Haskell-cafe] haskell flickr bindings: "invalid signature" when uploading

2010-12-10 Thread Stuart Dootson
On 10 Dec 2010, at 12:39 PM, Dougal Stanton wrote: > I've mailed the maintainer of the flickr api package but thought I > would see if other people had this experience too. Google doesn't > reveal many people using this package as far as I can tell. > > In short, authentication works fine but u

[Haskell-cafe] haskell flickr bindings: "invalid signature" when uploading

2010-12-10 Thread Dougal Stanton
I've mailed the maintainer of the flickr api package but thought I would see if other people had this experience too. Google doesn't reveal many people using this package as far as I can tell. In short, authentication works fine but uploading images fails with this message. This happens with the i

[Haskell-cafe] Setting runtime memory limits on GHC programs to avoid thrashing

2010-12-10 Thread John D. Ramsdell
Enclosed is a simple script that sets GHCRTS and provides a reasonable memory limit on systems that have /proc/meminfo. By default, the GHC runtime will grow to a size that can cause thrashing. John memfree.sh Description: Bourne shell script ___ Hask

Re: [Haskell-cafe] GHC 7.0.1 developer challenges

2010-12-10 Thread John D. Ramsdell
Please excuse the grammar errors in my last post. I was very tired. The name of the package that supplies the free function on Linux is procps, not procpc. It's hosted on SourceForge. To compile my program, do the following: $ mv memfree.txt memfree.l $ make LDLIBS=-ll memfree John On Thu, De

Re: [Haskell-cafe] Missing Functor instances in GHC 7?

2010-12-10 Thread Sebastian Fischer
On Fri, 2010-12-10 at 08:33 +, Simon Peyton-Jones wrote: > If there's a consensus that the behaviour is wrong, or at least > unexpected, would you like to make a reproducible test case and file a > ticket? I took Erik's mail as indicator that the behaviour of GHCi is inconsistent and unexpect

Re: [Haskell-cafe] haskell-2010 binary IO

2010-12-10 Thread Michael Snoyman
On Fri, Dec 10, 2010 at 11:30 AM, Henning Thielemann wrote: > > On Fri, 10 Dec 2010, Permjacov Evgeniy wrote: > >> Does haskell 2010 include binary IO? If no, what was the reason? > > Isn't binary IO solved using ByteString and Binary packages - is there a > need to put them into the Haskell repor

Re: [Haskell-cafe] haskell-2010 binary IO

2010-12-10 Thread Henning Thielemann
On Fri, 10 Dec 2010, Permjacov Evgeniy wrote: Does haskell 2010 include binary IO? If no, what was the reason? Isn't binary IO solved using ByteString and Binary packages - is there a need to put them into the Haskell report? ___ Haskell-Cafe mai

Re: [Haskell-cafe] Missing Functor instances in GHC 7?

2010-12-10 Thread Erik Hesselink
On Fri, Dec 10, 2010 at 09:33, Simon Peyton-Jones wrote: > | Interestingly, if I import only Control.Applicative from within GHCi, it > | does not find the instances defined in Control.Monad.Instances although > | this module is imported in Control.Applicative. On the other hand, if I > | write a

Re: [Haskell-cafe] Missing Functor instances in GHC 7?

2010-12-10 Thread Simon Peyton-Jones
| Interestingly, if I import only Control.Applicative from within GHCi, it | does not find the instances defined in Control.Monad.Instances although | this module is imported in Control.Applicative. On the other hand, if I | write a file containing the line 'import Control.Applicative' and load | t