Re: [Haskell-cafe] GSoC Project Proposal: Markdown support for Haddock

2013-04-09 Thread David Waern
2013/4/8 Evan Laforge qdun...@gmail.com Can't we just add some features to haddock? There are a lot of ways to improve haddock a lot, and no one is doing them, so my impression is that haddock doesn't really have active maintainers. Adding a whole new backend seems risky, unless it results

Re: [Haskell-cafe] haddock changes between 2.10 and 2.12?

2012-09-27 Thread David Waern
2012/9/24 Edward Kmett ekm...@gmail.com: Was there some significant change/bug introduced to haddock made between 2.10 and 2.12? When I look at the haddocks for kan-extensions 3.1: Data.Functor.Yoneda which purports to have been built by haddock 2.12 it shows all sorts of spurious superclass

Re: [Haskell-cafe] ANNOUCE: Haddock 2.10.0 and 2.11.0

2012-09-09 Thread David Waern
2012/9/8 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com: On 7 September 2012 23:19, David Waern david.wa...@gmail.com wrote: -- Haddock 2.10.0 and 2.11.0 Two new versions of Haddock have been uploaded

[Haskell-cafe] ANNOUCE: Haddock 2.10.0 and 2.11.0

2012-09-07 Thread David Waern
. Diatchki David Terei Henning Thielemann David Waern -- Get Involved We would be very happy to get more contributors. To get involved, start by grabbing the code: http://darcs.haskell.org/haddock.git Then take

Re: [Haskell-cafe] ANNOUNCE: Haddock 2.10.0

2012-03-04 Thread David Waern
2012/3/4 Sergei Trofimovich sly...@gmail.com: Thanks! Fixed upstream. Let me bother you with another example (looks like a regression this time). Example comes from probability-0.2.3.1 package (selfcontained example attached). Haddock seems to have stopped liking utf-8 special chars in

[Haskell-cafe] ANNOUNCE: Haddock 2.10.0

2012-03-03 Thread David Waern
Peyton-Jones Ryan Newton David Terei David Waern Also thanks to Simon Hengel for spotting a serious bug before the release. -- Get Involved We would be very happy to get more contributors. To get involved, start

Re: [Haskell-cafe] ANNOUNCE: Haddock 2.10.0

2012-03-03 Thread David Waern
2012/3/3 Sergei Trofimovich sly...@gmail.com: It seems to fail to generate buildwrapper documentation. The minimal example: -- Base.hs: module Base where -- | component in cabal file data CabalComponent  = CCLibrary  -- ^ library        { cc_buildable :: Bool -- ^ is the library

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-15 Thread David Waern
2012/2/15 Aristid Breitkreuz arist...@googlemail.com: In the source file, the Haddock documentation is there, no idea why it doesn't show up. Thanks, this could be a bug in the new Haddock version. We'll look into it. David ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Disjunctive patterns

2011-12-08 Thread David Waern
2011/12/8 Asger Feldthaus asger.feldth...@gmail.com: Haskell doesn't seem to support disjunctive patterns, and I'm having a difficult time writing good Haskell code in situations that would otherwise call for that type of pattern. I've also missed this after having done a bit of OCaml coding.

Re: [Haskell-cafe] Haddock and the qualified imports

2011-12-06 Thread David Waern
2011/12/6 Yves Parès limestr...@gmail.com: Hi, I noticed some time ago the fact that qualified imports doesn't affect the generated documentation. It's kind of clumsy in case of libraries that define a lot of synonyms (vector and bytestring come in my mind first). For instance, in the

Re: [Haskell-cafe] Haddock and the qualified imports

2011-12-06 Thread David Waern
2011/12/6 David Waern david.wa...@gmail.com: 2011/12/6 Yves Parès limestr...@gmail.com: It should be written that this 'ByteString' is not a newly defined type but instead a re-exportation. It should be simple to add some kind of Re-export of link to original thing tag to the Haddock

Re: [Haskell-cafe] Haddock and the qualified imports

2011-12-06 Thread David Waern
2011/12/6 Evan Laforge qdun...@gmail.com: I've also often wished that unimported but fully qualified modules like 'Data.List.partition' would link even if Data.List is not imported.  I suppose similarly to the way that s blind link without having to know about the module in question. That's

Re: [Haskell-cafe] ANN: Leksah 0.10.0

2011-04-28 Thread David Waern
2011/4/28 jutaro j...@arcor.de: So its a bit like running Haddock on a package, which usually may fail, but it is uncommon to have this kind of problems. (It happened one time before with a type level library, which defined all integers between 1 and several thousands...). If a package uses

[Haskell-cafe] Haskell internship in the south of France

2011-03-23 Thread David Waern
To all undergrads on this list: Are you a student looking for an internship? Do you want to work with Haskell in the south of France? My company, Amadeus, is able to offer an internship on the subject of property-based testing of XML schema based web service APIs. The project goal is to write an

Re: [Haskell-cafe] Haddock fails on parsing Hamlet

2011-03-12 Thread David Waern
2011/3/12 Mathew de Detrich dete...@gmail.com: Don't need to worry about this, its being fixed in the next release of hamlet So was it a bug in Haddock that you've worked around or something else? Thanks, David ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] GRIN and Urban Boquist's thesis

2011-02-24 Thread David Waern
2011/2/24 Lemmih lem...@gmail.com: They will also be in the lhc repository once I restore it on code.haskell.org. Lemmih, while you're here, what's the status of LHC? It's an interesting project but we haven't heard much from you lately. David ___

Re: [Haskell-cafe] Haddock: generate documentation for all functions?

2011-01-03 Thread David Waern
2011/1/3 Antoine Latter aslat...@gmail.com: For this I use: 'cabal haddock --internal' Or if you're using haddock directly it's: --ignore-exports. David ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] How can i insert graphic into a haddock document?

2010-12-11 Thread David Waern
2010/12/11 Poprádi Árpád popradi_ar...@freemail.hu Hi, I have found nothing about this topic in the haddock documentation. Is there a light way to do that? Yes: -- | picture-url-here The documentation should be updated. David ___ Haskell-Cafe

[Haskell-cafe] ANNOUNCE: Haddock 2.9.0

2010-12-06 Thread David Waern
contributed patches to this release: Tobias Brandt Mark Lentczner Ian Lynagh Simon Marlow Simon Michael Ryan Newton David Waern -- Get Involved We would be very happy to get more contributors. To get involved

[Haskell-cafe] Re: Haddock API and .haddock interface files questions

2010-10-30 Thread David Waern
2010/10/26 Claus Reinke claus.rei...@talk21.com: Some questions about Haddock usage: 1. Haddock executable and library are a single hackage package,   but GHC seems to include only the former (haddock does not   even appear as a hidden package anymore). Is that intended? Yes, I think that's

[Haskell-cafe] Re: Haddock: patch to generate single-index page in addition to perl-letter indexes indices.

2010-10-24 Thread David Waern
2010/10/24 Ryan Newton new...@mit.edu: When I encounter a split-index (A-Z) page it can be quite frustrating if I don't know the first letter of what I'm searching for.  I want to use my browser find!  For example, tonight I wanted to look at all the functions that END in Window in the Chart

Re: [Haskell-cafe] HackageDB: Haddock parse failure

2010-09-28 Thread David Waern
Den 27 september 2010 18:22 skrev Jonas Almström Duregård jonas.dureg...@chalmers.se: HackageDB reports a build failure for happy-meta-0.1.1 (http://hackage.haskell.org/package/happy-meta-0.1.1), but from the log it seems that the failure occurs when building the documentation. The error is

Re: [Haskell-cafe] Haddock comments for GADT constructors?

2010-09-10 Thread David Waern
2010/9/10 Conal Elliott co...@conal.net: I'm updating a library (TV) and getting haddock parse errors for the doc strings attached to GADT constructors.  Is there a way to haddock-document GADT constructors?  I've tried both -- | ... before and -- ^ ... after.  Both give parse errors. 

[Haskell-cafe] ANNOUNCE: Haddock version 2.8.0

2010-09-02 Thread David Waern
Lentczner Ian Lynagh Simon Marlow Simon Peyton-Jones Thomas Schilling David Waern -- Get Involved We would be very happy to get more contributors. To get involved, start by grabbing the code: http

Re: [Haskell-cafe] ANNOUNCE: Haddock version 2.8.0

2010-09-02 Thread David Waern
2010/9/2 Henk-Jan van Tuyl hjgt...@chello.nl: On Thu, 02 Sep 2010 14:00:56 +0200, David Waern david.wa...@gmail.com wrote: -- Haddock 2.8.0 A new version of Haddock, the Haskell documentation tool

Re: [Haskell-cafe] ANNOUNCE: Haddock version 2.8.0

2010-09-02 Thread David Waern
2010/9/2 Daniel Peebles pumpkin...@gmail.com: Mmm, delicious! Thanks to all involved! Any idea how long it'll take for this to make it to hackage and regenerate all the documentation up there? It'd be wonderful to do the same to the GHC documentation too. I don't actually know yet if it's

Re: [Haskell-cafe] Haddock: Documentation of instances with un-documentable type arguments

2010-08-25 Thread David Waern
2010/8/25 Alexander McPhail haskell.vivian.mcph...@gmail.com: Perhaps Haddock could exclude class instance reporting when it cannot find a documentable link to a parameter? Yes, it should. BTW, we have a trac ticket for it: http://trac.haskell.org/haddock/ticket/37 You can add yourself to

Re: [Haskell-cafe] Academic Haskell Course

2010-08-19 Thread David Waern
2010/8/19 Eyal Lotem eyal.lo...@gmail.com: Can anyone point me towards existing work I could use? Open course material and syllabuses I could use, with the necessary references? At Chalmers University of Technology: http://www.cse.chalmers.se/edu/course/afp/ David

Re: [Haskell-cafe] On documentation

2010-08-12 Thread David Waern
2010/7/23 Ivan Miljenovic ivan.miljeno...@gmail.com: On 22 July 2010 18:33, David Waern david.wa...@gmail.com wrote: [snip] We currently only support concrete examples (i.e. unit tests), but the plan is to add support for QuickCheck properties. Would you have some kind of inbuilt time

Re: [Haskell-cafe] On documentation

2010-07-22 Thread David Waern
2010/7/21 Richard O'Keefe o...@cs.otago.ac.nz: One of the really nice ideas in the R statistics system is that documentation pages can contain executable examples, and when you wrap up a package for distribution, the system checks that the examples run as advertised. The next version of

Re: [Haskell-cafe] Type classes

2010-07-04 Thread David Waern
2010/7/4 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com: Andrew Coppin andrewcop...@btinternet.com writes: In summary, I think we need to devise a way of better-documenting class instances. Haddock 2.7 supports documenting instance implementations; I don't know how this works, but

Re: [Haskell-cafe] Type classes

2010-07-04 Thread David Waern
2010/7/4 Daniel Fischer daniel.is.fisc...@web.de: Hmm, it seems only partial: documentation attached to an instance is shown in the list of instances under a type, but not the list under a class. I'm guessing that's to reduce noise... I'm guessing it might have something to do with the

Re: [Haskell-cafe] Type classes

2010-07-04 Thread David Waern
2010/7/4 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com: David Waern david.wa...@gmail.com writes: 2010/7/4 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com: Andrew Coppin andrewcop...@btinternet.com writes: In summary, I think we need to devise a way of better-documenting class instances

Re: [Haskell-cafe] Type classes

2010-07-04 Thread David Waern
2010/7/4 Ross Paterson r...@soi.city.ac.uk: It could be either way: sometimes you define a new class with instances for existing types, and with the current implementation that produces no documentation. (I tested with type, class and instance in the same package.) Hi Ross, thanks for

Re: [Haskell-cafe] Type classes

2010-07-04 Thread David Waern
2010/7/4 David Waern david.wa...@gmail.com: 2010/7/4 Daniel Fischer daniel.is.fisc...@web.de: Hmm, it seems only partial: documentation attached to an instance is shown in the list of instances under a type, but not the list under a class. I'm guessing that's to reduce noise... I'm

Re: [Haskell-cafe] Re: Haddock Problem

2010-06-15 Thread David Waern
2010/6/15 Dominic Steinitz domi...@steinitz.org: David Waern david.waern at gmail.com writes: I think using --optghc=-package-conf is the correct way to point to another package DB, so I'll look into why it doesn't work. Perhaps another line of attack would be to see why haddock thinks I

Re: [Haskell-cafe] Re: Haddock Problem

2010-06-15 Thread David Waern
2010/6/15 David Waern david.wa...@gmail.com: 2010/6/15 Dominic Steinitz domi...@steinitz.org: David Waern david.waern at gmail.com writes: I think using --optghc=-package-conf is the correct way to point to another package DB, so I'll look into why it doesn't work. Perhaps another line

Re: [Haskell-cafe] Haddock Problem

2010-06-14 Thread David Waern
2010/6/14 Dominic Steinitz domi...@steinitz.org: ..\ThirdParty\Haskell_Platform\2010.1.0.0\bin\haddock.exe BackendC\Core.hs haddock.exe: can't find a package database at E:\ghc\ghc-6.12.1lib\package.conf.d But if I do haddock --help there is no option to set the package database and I

Re: [Haskell-cafe] Re: Haddock Problem

2010-06-14 Thread David Waern
2010/6/14 Dominic Steinitz domi...@steinitz.org: Try --optghc=-package-conf --optghc=file, to point Haddock at the custom DB. Hi David, Thanks for the quick response. No dice I am afraid. Dominic. BTW this (using optghc) used to work on previous versions of haddock (iirc 2.4 and 2.5).

Re: [Haskell-cafe] Re: Haddock Problem

2010-06-14 Thread David Waern
2010/6/14 David Waern david.wa...@gmail.com: OK, it seems like the path from the ghc-paths package overrided what you specified. I'm not sure this will work, but you could try:  haddock -B c:\p4wksp\steinitd_fpf_exdate_ws\FPF_Dev.br\ThirdParty\haskell_packages\fpf.package.conf Sorry

Re: [Haskell-cafe] Re: Haddock Problem

2010-06-14 Thread David Waern
2010/6/14 Dominic Steinitz domi...@steinitz.org: So I created one and copied our custom package databse into it but still no luck: ..\ThirdParty\Haskell_Platform\2010.1.0.0\bin\haddock.exe -B c:\p4wksp\steinitd_fpf_exdate_ws\FPF_Dev.br\ThirdParty\haskell_packages backendc\PAD2C.hs haddock:

Re: [Haskell-cafe] Re: Is anyone using Haddock's support for frames?

2010-05-06 Thread David Waern
2010/5/4 Evan Laforge qdun...@gmail.com: On Tue, May 4, 2010 at 1:23 PM, David Waern david.wa...@gmail.com wrote: 2010/5/4 Sean Leather leat...@cs.uu.nl: Somewhat OT, but is there a place where we can request/review features in the new HTML presentation of Haddock. Are there any mockups

[Haskell-cafe] Is anyone using Haddock's support for frames?

2010-05-04 Thread David Waern
Hi Since version 2.4.0 Haddock has generated HTML output that uses frames (index-frames.html) in addition to the normal output. We'd like to deprecate this feature unless there is a significant amount of users. The reason is two-fold: * We probably want to replace the frames with something

[Haskell-cafe] Re: Is anyone using Haddock's support for frames?

2010-05-04 Thread David Waern
2010/5/4 Sean Leather leat...@cs.uu.nl: Somewhat OT, but is there a place where we can request/review features in the new HTML presentation of Haddock. Are there any mockups of what the pages might look like? I've had some ideas pop around my head every time I look at documentation. ;)

Re: [Haskell-cafe] Haddock infix constructors in markup

2010-04-27 Thread David Waern
2010/4/26 Daniel Fischer daniel.is.fisc...@web.de: Am Montag 26 April 2010 22:18:53 schrieb Daniel Fischer: Am Montag 26 April 2010 22:05:48 schrieb Ozgur Akgun: So, how can we make use of this fix? My guess: $ cabal install haddock-2.7.2 No, it's not yet in there :( Yes, I should make

Re: [Haskell-cafe] Haddock infix constructors in markup

2010-04-26 Thread David Waern
2010/4/26 Daniel Fischer daniel.is.fisc...@web.de: Am Montag 26 April 2010 18:15:02 schrieb Ozgur Akgun: Hi all, If I have the following data type: data Expr = Num Int | Expr :+: Expr | Expr :-: Expr Haddock handles the infix constructors, and generates a very nice output (html in this

Re: [Haskell-cafe] GSoC Project: A Haddock + Pandoc documentation tool

2010-04-09 Thread David Waern
2010/4/9 Johan Tibell johan.tib...@gmail.com: On Fri, Apr 9, 2010 at 4:35 AM, Mark Lentczner ma...@glyphic.com wrote: On Apr 8, 2010, at 6:55 PM, ViaToR (Alvaro V.) wrote: I just finished writing my GSoC proposal ... The project is about creating a new documentation tool for Haskell

Re: [Haskell-cafe] GSoC Project: A Haddock + Pandoc documentation tool

2010-04-09 Thread David Waern
2010/4/9 ViaToR (Alvaro V.) alv...@gmail.com: Hello, I just finished writing my GSoC proposal and I want to have some feedback from the community. I'll try to be brief (this is not the proposal). The project is about creating a new documentation tool for Haskell projects, like Sphinx[1] for

Re: [Haskell-cafe] GSoC Project: A Haddock + Pandoc documentation tool

2010-04-09 Thread David Waern
2010/4/9 Alvaro Vilanova Vidal (viator) alv...@gmail.com: 2) Integration with Haddock docs. I think it would be best if the pages generated by this system and the pages generated by Haddock would be integrated as much as possible - both style wise (sharing CSS, structure, headers, footers,

Re: [Haskell-cafe] GSoC Project: A Haddock + Pandoc documentation tool

2010-04-09 Thread David Waern
2010/4/9 Alvaro Vilanova Vidal (viator) alv...@gmail.com: 3) Configuration I haven't looked at this yet but I suspect people will not want another configuration file in their projects. Perhaps you could propose some kind of Cabal integration instead. That would be awesome. I have to see

[Haskell-cafe] ANNOUNCE: Haddock 2.7.0

2010-03-14 Thread David Waern
The following people contributed patches to this release: Isaac Dupree Yitzchak Gale David Waern -- Get Involved We would be very happy to get more contributors. To get involved, start by grabbing the code

Re: [Haskell-cafe] haddock forgets parens in type sigs?

2010-02-12 Thread David Waern
2010/2/12 Johannes Waldmann waldm...@imn.htwk-leipzig.de: The annotated type of update is missing parentheses: http://hackage.haskell.org/packages/archive/haskelldb/0.12/doc/html/Database-HaskellDB.html#v%3Aupdate (compare with the signature given in the source) - Best, J.W. Already fixed in

[Haskell-cafe] Re: Strange Haddock output

2010-02-09 Thread David Waern
2010/2/9 Sean Leather leat...@cs.uu.nl: I was browsing Hackage pointlessly and came across what appears to be strange Haddock formatting here: http://hackage.haskell.org/packages/archive/pointless-haskell/0.0.3/doc/html/Generics-Pointless-Functors.html#v%3Afmap The following source -- |

[Haskell-cafe] Re: Strange Haddock output

2010-02-09 Thread David Waern
I think this is an instance of a bug introduced when implementing cross-package documentation. It has been fixed already and will be in the next minor release. Sorry, I should have said that the /fix/ will be in the next minor release, and not the bug, of course :-) David

Re: [Haskell-cafe] GHC/base API documentation has been generated incorrectly

2010-02-03 Thread David Waern
2010/2/3 John Millikin jmilli...@gmail.com: Looking at (for example) the docs for 'bracket'[1], the parameter documentation has been shifted up by one. The source code[2] looks correct, so perhaps Haddock is parsing it incorrectly? Docs for other functions, such as 'showSigned'[3], exhibit the

Re: [Haskell-cafe] Include creation date in Haddock documentation

2010-01-29 Thread David Waern
2010/1/29 Dennis Walter dennis.wal...@gmail.com: Hi all, I wonder if it is possible to have Haddock include the date and time at which the documentation was generated. Ideally this should only occur on index.html, but to have it in any file (e.g. in the footer) would be OK, too. I couldn't

Re: [Haskell-cafe] GHC bug? Cabal bug? Haddock bug?

2010-01-22 Thread David Waern
2010/1/17 Mark Lentczner ma...@glyphic.com: AHA! Note that after running cabal haddock we re-build all of our .hi and .o files EXCEPT ./dist/build/HSsyb-with-class-0.6.1.o And now, since TH generates random symbols, we have symbols in the new .hi files that aren't in the old (and only)

Re: [Haskell-cafe] Haddock question: hiding internal instances

2010-01-15 Thread David Waern
2010/1/15 Niklas Broberg niklas.brob...@gmail.com: Hi all, The question I have is this: How can I get Haddock to omit listing instances of package-internal data types for exported classes? You currently can't, unfortunately. See: http://trac.haskell.org/haddock/ticket/37 David

[Haskell-cafe] ANNOUNCE: Haddock 2.6.0

2009-12-22 Thread David Waern
Simon Peyton-Jones David Waern -- Get Involved We would be very happy to get more contributors. To get involved, start by grabbing the code: http://code.haskell.org/haddock Then take a look at the bug

Re: [Haskell-cafe] haddock: parse error in doc string

2009-08-26 Thread David Waern
2009/8/26 Peter Verswyvelen bugf...@gmail.com: Ouch, with all the great Haskell parsers like Parsec around I think I was expecting a line/column number :-) But I see a ticket is already open for this http://trac.haskell.org/haddock/ticket/83 Yes, and the line-number part of that ticket has

Re: [Haskell-cafe] haddock: parse error in doc string

2009-08-26 Thread David Waern
2009/8/26 Peter Verswyvelen bugf...@gmail.com: Oh, I just installed the Haskell platform. I have Haddock version 2.4.2, (c) Simon Marlow 2006 Ported to use the GHC API by David Waern 2006-2008 But I noticed that my bad comments were in the description of the cabal file, not the source file

Re: [Haskell-cafe] ANN: Haddock version 2.5.0

2009-08-16 Thread David Waern
2009/8/16 por...@porg.es: George Porges s/Porges/Pollard/; Porges is just an alias :) Oh, sorry about that! I tried to google on your email address but didn't find anything, so I assumed Porges was your surname. I should start sending out my release notes for revivew ;-) David

Re: [Haskell-cafe] Blank definition list in haddock

2009-08-16 Thread David Waern
2009/8/16 Maurí­cio CA mauricio.antu...@gmail.com: I read in haddock documentation that we write definition lists like this: -- �...@something@] Definition of something. However, using that structure to document many itens, I get a blank list of definitions, like you can see in this

[Haskell-cafe] ANN: Haddock version 2.5.0

2009-08-15 Thread David Waern
/haddock -- Contributors The following people contributed patches to this release: Isaac Dupree Ian Lynagh Simon Marlow Simon Peyton-Jones George Porges David Waern

Re: [Haskell-cafe] ANN: Haddock version 2.5.0

2009-08-15 Thread David Waern
2009/8/15 Magnus Therning mag...@therning.org: David Waern wrote: -- Haddock 2.5.0 A new version of Haddock, the Haskell documentation tool, is out! If you're using GHC 6.10.2 and Haddock 2.4.2, you

Re: [Haskell-cafe] Re: Haddock : parse error on input `{-# UNPACK'

2009-06-08 Thread David Waern
2009/6/7 Dominic Steinitz domi...@steinitz.org: Ha! It's yet another of haddock's quirks. If I replace -- ^ by -- then haddock accepts {-#. I'll update the ticket you created. -- | The parse state data S = S {-# UNPACK #-} !BL.ByteString  -- ^ input           {-# UNPACK #-} !Int  -- ^ bytes

Re: [Haskell-cafe] hackage version scheme survey

2009-05-23 Thread David Waern
2009/5/24 br...@lorf.org: Maybe most of the a.b people are thinking major.minor, and most of the a.b.c people are thinking breaking.feature.implementation like the rational RubyGems scheme described in http://rubygems.org/read/chapter/7#page24 , but I don't know. It makes it hard to describe

Re: [Haskell-cafe] Re: haddock could be a pretty-printer?

2009-05-23 Thread David Waern
2009/5/22 Maurício briqueabra...@yahoo.com: The new version of haddock makes use of GHC parser. How much of effort would take to make haddock generate pretty-print of the source code itself, (...) (...) Is this what you want or is there some reason why you want the code to be pretty-printed?

Re: [Haskell-cafe] haddock could be a pretty-printer?

2009-05-22 Thread David Waern
2009/5/22 Maurício briqueabra...@yahoo.com: Hi, The new version of haddock makes use of GHC parser. How much of effort would take to make haddock generate pretty-print of the source code itself, including haddock documentation (although probably loosing other comments)? Maybe even an html

Re: [Haskell-cafe] Problem with haddock importing definition

2009-05-20 Thread David Waern
2009/5/15 Maurício briqueabra...@yahoo.com: Hi, I have a situation like this: module A imports R (a newtype declaration) from module B, and lists it in its (module A) export list. Documentation for R is included by haddock in documentation for module A, as I want. However, if my package

Re: [Haskell-cafe] Problem with haddock importing definition

2009-05-20 Thread David Waern
2009/5/20 Ross Paterson r...@soi.city.ac.uk: On Wed, May 20, 2009 at 09:42:19AM +0200, David Waern wrote: 2009/5/15 Maurício briqueabra...@yahoo.com: I have a situation like this: module A imports R (a newtype declaration) from module B, and lists it in its (module A) export list

Re: [Haskell-cafe] Re: Problem with haddock importing definition

2009-05-20 Thread David Waern
2009/5/20 Maurício briqueabra...@yahoo.com: I would still like to know the answer to my question though, since I think we can improve Haddock here. R is completely absent from documentation. OK. That's strange. I thought that Haddock would at least show R but without a link. I did include a

Re: [Haskell-cafe] Announcement: Beta of Leksah IDE available

2009-04-02 Thread David Waern
2009/4/2 Duncan Coutts duncan.cou...@worc.ox.ac.uk: On Wed, 2009-04-01 at 22:13 +0200, David Waern wrote: 2009/4/1 jutaro j...@arcor.de: I guess you mean the dialog which should help leksah to find sources for installed packages. It needs this so you can go to all the definitions

Re: [Haskell-cafe] Announcement: Beta of Leksah IDE available

2009-04-01 Thread David Waern
2009/4/1 jutaro j...@arcor.de: I guess you mean the dialog which should help leksah to find sources for installed packages. It needs this so you can go to all the definitions in the base packages ... This is very handy if it works. Look to the manual for details. Maybe could add support to

[Haskell-cafe] ANNOUNCE: Haddock 2.4.2

2009-03-21 Thread David Waern
people contributed patches to this release: Joachim Breitner Roman Cheplyaka Ian Lynagh Neil Mitchell Simon Peyton-Jones Thomas Schilling David Waern -- Get Involved We welcome new contributors. To get

Re: [Haskell-cafe] Problem with haddock - it dislikes my comments

2009-03-01 Thread David Waern
2009/2/28 Colin Paul Adams co...@colina.demon.co.uk: Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Gwern == Gwern Branwen gwe...@gmail.com writes:    Gwern On Sat, Feb 28, 2009 at 2:59 PM, Colin Paul Adams    Gwern co...@colina.demon.co.uk wrote:     Having just read the Haddock

Re: [Haskell-cafe] Missing documentation for Haddock

2009-02-27 Thread David Waern
2009/2/27 Colin Paul Adams co...@colina.demon.co.uk: On http://haskell.org/haddock/doc/html/module-attributes.html the not-home attribute is missing (it's documentation is present, but the attribute itself is not named). Thanks for the report. By the way, the Haddock trac page is at:

Re: [Haskell-cafe] Re: [Haskell] Google Summer of Code 2009

2009-02-11 Thread David Waern
2009/2/11 Gwern Branwen gwe...@gmail.com: [^complaints]: I can hear the wankers in the peanut gallery - Yeah, and it's been buggy ever since! Hush you. Those (aforementioned) people should keep in mind we tried to keep the scope of the project down to just making the new Haddock support the

Re: [Haskell-cafe] 1,000 packages, so let's build a few!

2009-02-07 Thread David Waern
2009/1/31 Andrew Coppin andrewcop...@btinternet.com: In celebration of Hackage reachin over 1,000 unique packages, I decided that I would re-visit the problem of attempting to build them on Windows. I began by removing all existing Haskellness from my PC. I now have a vanilla Windows XP

Re: [Haskell-cafe] Re: Haddock

2009-02-06 Thread David Waern
2009/2/6 Max Rabkin max.rab...@gmail.com: On Thu, Feb 5, 2009 at 4:25 PM, David Waern david.wa...@gmail.com wrote: As for running arbitrary commands, I think we are opening up to a lot of unfamiliar syntax. I'd like to hear what everyone thinks about that. I personally find it useful to have

[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-06 Thread David Waern
2009/2/6 Alistair Bayley alist...@abayley.org: [1 of 1] Compiling Test.Fail( Test\Fail.hs, Test\Fail.o ) Test\Fail.hs:11:26: Can't make a derived instance of `Typeable Fail' (You need -XDeriveDataTypeable to derive an instance for this class) In the data type declaration

[Haskell-cafe] Re: haddock-2.3.0 literate comments discarded from .lhs input

2009-02-06 Thread David Waern
2009/2/6 Alistair Bayley alist...@abayley.org: I have this test case for Haddock (2.3.0): -- | Module : Test.Haddock Copyright : (c) 2009 Alistair Bayley License : BSD-style Maintainer : alist...@abayley.org Stability :

Re: [Haskell-cafe] Re: build problems on Hackage

2009-02-05 Thread David Waern
2009/2/5 Ross Paterson r...@soi.city.ac.uk: On Thu, Feb 05, 2009 at 10:41:20AM +0100, Wolfgang Jeltsch wrote: type-level built fine with GHC 6.8 but failed to build with GHC 6.10. The last line of the build log is this: haddock: internal Haddock or GHC error: Maybe.fromJust: Nothing Yes,

Re: [Haskell-cafe] Re: build problems on Hackage

2009-02-05 Thread David Waern
2009/2/5 Ross Paterson r...@soi.city.ac.uk: On Thu, Feb 05, 2009 at 03:05:44PM +0100, David Waern wrote: In Haddock 2.4.0 we switched from using the compilation mode of the GHC API to a mode which does only typchecking. This broke Template Haskell support: http://trac.haskell.org/haddock

Re: [Haskell-cafe] Re: build problems on Hackage

2009-02-05 Thread David Waern
2009/2/5 Ross Paterson r...@soi.city.ac.uk: On Thu, Feb 05, 2009 at 03:03:35PM +0100, Wolfgang Jeltsch wrote: Am Donnerstag, 5. Februar 2009 13:16 schrieb Ross Paterson: On Thu, Feb 05, 2009 at 10:41:20AM +0100, Wolfgang Jeltsch wrote: type-level built fine with GHC 6.8 but failed to build

[Haskell-cafe] Re: Haddock

2009-02-05 Thread David Waern
Hi everyone, I received this question from Lennart Augustsson (via Simon M) and thought I'd send out an inquiry to the Haskell community in general (Lennart, I hope you don't mind): Lennart writes: We have some local patches for haddock that extends the blah syntax so you can put TeX formulae

[Haskell-cafe] Haddock Markup

2009-02-05 Thread David Waern
I got the subject line wrong, so I'm reposting this: Hi everyone, I received this question from Lennart Augustsson (via Simon M) and thought I'd send out an inquiry to the Haskell community in general (Lennart, I hope you don't mind): Lennart writes: We have some local patches for haddock

Re: [Haskell-cafe] haddock-2.3.0 error: file name does not match module name

2009-01-29 Thread David Waern
2009/1/29 Alistair Bayley alist...@abayley.org: 2009/1/29 Matthijs Kooijman matth...@stdin.nl: I assume that it's procesing file Database.Enumerator.lhs when it emits this, but I'm puzzled because the module name in Database.Enumerator.lhs is certainly Database.Enumerator, and not Main. Any

Re: [Haskell-cafe] Haddock bug for strict unpacked fields?

2009-01-21 Thread David Waern
2009/1/21 Stephan Friedrichs deduktionstheo...@web.de: Hi, using haddock-2.4.1 and this file: module Test where data Test = NonStrict Int | Strict !Int | UnpackedStrict {-# UNPACK #-} !Int The generated documentation looks like this: data Test Constructors NonStrict

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

2009-01-18 Thread David Waern
2009/1/18 Don Stewart d...@galois.com: ross: On Sat, Jan 17, 2009 at 09:12:32PM -0500, a...@spamcop.net wrote: And FWIW, I agree with everyone who has commented that the documentation is inadequate. It'd be nice if there was some way to contribute better documentation without needing

Re: [Haskell-cafe] real haskell difficulties (at least for me)

2009-01-18 Thread David Waern
2009/1/18 Duncan Coutts duncan.cou...@worc.ox.ac.uk: Second, and this would take more work, I would like it if the Haddock documentation for packages could be given a wiki-like and/or reddit-like interface so that people could make comments about what is unclear or needs better documentation

Re: [Haskell-cafe] ANN: Haskell BLAS bindings version 0.7

2009-01-10 Thread David Waern
2009/1/10 Patrick Perry patpe...@stanford.edu: Here's the haddock documentation; I'm not sure if Hackage honors {-# OPTIONS_HADDOCK hide #-} when it displays the exposed modules: http://quantile95.com/blas/ It should, so If it doesn't then please tell us about it. We have a trac at:

Re: [Haskell-cafe] ANN: Haskell BLAS bindings version 0.7

2009-01-10 Thread David Waern
2009/1/10 Patrick Perry patpe...@stanford.edu: Hi David, The problem is with Hackage, not with haddock. Oops, Sorry. I misread Hackage as Haddock :) David ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Problem with haddock 2.3.0 (again)

2008-12-15 Thread David Waern
2008/12/12 Sean Leather leat...@cs.uu.nl: On Fri, Dec 12, 2008 at 13:22, Thomas Schilling wrote: The fromJust error is a bug, of course, however, the underlying problem is a bit more difficult: Haddock doesn't generate any code, it only typechecks. If the code uses Template Haskell,

Re: [Haskell-cafe] Problem with haddock 2.3.0 (again)

2008-12-15 Thread David Waern
2008/12/12 Duncan Coutts duncan.cou...@worc.ox.ac.uk: Let's see what David thinks. If he thinks is possible to fix these kinds of things where haddock is not covering the whole GHC AST (at least to the degree where it can ignore bits it does not understand). If that's not realistic in the

Re: [Haskell-cafe] Hackage/Cabal/Haddock question

2008-11-25 Thread David Waern
2008/11/25 Thomas Hartman [EMAIL PROTECTED]: I've noticed that many of the packages I upload to haddock don't build documentation properly, although the documentation builds fine locally when I run cabal haddock. For example:

Re: [Haskell-cafe] Hackage/Cabal/Haddock question

2008-11-24 Thread David Waern
2008/11/21 Robert Greayer [EMAIL PROTECTED]: How does Hackage run 'haddock' on uploaded packages? I had assumed it directly runs the cabal 'haddock' target, e.g. runhaskell Setup.hs haddock but it appears to perhaps be more complex than that. Some backrgound -- haddock doesn't seem to

[Haskell-cafe] Re: [Haskell] ANNOUNCE: Haddock version 2.4.0

2008-11-06 Thread David Waern
2008/11/6 Duncan Coutts [EMAIL PROTECTED]: Will .haddock files generated by haddock-2.3.0 work with haddock-2.4? If not it would be preferable to have a 2.3.1 release or something for distributions that want to package haddock separately from ghc (eg gentoo). Otherwise we somehow have to hack

[Haskell-cafe] ANNOUNCE: Haddock version 2.4.0

2008-11-05 Thread David Waern
are: Clemens Fruhwirth Peter Gavin Ian Lynagh Neil Mitchell Luke Plant Thomas Schilling David Waern -- Get Involved We welcome new contributors. To get involved, start by grabbing the code: http

Re: [Haskell-cafe] Problem with haddock 2.3.0 (again)

2008-10-27 Thread David Waern
I think this is a bug in Haddock related to template-haskell declarations. It will hopefully be fixed soon, but I'm afraid it won't part of the 2.3.0 version that will come with GHC 6.10.1. David 2008/10/27 Leonidas Fegaras [EMAIL PROTECTED]: Sorry for the previous message. I am sending it

  1   2   >