picnoir / ex-hack

Example-based Haskell Documentation Engine
GNU Affero General Public License v3.0
59 stars 3 forks source link

export lists should not count as examples #13

Open gelisam opened 5 years ago

gelisam commented 5 years ago

e.g. at https://exhack.org/packages/Earley/Text-Earley-Parser, all the examples found currently point to a line inside the following export block, which isn't very illuminating:

module Text.Earley
  ( -- * Context-free grammars
    Prod, terminal, (<?>), Grammar, rule
  , -- * Derived operators
    satisfy, token, namedToken, list, listLike
  , -- * Deprecated operators
    symbol, namedSymbol, word
  , -- * Parsing
    Report(..), Parser.Result(..), Parser, parser, allParses, fullParses
  , -- * Recognition
    report
  , -- * Language generation
    Generator, generator, language, upTo, exactly
  )
picnoir commented 5 years ago

Related to #4 .