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
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
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
(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
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
-- 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
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
-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
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
.
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
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
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
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
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
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
) 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
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
.
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
a
Thanks,
pepe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +
* - *, 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
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.
)
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
: 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
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
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
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
://eclipsefp.sourceforge.net/haskell/
ExtendingEclipseInHaskell.pdf
Cheers
pepe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
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
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
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
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
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
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
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
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
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
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
52 matches
Mail list logo