Re: [Haskell-cafe] :Trace has no history

2010-09-01 Thread Pepe Iborra
of your session below with your invocation of ghci. There might be something else going on. Thanks, pepe On Wednesday, September 1, 2010, Steve Severance st...@medwizard.net wrote: How do I tell? Does this mean that if the exception is occurring in a haskell library I can't get to it? I am trying

Re: [Haskell-cafe] :Trace has no history

2010-08-31 Thread Pepe Iborra
Hi Steve The debugger only traces calls in interpreted code. Perhaps the call to myMethod is being made from object code? Admittedly, the ghci debugger can take some effort to learn to use properly. Make sure that you give a look to the ghc user guide if you haven't done so yet. Best, pepe

Re: [Haskell-cafe] putStrLn ß

2010-08-16 Thread Pepe Gallardo
on Windows. Cheers, Pepe 2010/8/13 Henk-Jan van Tuyl hjgt...@chello.nl L.S., When I try putStrLn ß (Eszett (sharp S)) in WinGhci, the interpreter seems to have disappeared; ctrl-C gives the message Interrupted in a separate window, but no new prompt. When I start GHCi in a shell

[Haskell-cafe] Re: [Haskell] Woes on MacOS 10.6 - linking issues

2010-06-11 Thread Pepe Iborra
(moving to the cafe) There is an incompatibility between the version of iconv in Mac Os and the one included in MacPorts. As the RTS of the build of ghc in the Haskell Platform is linked against Mac Os iconv, you cannot use it with the build of gtk2hs from MacPorts. This is a known issue already

Re: [Haskell-cafe] WinGHCi stuck in a loop

2009-11-09 Thread Pepe Gallardo
WinGHCi options are stored under HKEY_CURRENT_USER\Software\Haskell\WinGhciversion in the Windows registry. Cheers, Pepe 2009/11/7 Henk-Jan van Tuyl hjgt...@chello.nl L.S., I changed the options in WinGHCi and now WinGHCi is stuck in a loop each time I start it; how can I edit the options

Fwd: [Haskell-cafe] Re: ANNOUNCE: WinGhci, a GUI for GHCI on Windows

2009-03-26 Thread Pepe Gallardo
-- Forwarded message -- From: Pepe Gallardo pepe.hask...@gmail.com Date: 2009/3/25 Subject: Re: [Haskell-cafe] Re: ANNOUNCE: WinGhci, a GUI for GHCI on Windows To: Benjamin L.Russell dekudekup...@yahoo.com Hi Benjamin*,* ** The only requirement to run WinGhci is to have GHC

Fwd: [Haskell-cafe] Re: ANNOUNCE: WinGhci, a GUI for GHCI on Windows

2009-03-26 Thread Pepe Gallardo
2009/3/23 Andrew Butterfield andrew.butterfi...@cs.tcd.ie Benjamin L.Russell wrote: This is wonderful--just what I was waiting for! The application looks beautiful, and I'm very happy that GHCi now has a matching GUI application along the lines of WinHugs. Indeed - me too ! It would be

[Haskell-cafe] ANNOUNCE: WinGhci, a GUI for GHCI on Windows

2009-03-23 Thread Pepe Gallardo
-D5EEC38F084A}mid://0003/!x-usc:http://winghci.googlecode.com/files/WinGhci-1.0-bin.zip Pepe Gallardo ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Comments from OCaml Hacker Brian Hurt

2009-01-15 Thread pepe
On 15/01/2009, at 23:27, Duncan Coutts wrote: On Thu, 2009-01-15 at 21:21 +, Andrew Coppin wrote: OK, well then my next question would be in what say is defining configuration files as a monoid superior to, uh, not defining them as a monoid? What does it allow you to do that you

Re: [Haskell-cafe] Associative Commutative Unification

2008-07-11 Thread Pepe Iborra
. I don't know what you are planning to do, but perhaps you'd be better served by Maude than by Haskell. The Maude language is a joy to use and version 2.4 with AC unification is (expectedly) being released next week in RTA. Cheers pepe [1] - http://cime.lri.fr

Re: [Haskell-cafe] Shim: finding modules

2008-04-17 Thread pepe
will locate the Cabal descriptor and auto configure itself from there. Does that solve your problem ? Cheers pepe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] monadic debugging

2008-04-16 Thread pepe
is extended to print the contents of IORefs automatically, which you may find useful too. Cheers, pepe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] retrospective on 'seq' - 'unsafeSeq' ?

2008-04-14 Thread pepe
be added given not too much | work. Yes, as you say, the debugger has most of the machinery. I just don't know what it'd take to make it a callable function. Pepe? Someone might want to make a feature-request ticket for this, with as much background and/or suggested design as poss

Re: [Haskell-cafe] announce: Glome.hs raytracer

2008-03-27 Thread pepe
increasing, even once it has run display once and is running it a second or third time. In my system the leak only appears with +RTS -N1 (which is the default). If I use -N2 or higher, then your version runs in constant memory with (parmap rnf). Cheers pepe

Re: [Haskell-cafe] ST Monad - what's wrong?

2007-12-09 Thread pepe
The typechecker in 6.6.1 gets confused by the ($) and loses track of the 'freeness' of s (the thread variable) . The same code should work fine in 6.8.1, or alternatively in 6.6.1 without the ($). Cheers pepe On 09/12/2007, at 12:11, Nicu Ionita wrote: Hi, I'm trying to use the ST monad

Re: [Haskell-cafe] St. Petersburg Game

2007-11-27 Thread pepe
) gen b = takeWhile ( /= 1) tosses return (length b) Hope that was of help. You can find more material on Haskell in the wiki :) http://haskell.org/haskellwiki/Learning_Haskell pepe otaku! PS: Puedo preguntarme qué hace este hombre aprendiendo Haskell? Viva! On 27

Re: [Haskell-cafe] Embedding the GHC API

2007-10-31 Thread pepe
in a whopping 17mb executable. I've observed however you can mitigate this by an enormous amount using the tools strip and gzexe, taking it down to a light 2.5mb (a size reduction of about 85%) Cheers pepe On 31/10/2007, at 9:44, Joel Reymont wrote: Has anyone tried to embed GHC as a library

Re: [Haskell-cafe] isWHNF :: a - IO Bool ?

2007-09-27 Thread Pepe Iborra
. Cheers pepe On 27/09/2007, at 14:51, Bernie Pope wrote: Hi Tristan, I've implemented it for earlier versions of GHC, by calling some C code which then peeps at the internal representation of a value. From memory, I needed to pass a stable pointer to the value to the C code, so that it can

Re: [Haskell-cafe] isWHNF :: a - IO Bool ?

2007-09-27 Thread Pepe Iborra
a Thanks, pepe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Monad.Reader 8: Haskell, the new C++

2007-09-13 Thread Pepe Iborra
On 13/09/2007, at 0:06, Don Stewart wrote: ok: In Monad.Reader 8, Conrad Parker shows how to solve the Instant Insanity puzzle in the Haskell type system. Along the way he demonstrates very clearly something that was implicit in Mark Jones' Type Classes with Functional Dependencies paper

Re: [Haskell-cafe] Monad.Reader 8: Haskell, the new C++

2007-09-13 Thread Pepe Iborra
For a taste, see Instant Insanity transliterated in this functional language: http://hpaste.org/2689 I thought I'd better paste here the code for Instant Insanity with Type Families. Otherwise it will vanish in a short time. I took the opportunity to clean it up a bit. Although AT are

Re: [Haskell-cafe] Weird ghci behaviour?

2007-07-24 Thread Pepe Iborra
the object code form of the source file. So it appears that ghci is having trouble when loading the object code version. Whereas if it's not, it loads the module interpreted. Of course, if you remove test.hi, ghci will always load the file interpreted, and so the problem doesn't manifest. Cheers pepe

Re: [Haskell-cafe] Practical Haskell question.

2007-06-25 Thread Pepe Iborra
There is a related discussion, with a lot of pointers, in a recent D.Piponi blog post: http://sigfpe.blogspot.com/2007/04/homeland-security-threat-level- monad.html On 25/06/2007, at 10:58, peterv wrote: I'm baffled. So using the Arrow abstraction (which I don't know yet) would solve

Re: [Haskell-cafe] Shim missing Distribution.Verbosity

2007-06-11 Thread Pepe Iborra
Thanks for the report. That was an error I introduced in a previous patch, just pushed the fix. By the way, there is a Shim mailing list at http://shim.haskellco.de Cheers pepe On 11/06/2007, at 9:22, Johan Grönqvist wrote: Hi, I am trying to install shim (http://shim.haskellco.de/trac

Re: [Haskell-cafe] Haskell on OS X

2007-05-19 Thread Pepe Iborra
MacPorts works fine here, and the maintainer, Gregory Wright, is very supportive. If it works for you, I really recommend MacPorts. The only downside are the lengthy compile times, but this is not a big deal, you can just leave it installing overnight. Carbon Emacs flavour here instead of

Re: [Haskell-cafe] Disadvantages of de Bruijn indicies?

2007-05-13 Thread Pepe Iborra
On 13/05/2007, at 12:44, Neil Mitchell wrote: Hi Thanks for all the responses, I'm busy reading through them. I'm still trying to decide whether I should use them or not. They complicate things, are less intuitive than names. But on the other hand, the language I'm working in is untyped and

Re: [Haskell-cafe] Parallel executing of actions

2007-04-16 Thread Pepe Iborra
On 16/04/2007, at 12:30, Mitar wrote: Hi! On 4/16/07, Bertram Felgenhauer [EMAIL PROTECTED] wrote: Since all the threads block on a single MVar how do they run in parallel? The idea is that before the threads block on the MVar, they run their action x to completion. The rendering

Re: [Haskell-cafe] MPTC and type classes issue (polymorphic '+')

2007-04-07 Thread Pepe Iborra
could also try to improve your instances or enable -foverlapping-instances. But in my experience MPTC and overlapping instances, though powerful, can become very confusing, very quickly. Cheers pepe ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Binary I/O

2007-04-02 Thread Pepe Iborra
resource you may want to look at for your emulator code can be ICFPC'06 Universal Machine implementations. Don Stewart has a page with a few highly performant implementations (and there are benchmarks too, yay!): http://www.cse.unsw.edu.au/~dons/um.html Cheers pepe

Re: [Haskell-cafe] Parallelism on concurrent?

2007-03-13 Thread Pepe Iborra
a speedup of 100%, and didn't use threads at all. Yay! pepe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Parallelism on concurrent?

2007-03-13 Thread Pepe Iborra
platform. Cheers pepe On 13/03/2007, at 18:10, Dusan Kolar wrote: Yes, it works for operator /par/. That's what I've reported. But should it work for forkIO and forkOS? Could anybody give more detailed answer than yes, no? :-) (Link to the Web is OK.) BTW, thanks for the link to the paper

Re: [Haskell-cafe] Re: AT solution: rebinding = for restricted monads

2007-02-27 Thread Pepe Iborra
don't really know the details of the proposed solution. Thanks pepe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Safe lists with GADT's

2007-02-26 Thread Pepe Iborra
the existential? Finally, with the third one your compiler will produce error messages that will make you swear, apart from possible efficiency losses too. Thanks for reading, any hints will be appreciated pepe On 26/02/2007, at 15:26, David Roundy wrote: On Sun, Feb 25, 2007 at 10:40:13PM +

[Haskell-cafe] Re: AT solution: rebinding = for restricted monads

2007-02-26 Thread Pepe Iborra
* - *, while still allowing us to hide extra witness types inside and pull them out using the W function. Did anyone with knowledge of Associated Types pursue this solution? It doesn't work with GHC head, and I can't really do anything about that. Mostly curiosity. Thanks pepe

Re: [Haskell-cafe] Looking for documentation on Control.Parallel.Strategies

2007-02-16 Thread Pepe Iborra
There is also an excellent paper in tutorial style which imho is very useful to understand the interaction of lazyness with the Control.Parallel.Strategies combinators: Algorithm + Strategy = Parallelism Philip W. Trinder, Kevin Hammond, Hans-Wolfgang Loidl, and Simon L. Peyton Jones.

Re: [Haskell-cafe] Space Leak Help

2007-02-03 Thread Pepe Iborra
) at the cost of (very slightly) hiding data flow. Seems exactly what you were trying to avoid? Cheers pepe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ST and Transformers

2006-12-22 Thread Pepe Iborra
: runST . runErrorT Rank-2 types seem to interact badly with (.) and ($), but my type theory educated neuron doesn't know why. I think this is folklore knowledge? Cheers pepe On 22/12/2006, at 18:26, J. Garrett Morris wrote: Hello everyone, I recently found myself attempting to use ST

Re: [Haskell-cafe] Composing monads (sort of)

2006-12-16 Thread Pepe Iborra
And this scheme lends itself very well to define any kind of traversal. Note that I used the more general version of mapM defined in Data.Traversable in the definition of the (=) combinator. A more conventional definition is given the 'All about monads' tutorial. Cheers pepe 1- http

Re: [Haskell-cafe] Refactoring recklessly

2006-12-12 Thread Pepe Iborra
On 12/12/2006, at 20:31, Alec Berryman wrote: Greg Fitzgerald on 2006-12-12 11:24:58 -0800: I'd like to be able to reorganize my code and then verify that I didn't change any functionality. That is, the old and new code have precisely the same meaning. Also, I'd like to be able to

Re: [Haskell-cafe] Command line utility that shrinks/simplifies functions applications ?

2006-11-30 Thread Pepe Iborra
On 30/11/2006, at 17:04, Spencer Janssen wrote: I believe you're talking about the `pl' plugin for lambdabot. Lambdabot has an offline mode, visit the homepage for the source: http://www.cse.unsw.edu.au/~dons/lambdabot.html There is also a web interface to lambdabot, but I can't

[Haskell-cafe] Re: [Haskell] ANNOUNCE: Visual Haskell prerelease 0.2

2006-11-28 Thread Pepe Iborra
://eclipsefp.sourceforge.net/haskell/ ExtendingEclipseInHaskell.pdf Cheers pepe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell Debugging

2006-11-13 Thread Pepe Iborra
advise you to stick to Debug.Trace and friends. Cheers pepe On 13/11/2006, at 17:29, Valentin Gjorgjioski wrote: On 13.11.2006 16:54 Valentin Gjorgjioski wrote: On 13.11.2006 16:48 Pepe Iborra wrote: Hi Valentin Please, take a look at the Haskell Wiki page for debugging. http://haskell.org

Re: [Haskell-cafe] Sistema de Ecuaciones NO lineales

2006-11-09 Thread Pepe Iborra
hi Sebastian I think that it would be more appropriate to use english when you post to this particular list. On non linear equations or jacobi, I'm sorry but I cannot help you. But hopefully someone else in this list may be able to. Saludos. Cheers. pepe. On 09/11/2006, at 4:52, Sebastian

Re: [Haskell-cafe] Howto Haskell in PocketPC?

2006-10-14 Thread Pepe Iborra
This has been around for some time already. It used to work with PPC2003, hopefully it'll still do: http://www.comp.nus.edu.sg/~luzm/ppchugs/ Enjoy it :) On 14/10/2006, at 8:24, Iván Pérez Domínguez wrote: Hi. Here a simple question: Is there any haskell compiler/interpreter or similar

Re: [Haskell-cafe] how do you debug programs?

2006-09-07 Thread Pepe Iborra
On 07/09/2006, at 10:53, Tamas K Papp wrote: Dear Pepe, Thank you for the information. I finally ended up working with Debug.Trace, and found the bug very quickly. I also tried Hood, but couldn't load it in ghci: import Observe can't find the library, but % locate Observe /usr/lib/ghc

Re: [Haskell-cafe] how do you debug programs?

2006-09-06 Thread Pepe Iborra
of GHC, so unfortunately you will have to compile it yourself if you want to try it. Cheers pepe 1. www.haskell.org/hat 2. www.haskell.org/hood 3. http://cvs.haskell.org/Hugs/pages/users_guide/observe.html 4. http://haskell.org/haskellwiki/GHC/GHCiDebugger 5. http://www-users.cs.york.ac.uk/~ndm

Re: [Haskell-cafe] how do you debug programs?

2006-09-06 Thread Pepe Iborra
debugger project [4] aims to bring dynamic breakpoints and intermediate values observation to GHCi in a near future. Right now the tool is only available from the site as a modified version of GHC, so unfortunately you will have to compile it yourself if you want to try it. Pepe, would you like to put

Re: [Haskell-cafe] Re: how do you debug programs?

2006-09-06 Thread Pepe Iborra
On 06/09/2006, at 17:10, Andrae Muys wrote:On 06/09/2006, at 8:22 PM, Neil Mitchell wrote:It's been my experience that debugging is a serious weakness ofHaskell - where even the poor mans printf debugging changes thesemantics! And everyone comes up with arguments why there is no needto debug a

Re: [Haskell-cafe] Why Haskell?

2006-07-23 Thread Pepe Iborra
you are right, this is a work in progress and we are in the process of polishing some serious issues right now. I can't really recommend it for now. Cheers pepe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: Re[2]: [Haskell-cafe] Why Haskell?

2006-07-23 Thread Pepe Iborra
addition to anyone's ghc toolkit. Of course, I agree with you that it's too early to recommend it for real work. On 23/07/06, Bulat Ziganshin [EMAIL PROTECTED] wrote: Hello Pepe, Sunday, July 23, 2006, 5:23:18 PM, you wrote: 1) Lack of debugging support. Yes there are print statements

[Haskell-cafe] Google SoC

2006-04-21 Thread Pepe Iborra
http://code.google.com/soc/ This is not news. SoC was presented a few days ago, and by now there are a lot of projects available, yet none(?) Haskell related :( This is a plea for Haskell FOSS project managers to apply as mentor organizations, so that we students can have a choice. Surely there

[Haskell-cafe] Re: EclipseFP (Haskell IDE) 0.9.1 released

2006-02-07 Thread Pepe iborra
Graham Klyne [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] One of the features of Haskell that I like is that it doesn't require lots of IDE support to write complex programs... the compact syntax and clean separation of concerns that can be achieved make it iasy enough