Re: [Haskell-cafe] Re: internship opportunities in France

2010-11-08 Thread Yves Parès
Yes, I saw this offer. Very, very interesting, but the duration of the internship wasn't specified. By summer, I thought you meant July/August, didn't you? But we are looking for a 6-month internship. 2010/11/8 Lee Pike leep...@gmail.com Hi, On a (possibly-related) note: Galois, Inc. and the

[Haskell-cafe] Best practices for Text

2010-11-08 Thread Ivan Lazar Miljenovic
With the recent discussions on the libraries mailing list about the API of Bryan O'Sullivan's text library, and the fact that I'm looking at using it soon for the first time, are there any recommended best practices or tips tricks people have come up with? For starters, I'm considering writing a

[Haskell-cafe] Error installing hp2any-graph on Snow Leopard

2010-11-08 Thread Mark Spezzano
Hi, I get the following error when doing a 'cabal install hp2any-graph' (the profiling tool) Does anyone know why? (I'm running Snow Leopard and I've tried using other flags suggested...but with no success). GLUT is already installed via MacPorts and via cabal. Resolving dependencies...

Re: [Haskell-cafe] Error installing hp2any-graph on Snow Leopard

2010-11-08 Thread Ivan Lazar Miljenovic
On 8 November 2010 20:14, Mark Spezzano mark.spezz...@chariot.net.au wrote: Hi, I get the following error when doing a 'cabal install hp2any-graph' (the profiling tool) Does anyone know why? (I'm running Snow Leopard and I've tried using other flags suggested...but with no success). GLUT

Re: [Haskell-cafe] Error installing hp2any-graph on Snow Leopard

2010-11-08 Thread Mark Spezzano
Hi Ivan, I don't think that these flags work with MacPorts--only with cabal. Mark On 08/11/2010, at 7:48 PM, Ivan Lazar Miljenovic wrote: On 8 November 2010 20:14, Mark Spezzano mark.spezz...@chariot.net.au wrote: Hi, I get the following error when doing a 'cabal install hp2any-graph' (the

[Haskell-cafe] ANNOUNCE: seal-module

2010-11-08 Thread Joachim Breitner
Hi Cafe, for those who are not following planet haskell: I uploaded a module providing a template haskell solution to the configuration problem to hackage: http://hackage.haskell.org/package/seal-module It turns the style you prefer to write in (pure code that uses configuration values as if they

Re: [Haskell-cafe] Error installing hp2any-graph on Snow Leopard

2010-11-08 Thread Ivan Lazar Miljenovic
On 8 November 2010 20:29, Mark Spezzano mark.spezz...@chariot.net.au wrote: Hi Ivan, I don't think that these flags work with MacPorts--only with cabal. Right: use them to tell Cabal where MacPorts installs libraries. I'm not sure how MacPorts does packaging, so you may require to install a

Re: [Haskell-cafe] Best practices for Text

2010-11-08 Thread malcolm.wallace
For starters, I'm considering writing a polyparse [1] instance for Text. However, even with the current Bytestring instances for polyparse there seems to be an emphasis on character-based parsing.Polyparse is not very character-oriented at all; I tend to write a separate lexer, and then write the

Re: [Haskell-cafe] Best practices for Text

2010-11-08 Thread Ivan Lazar Miljenovic
On 8 November 2010 21:28, malcolm.wallace malcolm.wall...@me.com wrote: When case is irrelevant, I tend to (map toUpper) over both the input stream, and any textual arguments to individual parsers. That won't quite work in my case: I need to keep arguments in the provided case, but the actual

Re: [Haskell-cafe] How can I use MACID in my existing application?

2010-11-08 Thread Corentin Dupont
Thanks a lot Jeremy. That was also what I finally understood. I cannot coerce MACID into using my monads. Instead, in each of my methods, I have to extract the update and query parts, put them into different functions, and then register these functions into the MACID system. Well, this is a bit

Re: [Haskell-cafe] Re: internship opportunities in France

2010-11-08 Thread Lee Pike
Yves, On Nov 8, 2010, at 0:21, Yves Parès limestr...@gmail.com wrote: Yes, I saw this offer. Very, very interesting, but the duration of the internship wasn't specified. By summer, I thought you meant July/August, didn't you? But we are looking for a 6-month internship. You are correct.

Re: [Haskell-cafe] Compiler constraints in cabal

2010-11-08 Thread Rogan Creswick
On Sun, Nov 7, 2010 at 3:58 PM, wren ng thornton w...@freegeek.org wrote: On 11/7/10 11:54 AM, Henning Thielemann wrote: Awful - I would not like to complicate my Cabal files this way. This is like copying the Build-Depends enumeration to all depending packages. Oh, I agree :) I wonder if

[Haskell-cafe] ANN: cil-0.1.0

2010-11-08 Thread Tom Hawkins
CIL (C Intermediate Language) [1], not to be confused with the Common Intermediate Language, is a mature OCaml library that parses and reduces C programs down to a simplified subset of the C language, making it easier to analyze and compile C programs. This library [2, 3] parses these results,

[Haskell-cafe] ANN: Copilot 0.25

2010-11-08 Thread Lee Pike
Copilot[1] is a dataflow stream language built on Atom[2] for writing hard real-time C monitors of embedded systems. Copilot is a Haskell eDSL. The current release includes the following improvements: * Added true false Specs (Spec Bool). * Removed generic const -- unneeded, since Spec is

Re: [Haskell-cafe] ANN: cil-0.1.0

2010-11-08 Thread namekuseijin
I can see some haskellers grinding their teeth and hurrying to make their own rewrite of CIL itself in haskell. On Mon, Nov 8, 2010 at 3:07 PM, Tom Hawkins tomahawk...@gmail.com wrote: CIL (C Intermediate Language) [1], not to be confused with the Common Intermediate Language, is a mature OCaml

Re: [OT] Re: [Haskell-cafe] Haskell is a scripting language inspired by Python.

2010-11-08 Thread namekuseijin
On Thu, Nov 4, 2010 at 2:27 PM, Dan Doel dan.d...@gmail.com wrote: On Thursday 04 November 2010 12:12:51 pm Jeremy O'Donoghue wrote: Best laugh I've had in ages. Personal favourites are: The Forth one got me. I also like: OCaml: OCaml is an attempt to implement object-oriented syntax in

Re: [Haskell-cafe] Re: Haskell is a scripting language inspiredby Python.

2010-11-08 Thread namekuseijin
On Fri, Nov 5, 2010 at 6:42 AM, Ketil Malde ke...@malde.org wrote: Luke Palmer lrpal...@gmail.com writes:  To us, scripting meant short, potent code that rolled off your fingers and into the computers mind, compelling it to do your job with reverence to the super power you truly are. Just

[Haskell-cafe] Haskell meeting in Berlin on Tuesday Nov 9th

2010-11-08 Thread Daniel van den Eijkel
Hi everybody, just wanted to send this again to the list - it's tomorrow. Cheers Daniel Am 10/31/10 6:30 PM, schrieb Sönke Hahn: I can confirm the next meeting: Date: Tuesday, November 9th Time: from 20:00 Location: c-base, Rungestrasse 20, 10179 Berlin I was asked by some people from

[Haskell-cafe] status (Re: [issue1002] darcs support for ohloh)

2010-11-08 Thread Simon Michael
Current status of http://etherpad.osuosl.org/ohloh-darcs-support (http://bugs.darcs.net/issue1002): I got the ohloh_scm darcs adapter tests passing and now we are awaiting review from Ohloh, which could take a while as they are still in transition. If you wish, add your support to

Re: [Haskell-cafe] Haskell is a scripting language inspired by Python.

2010-11-08 Thread Gregg Reynolds
On Thu, Nov 4, 2010 at 4:48 PM, Richard O'Keefe o...@cs.otago.ac.nz wrote: On 4/11/2010, at 9:08 PM, Stephen Tetley wrote: Did Haskell get significant whitespace from Python - doubtful as Python possibly wasn't visible enough at the time, but you never know. Python did not originate

[Haskell-cafe] Re: Mysterious fact

2010-11-08 Thread Ertugrul Soeylemez
Andrew Coppin andrewcop...@btinternet.com wrote: The other day, I accidentally came up with this: |{-# LANGUAGE RankNTypes #-} type Either x y= forall r. (x - r) - (y - r) - r left :: x - Either x y left x f g= f x right :: y - Either x y right y f g= g y This is one

[Haskell-cafe] Re: change in overlapping instance behavior between GHC 6.12 and GHC 7 causes compilation failure

2010-11-08 Thread Jeremy Shaw
Hello, I have narrowed this down further to a single file. And created a trac bug for it: http://hackage.haskell.org/trac/ghc/ticket/4485 This is (the only thing?) holding up HSP and happstack moving to GHC 7. - jeremy On Tue, Nov 2, 2010 at 5:36 PM, Jeremy Shaw jer...@n-heptane.com wrote:

[Haskell-cafe] new version of the mtl package

2010-11-08 Thread Ross Paterson
After lengthy discussion on the libraries list, the mtl package has been updated to depend on the transformers package, from which mtl re-exports the monad transformers and the MonadTrans and MonadIO classes. This makes the two packages compatible. The monads-fd package is now a deprecated stub

Re: [Haskell-cafe] Re: Decoupling type classes (e.g. Applicative)?

2010-11-08 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/3/10 21:30 , Maciej Piechotka wrote: On Tue, 2010-11-02 at 21:57 -0400, Brandon S Allbery KF8NH wrote: On 10/29/10 09:35 , Dominique Devriese wrote: * Only introduce a dependency from type class A to type class B if all functions in type

[Haskell-cafe] Francisco Vieira Souza deixou uma mensa gem para você no Badoo!

2010-11-08 Thread Badoo
Você tem uma nova mensagem em Badoo! Francisco Vieira Souza deixou uma mensagem pra você. Siga este link para abrir: http://us1.badoo.com/01121329442/in/nYfwm9FNeVQ/?lang_id=61 Mais gente que espera pacientemente por você: Douglas Levita (Teresina, Brasil) Naikely (Teresina, Brasil) Paula Hullek

Re: [Haskell-cafe] Re: Haskell is a scripting language inspiredby Python.

2010-11-08 Thread Tom Davies
On 05/11/2010, at 4:11 PM, Luke Palmer wrote: Also they don't scale well, which I guess means that they don't make it inconvenient to design badly. And they don't communicate enough information about the preconditions/postconditions of their functions to easily allow large programs to

[Haskell-cafe] iMAP library

2010-11-08 Thread A Smith
I'm looking for a Haskell library to allow me to access an IMAP mailbox. Anyone know of one I could use ? -- Andrew ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Combining wl-pprint and ByteString?

2010-11-08 Thread Mark Spezzano
Hi all, I want to do the following tasks in this order: 1. Read text from standard input (should this be stored internally in my program as a ByteString or as a String?) 2. Process the text via left justifying it and making it word-wrap (again, internally, should I store this as a ByteString

Re: [Haskell-cafe] Combining wl-pprint and ByteString?

2010-11-08 Thread Ivan Lazar Miljenovic
On 9 November 2010 17:53, Mark Spezzano mark.spezz...@chariot.net.au wrote: Hi all, I want to do the following tasks in this order: 1. Read text from standard input (should this be stored internally in my program as a ByteString or as a String?) 2. Process the text via left justifying it

Re: [Haskell-cafe] iMAP library

2010-11-08 Thread Robert Wills
http://hackage.haskell.org/package/HaskellNet On Tue, Nov 9, 2010 at 6:16 AM, A Smith asmith9...@gmail.com wrote: I'm looking for a Haskell library to allow me to access an IMAP mailbox. Anyone know of one I could use ? -- Andrew ___ Haskell-Cafe