[Haskell-cafe] Re: Using Collections: ElemsView and KeysView

2007-08-20 Thread Jean-Philippe Bernardy
foldr on ElemsView is defined as such: foldr f i (ElemsView c) = foldr (f . snd) i c so, for example: getElementList = toList . ElemViews When I designed this code (some years ago), I didn't like the fold of Map to have the type: fold :: (a - b - b) - b - Map k a - b This just doesn't

[Haskell-cafe] Categories in base

2007-10-14 Thread Jean-Philippe Bernardy
Hello folks, Prompted by Ashley's proposal for Category class, I came up with the following module, which gives a summary of the overloading situation in the base package. Maybe it can help people find their way through all the available names... Failing that it surely was fun to come up with. :)

[Haskell-cafe] Re: [Haskell] ANNOUNCE: parsec2 - a fork or parsec circa 2.1

2010-08-02 Thread Jean-Philippe Bernardy
Can you explain why you could not use the parsec name, with revision number (say) 2.2? This would help improve hackage/cabal/... versioning mechanism. Thanks, JP. On Mon, Aug 2, 2010 at 4:27 AM, Antoine Latter aslat...@gmail.com wrote: Hello, I would like to announce the parsec2 package,

[Haskell-cafe] Re: StringMap

2005-12-25 Thread jean-philippe bernardy
Christian Maeder maeder at tzi.de writes: Hi, could I ask you for efficient StringMap implementations, i.e. based on tries or hash keys? It's mainly for the sake of interest. In the (not too distant) future I'd like to see a library module Data.MapString along the lines of Data.Map

[Haskell-cafe] Re: Efficient Sets for Small Enumerations

2006-04-03 Thread Jean-Philippe Bernardy
David F. Place d at vidplace.com writes: I'm currently writing and evolution to the standard collection package that can be found here: http://darcs.haskell.org/packages/collections/ We integrate your module there. What would you say? Cheers, JP.

Re: [Haskell-cafe] Efficient Sets for Small Enumerations

2006-04-03 Thread Jean-Philippe Bernardy
On 4/3/06, David F. Place [EMAIL PROTECTED] wrote: On Apr 3, 2006, at 1:31 PM, Benjamin Franksen wrote: wondered about the Ord instance. Wouldn't it be faster to compare (word-) representations? I thought about that some. Since the set representation is based completely on the

[Haskell-cafe] RFC: Unicode support in Alex

2009-07-29 Thread Jean-Philippe Bernardy
Hello, I have modified the Alex lexer generator to support unicode. The general idea is that the state-machine works on the UTF8 representation of the text. I submit my work here for review in order to off-load the maintainer (Simon Marlow) as far as possible. The prototype is available on

[Haskell-cafe] ANN: Yi 0.4.1

2008-07-27 Thread Jean-Philippe Bernardy
://code.google.com/p/yi-editor/wiki/ReleaseNotes0o4 == Acks == This release is brought to you by: Allan Clark Andrew Birkett Corey O'Connor Duncan Coutts Evan Martin Fraser Wilson Gustav Munkby Gwern Branwen Jean-Philippe Bernardy Krasimr Angelov Nicolas Pouillard Sean Leather Thomas Schilling

[Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-27 Thread Jean-Philippe Bernardy
Niklas Broberg niklas.broberg at gmail.com writes: Hi Jean-Philippe, Using cabal install: cabal install yi-0.4.1 when I do this on my Windows machine, cabal-install tries to download the unix-2.3.0.0 package, which clearly won't work. How do I get yi to install on Windows?

[Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-27 Thread Jean-Philippe Bernardy
Don Stewart dons at galois.com writes: $ yi -f pango Launching custom yi: /home/dons/.yi/yi-x86_64-linux yi: exception :: System.Glib.GError.GError Anyone seen this? Consistently on x64. The pango stuff is generally unstable anyway. I'm not sure what's to blame. -- JP

[Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-27 Thread Jean-Philippe Bernardy
Niklas Broberg niklas.broberg at gmail.com writes: Thanks, after installing gtk2hs and using the flags you told me I managed to install it just fine. However... Good :) The pango stuff is generally unstable anyway. I'm not sure what's to blame. ... I got this error too, and I'm on

[Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-28 Thread Jean-Philippe Bernardy
Niklas Broberg niklas.broberg at gmail.com writes: The gtk frontend should not suffer from this: yi -fgtk C:\Documents and Settings\Niklas Brobergyi -fgtk yi: exception :: System.Glib.GError.GError I'm out of ideas. Maybe you could ask Krasimir Angelov, which did the win32 port.

[Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-28 Thread Jean-Philippe Bernardy
stefan kersten sk at k-hornz.de writes: any ideas what's going wrong? is it finally time to upgrade my ghc installation? Yep; I think this is fixed in later GHCs. -- JP ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: Functional references

2008-09-05 Thread Jean-Philippe Bernardy
I think it would be worth spending some time (on this mailing list, perhaps, or in another forum) trying to hash out a decent API which meets most people's requirements, rather than ending up with 4 or 5 slightly different ones. Indeed. I have my own version here:

[Haskell-cafe] Re: Semantic Domain, Function, and denotational model.....

2008-09-14 Thread Jean-Philippe Bernardy
Daryoush Mehrtash dmehrtash at gmail.com writes: I have been told that for a Haskell/Functional programmer the process of design starts with defining Semantic Domain, Function, and denotational model of the problem. I have done some googling on the topic but haven't found a good reference

[Haskell-cafe] Re: yi compiles but does not launches

2008-09-28 Thread Jean-Philippe Bernardy
Ahn, Ki Yung kyagrd at gmail.com writes: Custom yi (/home/kyagrd/.yi/yi-i386-linux) could not be launched! This is just fixed in the darcs repo. The custom file yi-i386-linux does not exist and I don't have any idea what that is. Yi tries to compile your config file as it starts. It was

[Haskell-cafe] Yi pre-release

2007-04-06 Thread Jean-Philippe Bernardy
://www.cse.unsw.edu.au/~dons/yi.html Patches, comments, criticism welcome... as always! -- Jean-Philippe Bernardy ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Yi pre-release

2007-04-06 Thread Jean-Philippe Bernardy
Michael Walter michael.walter at gmail.com writes: where would you get sourceview=0.9.11 for Win32? I guess http://haskell.org/gtk2hs/download/ I haven't tried myself, being a linux user. Maybe Duncan Coutts can tell you more, should it fail. Cheers, JP.

[Haskell-cafe] Re: Yi pre-release

2007-04-07 Thread Jean-Philippe Bernardy
Bas van Dijk v.dijk.bas at gmail.com writes: bas at bassbox ~/development/haskell/yi $ runhaskell Setup.hs build *** Exception: failed to extract ghc path from command line ... What can be the problem? regards, Bas van Dijk As Stephan mentioned, the easy solution is to use the

[Haskell-cafe] Re: Yi pre-release

2007-04-08 Thread Jean-Philippe Bernardy
Where can I find a filepath=1.0? The one I have from Neil Mitchell is version 0.11. You want filepath from http://darcs.haskell.org/packages/filepath/ Cheers, JP. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: Yi pre-release

2007-04-09 Thread Jean-Philippe Bernardy
Dominic Steinitz dominic.steinitz at blueyonder.co.uk writes: setup: Unrecognised flags: --disable-haddock-use-packages make[1]: *** [.setup-config] Error 1 make[1]: Leaving directory `/home/dom/yi/yi/packages/yi-vty' You can either upgrade to the latest Cabal repo, or pull the latest

[Haskell-cafe] Re: Fwd: Yi pre-release

2007-04-09 Thread Jean-Philippe Bernardy
Dominic Steinitz dominic.steinitz at blueyonder.co.uk writes: setup: ../../Yi/Syntax/Haskell.x: no alex preprocessor available You need Alex. http://www.haskell.org/alex/ JP, I assume this is the sort of feedback you want? Yes, it allows me to update the installation

[Haskell-cafe] Re: Fwd: Yi pre-release

2007-04-09 Thread Jean-Philippe Bernardy
Dominic Steinitz dominic.steinitz at blueyonder.co.uk writes: So make finds alex but make emacs doesn't. Try to do make clean at the toplevel to re-do a cabal configure. Cheers, JP. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: Fwd: Yi pre-release

2007-04-09 Thread Jean-Philippe Bernardy
Dominic Steinitz dominic.steinitz at blueyonder.co.uk writes: 1. ~/usr/bin isn't on my path. Clearly I can fix. You can install the cabal packages for everyone (ie. dropping --user) 2. Where should YiConfig.hs live? I know it's in examples but I don't want to copy it into every directory.

[Haskell-cafe] Re: Building Yi (and wider Cabal stuff)

2007-06-17 Thread Jean-Philippe Bernardy
Michael T. Richter ttmrichter at gmail.com writes: I am Yi maintainer, and therefore responsible for this mess :) The Yi build is rather involved (due among others to its dynamic nature), and to make things worse, the build procedure is not up to date. I'm working on simplifying things though.

[Haskell-cafe] Re: Building Yi (and wider Cabal stuff)

2007-06-17 Thread Jean-Philippe Bernardy
Michael T. Richter ttmrichter at gmail.com writes: OK, got the builds to work. I did, in fact, have to go two layers down to build yi-lib and install it before building yi proper. (I think this needs to be updated in the docs or repaired, whichever is appropriate.) Please provide (doc)

[Haskell-cafe] Re: IDE?

2007-06-17 Thread Jean-Philippe Bernardy
Claus Reinke claus.reinke at talk21.com writes: This was followed by Ermacs, a concurrent Emacs clone written completely in Erlang. Ermacs is fairly complete – it has major modes for Erlang and Scheme programming, a built-in Erlang shell, and support for efficiently

Re: [Haskell-cafe] mtl-2.1 severly broken, cabal needs blacklisting

2012-11-13 Thread Jean-Philippe Bernardy
My take: Blacklisting equals releasing a bugfix. Using version number conventions, identifying such a release should be easy. If there exists a bugfix release for a package currently in use, then cabal should emit a warning. Cheers, JP. On Nov 13, 2012 6:12 PM, Andreas Abel

Re: [Haskell-cafe] mtl-2.1 severly broken, cabal needs blacklisting

2012-11-13 Thread Jean-Philippe Bernardy
On Tue, Nov 13, 2012 at 11:39 PM, Andreas Abel andreas.a...@ifi.lmu.dewrote: On 13.11.12 11:13 PM, Jean-Philippe Bernardy wrote: Blacklisting equals releasing a bugfix. Not quite. I propose to *define* blacklisting as such. package-X.Y.Z.W is blacklisted if there exists package-X.Y.Z.V