Re: [Haskell-cafe] Problem with packet documentation generated by cabal on windows 7

2012-05-27 Thread Paulo Pocinho
Chrome works well. The file:// portion at the beginning has got to
do with windows namespace [1] and browser conventions.

On 26 May 2012 02:40, Antoine Latter aslat...@gmail.com wrote:
 Also 'cabal' doesn't track executables, only libraries.

It does update your cabal package binaries, if the package generates
one, though.

--
1. 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx

Regards,
Paulo

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


Re: [Haskell-cafe] Problem with packet documentation generated by cabal on windows 7

2012-05-25 Thread Artyom Kazak
I’m having the same problem on my Windows 7 laptop. The solution I’ve  
found is to use Internet Explorer — it isn’t perfect, but for some reason  
it is the only browser capable of handling these links.



On Fri, May 25, 2012 at 01:19:11AM +0200, Nicu Ionita wrote:

Hi cafe,

I have a problem with haddock documentation created when installing
new packages with cabal on windows.
The generated html files have all links in the form
j:\Users\...\doc\...\xxx.html, but firefox says, it cannot open that
link.
Actually all links should be prefixed by file:///.

I wonder if this is only on windows so and if there is a solution to
this. Is there a cabal or haddock flag for this?


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


Re: [Haskell-cafe] Problem with packet documentation generated by cabal on windows 7

2012-05-25 Thread Nicu Ionita

Am 25.05.2012 06:49, schrieb Magnus Therning:

On Fri, May 25, 2012 at 01:19:11AM +0200, Nicu Ionita wrote:

Hi cafe,

I have a problem with haddock documentation created when installing
new packages with cabal on windows.
The generated html files have all links in the form
j:\Users\...\doc\...\xxx.html, but firefox says, it cannot open that
link.
Actually all links should be prefixed by file:///.

I wonder if this is only on windows so and if there is a solution to
this. Is there a cabal or haddock flag for this?

It might help to know what version of haddock you have.

Here, on my Linux machine, all generated links are relative and hence
contain no 'http://' or 'file:///' prefix.

/M


I have Haskell Platform 2011.2.0.1 and I assumed that haddock comes with 
it. Now I checked the version - it is 2.9.2 and cabal info tells me that 
the last version is 2.10.0 and that I don't have the package installed (?).


Ok, now I see, haddock is that from the patform and I never install it 
with cabal...


Nicu

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


Re: [Haskell-cafe] Problem with packet documentation generated by cabal on windows 7

2012-05-25 Thread Antoine Latter
On Fri, May 25, 2012 at 6:28 PM, Nicu Ionita nicu.ion...@acons.at wrote:


 I have Haskell Platform 2011.2.0.1 and I assumed that haddock comes with it.
 Now I checked the version - it is 2.9.2 and cabal info tells me that the
 last version is 2.10.0 and that I don't have the package installed (?).

 Ok, now I see, haddock is that from the patform and I never install it with
 cabal...


Also 'cabal' doesn't track executables, only libraries.

Antoine

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


[Haskell-cafe] Problem with packet documentation generated by cabal on windows 7

2012-05-24 Thread Nicu Ionita

Hi cafe,

I have a problem with haddock documentation created when installing new 
packages with cabal on windows.
The generated html files have all links in the form 
j:\Users\...\doc\...\xxx.html, but firefox says, it cannot open that link.

Actually all links should be prefixed by file:///.

I wonder if this is only on windows so and if there is a solution to 
this. Is there a cabal or haddock flag for this?


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


Re: [Haskell-cafe] Problem with packet documentation generated by cabal on windows 7

2012-05-24 Thread Magnus Therning
On Fri, May 25, 2012 at 01:19:11AM +0200, Nicu Ionita wrote:
 Hi cafe,
 
 I have a problem with haddock documentation created when installing
 new packages with cabal on windows.
 The generated html files have all links in the form
 j:\Users\...\doc\...\xxx.html, but firefox says, it cannot open that
 link.
 Actually all links should be prefixed by file:///.
 
 I wonder if this is only on windows so and if there is a solution to
 this. Is there a cabal or haddock flag for this?

It might help to know what version of haddock you have.

Here, on my Linux machine, all generated links are relative and hence
contain no 'http://' or 'file:///' prefix.

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus

I invented the term Object-Oriented, and I can tell you I did not have
C++ in mind.
 -- Alan Kay


pgpFNoRnAafd9.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe