<feed xmlns='http://www.w3.org/2005/Atom'>
<title>haddock.git/haddock-library/src/Documentation/Haddock/Parser, branch ghc-gitlab-ghc-9.2.2</title>
<subtitle>Haddock with an org backend (haddorg).
</subtitle>
<id>https://g.ypei.me/haddock.git/atom?h=ghc-gitlab-ghc-9.2.2</id>
<link rel='self' href='https://g.ypei.me/haddock.git/atom?h=ghc-gitlab-ghc-9.2.2'/>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/'/>
<updated>2020-03-28T00:34:33+00:00</updated>
<entry>
<title>Fix crash in `haddock-library` on unicode space</title>
<updated>2020-03-28T00:34:33+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2020-03-28T00:16:51+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=b0514cc5d53bb37424177d2ba986216a914f8b1c'/>
<id>urn:sha1:b0514cc5d53bb37424177d2ba986216a914f8b1c</id>
<content type='text'>
Our quickcheck tests for `haddock-library` stumbled across an edge case
input that was causing Haddock to crash: it was a unicode space
character.

The root cause of the crash is that we were implicitly assuming that
if a space character was not " \t\f\v\r", it would have to be "\n".
We fix this by instead defining horizontal space as: any space character
that is not '\n'.

Fixes #1142
</content>
</entry>
<entry>
<title>Fix build-failure regression for base &lt; 4.7</title>
<updated>2019-12-08T11:09:54+00:00</updated>
<author>
<name>Herbert Valerio Riedel</name>
<email>hvr@gnu.org</email>
</author>
<published>2019-12-08T10:53:39+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=be8b02c4e3cffe7d45b3dad0a0f071d35a274d65'/>
<id>urn:sha1:be8b02c4e3cffe7d45b3dad0a0f071d35a274d65</id>
<content type='text'>
The `$&gt;` operator definition is available only since base-4.7 which
unfortunately wasn't caught before release to Hackage (but has been
fixed up by a metadata-revision)

This commit introduces a `CompatPrelude` module which allows to reduce
the amount of CPP by ousting it to a central location, i.e. the new
`CompatPrelude` module. This pattern also tends to reduce the tricks
needed to silence unused import warnings.

Addresses #1119
</content>
</entry>
<entry>
<title>Release haddock-2.23, haddock-library-1.8.0</title>
<updated>2019-05-26T21:57:52+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2019-05-26T19:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=91f55209065497c8cd0d0a23e5ed5561410b4df0'/>
<id>urn:sha1:91f55209065497c8cd0d0a23e5ed5561410b4df0</id>
<content type='text'>
Tentatively adjust bounds and changelogs for the release to be bundled
with GHC 8.8.1.
</content>
</entry>
<entry>
<title>Better identifier parsing</title>
<updated>2019-02-25T08:42:46+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2019-02-06T09:01:41+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=a5199600c39d25d7b71dcb2328000c1c49ad95a2'/>
<id>urn:sha1:a5199600c39d25d7b71dcb2328000c1c49ad95a2</id>
<content type='text'>
  * '(&lt;|&gt;)' and '`elem`' now get parsed and rendered properly as links
  * 'DbModule'/'DbUnitId' now properly get split apart into two links
  * tuple names now get parsed properly
  * some more small niceties...

The identifier parsing code is more precise and more efficient (although to be
fair: it is also longer and in its own module). On the rendering side, we need
to pipe through information about backticks/parens/neither all the way through
from renaming to the backends.

In terms of impact: a total of 35 modules in the entirety of the bootlib + ghc
lib docs change. The only "regression" is things like '\0'. These should be
changed to @\\0@ (the path by which this previously worked seems accidental).
</content>
</entry>
<entry>
<title>Faster 'Text' driven parser combinators</title>
<updated>2018-11-05T23:54:22+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2018-08-29T11:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=82b8f491e18d707f67857bcb170b2147fa275ccc'/>
<id>urn:sha1:82b8f491e18d707f67857bcb170b2147fa275ccc</id>
<content type='text'>
Perf only change:

  * use 'getParserState'/'setParserState' to make 'Text'-optimized
    parser combinators
  * minimize uses of 'Data.Text.{pack,unpack,cons,snoc}'
</content>
</entry>
<entry>
<title>Build on 7.4 and 7.8</title>
<updated>2018-10-16T16:36:30+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2018-10-16T16:36:30+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=d6b47bbb8bfb88fcf0900fa33376131b5d8e1e6b'/>
<id>urn:sha1:d6b47bbb8bfb88fcf0900fa33376131b5d8e1e6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace 'attoparsec' with 'parsec' (#799)</title>
<updated>2018-04-25T18:24:07+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2018-04-25T18:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=79c7159101c03bbbc7350e07963896ca2bb97c02'/>
<id>urn:sha1:79c7159101c03bbbc7350e07963896ca2bb97c02</id>
<content type='text'>
* Remove attoparsec with parsec and start fixing failed parses

* Make tests pass

* Fix encoding issues

The Haddock parser no longer needs to worry about bytestrings. All
the internal parsing work in haddock-library happens over 'Text'.

* Remove attoparsec vendor

* Fix stuff broken in 'attoparsec' -&gt; 'parsec'

* hyperlinks
* codeblocks
* examples

Pretty much all issues are due to attoparsec's backtracking failure
behaviour vs. parsec's non-backtracking failure behaviour.

* Fix small TODOs

* Missing quote + Haddocks

* Better handle spaces before/after paragraphs

* Address review comments
</content>
</entry>
<entry>
<title>Remove bang pattern</title>
<updated>2018-03-02T14:48:43+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2018-02-06T07:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=785818fe3e7dbb47b6942b896bbf6120e8f95ddb'/>
<id>urn:sha1:785818fe3e7dbb47b6942b896bbf6120e8f95ddb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support unicode operators, proper modules</title>
<updated>2018-03-02T14:48:36+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2018-02-06T02:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=44b1d87503a62181b4079962632cd61f1e158d79'/>
<id>urn:sha1:44b1d87503a62181b4079962632cd61f1e158d79</id>
<content type='text'>
Unicode operators are a pretty big thing in Haskell, so supporting linking them
seems like it outweighs the cost of the extra machinery to force Attoparsec to
look for unicode.

Fixes #458.
</content>
</entry>
<entry>
<title>Consequently use inClass and notInClass in haddock-library (#617)</title>
<updated>2017-05-13T10:48:10+00:00</updated>
<author>
<name>Alex Biehl</name>
<email>alexbiehl@gmail.com</email>
</author>
<published>2017-05-13T10:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=c836dd4cb47d457b066b51b61a08f583a8c4466e'/>
<id>urn:sha1:c836dd4cb47d457b066b51b61a08f583a8c4466e</id>
<content type='text'>
These allow attoparsec to do some clever lookup optimization</content>
</entry>
</feed>
