[Haskell-cafe] Trouble with Debug.Trace when using a library

2013-05-14 Thread hanjoosten
My project is split in two packages, A and B, where B uses A. All together,
there are about 100 haskell modules.
Currently, there seems to be a loop somewere, that only seems to occur when
working with rather large datastructures. I use trace (from Debug.Trace) to
see what exactly is going on. 
As long as I trace functions from B, trace works as expected. However, at
some point I need to trace into functions supplied by package A.

In package A I have a function like this: (I have simplified the function)

fA :: SomeInput - SomeResult
fA a =  let x = f a
  in trace (Entering fA) x

(The function f is defined in package A)

In package B, I have a function like this:

fB :: SomeInput - SomeResult
fB a = let x = fA a
 in trace ( Entering fB) x

At runtime, I get the message
Entering fB

and then nothing more. a lot of cpu is used, but no more output.

I have made some wrappers like the ones above. As long as they are in the
same package, trace works fine. However, when entering a function from the
other package, there is no more debug output. 

This is very anoying. Anyone some suggestions? Is this a bug?

I use the haskell platform 12.4.0.0 on a windows 7 machine.




--
View this message in context: 
http://haskell.1045720.n5.nabble.com/Trouble-with-Debug-Trace-when-using-a-library-tp5730157.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Hackage is down?

2012-08-11 Thread hanjoosten
Hi,

Hackage seems to be down. Is there anyone out here who knows how to get it
online again?

Thanks!



--
View this message in context: 
http://haskell.1045720.n5.nabble.com/Hackage-is-down-tp5715912.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] proxy settings with simpleHttp

2012-01-02 Thread hanjoosten
Hi,

I am fiddling around with the package http-enumerator to download web pages.
I was used to `simpleHttp` do do that. However, I would like to infuence the
proxy settings, because sometimes I am behind a firewall. 

Is there a simple way to do this?

Thanks!

Han.

--
View this message in context: 
http://haskell.1045720.n5.nabble.com/proxy-settings-with-simpleHttp-tp5114946p5114946.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] What library package fulfills these requirements?

2011-10-29 Thread hanjoosten
Thanks for the link. I enjoyed it. It is quite a different approach as Simon
had in the presentation I mentioned. 
Gives me food for thought, which is good. 

--
View this message in context: 
http://haskell.1045720.n5.nabble.com/What-library-package-fulfills-these-requirements-tp4945125p4948604.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] What library package fulfills these requirements?

2011-10-29 Thread hanjoosten
This is great stuff. I specifically like the interaction part. Hands on
experience, whilst skipping the wow-stuff (well, I will mention the
possibilities, supplying some links, but no more than a couple of minutes.).
And as side effect I now have to get acquainted to github. Like it. Thanks a
lot!

--
View this message in context: 
http://haskell.1045720.n5.nabble.com/What-library-package-fulfills-these-requirements-tp4945125p4949311.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] skin info of haskellwiki

2011-02-19 Thread hanjoosten

Hi,

I would like to use a copy of the hawiki skin for  http://ampersand.sf.org
my projects mediawiki . I like the way the front page of www.haskell.org
works. It uses a mediawiki skin, that is customized for the haskellwiki.
However, it used to be 
http://www.haskell.org/haskellwiki/HaskellWiki:Site_software published , but
I find broken links. Is there anyone that could help me out? 

thanks!
-- 
View this message in context: 
http://haskell.1045720.n5.nabble.com/skin-info-of-haskellwiki-tp3392503p3392503.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Problem with linking HDBC-ODBC

2010-11-19 Thread hanjoosten

Hi

Yesterday I upgraded to the new version of hdbc-odbc (2.2.3.1.). Then I
rebuilt my own project, but the linker gives an error:

.
.
.
[88 of 90] Compiling CC   ( CC.hs,
C:\eclipseworkspace_fp1\ampersand\out\CC.o )
[89 of 90] Compiling Parser   ( Parser.hs,
C:\eclipseworkspace_fp1\ampersand\out\Parser.o )
[90 of 90] Compiling Main ( Main.hs,
C:\eclipseworkspace_fp1\ampersand\out\Main.o )
Linking C:\eclipseworkspace_fp1\ampersand\bin\adl.exe ...
C:\Documents and Settings\nl22118\Application
Data\cabal\HDBC-odbc-2.2.3.1\ghc-6.12.3/libHSHDBC-odbc-2.2.3.1.a(Statement.o):fake:(.text+0x1a3d):
undefined reference to `SQLNumParams'
C:\Documents and Settings\nl22118\Application
Data\cabal\HDBC-odbc-2.2.3.1\ghc-6.12.3/libHSHDBC-odbc-2.2.3.1.a(Statement.o):fake:(.text+0x3961):
undefined reference to `SQLNumParams'
collect2: ld returned 1 exit status


Is there anything I do wrong? 
My environment is a windows machine. I use the haskell-platform. I upgraded
to the current version of hdbc-odbc using cabal install. 

Any suggestions are welcome.
-- 
View this message in context: 
http://haskell.1045720.n5.nabble.com/Problem-with-linking-HDBC-ODBC-tp3272152p3272152.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe