-- Initial test-hackage-ags.cabal generated by cabal init. For further -- documentation, see http://haskell.org/cabal/users-guide/ name: test-hackage-ags version: 0.1.0.0 synopsis: For testing package page presentation on Hackage description: For testing how the Hackage package page will look (esp. the flags) via candidates system on Hackage. license: BSD3 license-file: LICENSE author: Andrew G. Seniuk maintainer: Andrew Seniuk -- copyright: category: Testing build-type: Simple -- extra-source-files: cabal-version: >=1.10 Flag HELLO_HACKAGE_VISITOR Description: [Note to those reading on Hackage:] Please ignore these flags, which would be better presented in a collapsed state. The flags are mostly for development purposes. Default: False Flag HASKELL98_FRAGMENT Description: Sacrifice generic deriving, the NFDataPDyn module, and a couple functions from the PatUtil module, in exchange for true Haskell98 conformance (portability). (One non-H98 thing it insists on is PatternGuards, although this could be relieved in the obvious way, at the expense of code clarity.) --Default: True Default: False Flag USE_PAR_PATNODE Description: On match, spark recursive submatching for parallel evaluation. Default: True --Default: False Flag USE_PSEQ_PATNODE Description: On match, use Control.Parallel.pseq to order the evaluation of recursive submatching. This is done by providing a permutation argument; refer to the PatNode for additional documentation. Default: True --Default: False Flag USE_TRACE_PATNODE Description: On match, log a traceline to stderr en passant. Default: True --Default: False Flag USE_PING_PATNODE Description: On match success and/or match failure, raise an asynchronous exception en passant. This can be useful for gauging term shape relative to pattern shape, dynamically. Default: True --Default: False Flag USE_DIE_PATNODE Description: On match, kill (just this) thread immediately. To kill the whole program from a pattern node match, use USE_PING_PATNODE, catch the exception in the main thread, and respond from there as you see fit. Default: True --Default: False Flag USE_TIMING_PATNODE Description: On match, get as precise a measurement of the time of matching as possible, and optionally (depending on how you use the API) measuring and reporting (storing?) differential timestamps (relative to parent node already matched). Not sure how useable this will be (the timestamps need to be very high resolution and cheap enough to obtain), but the principle has its place here, and the flag makes it possible to exclude all this code in case it's not working out. Default: True --Default: False Flag USE_PAR_SEQABLE Description: This flag (now) only affects Seqable. (Refer to USE_PAR_PATNODE for a comparable flag affecting NFDataP.) USE_PAR_SEQABLE = True depends on parallel, and permits (dynamically configurable) sparking of Sequable recursive demand propagation. Default: True --Default: False Flag PARALLELISM_EXPERIMENT Description: Deprecated; will be gone in 0.7. Only has any effect if NEW_IMPROVED_PATTERN_GRAMMAR is False (which is also deprecated, and will be gone in 0.7). Default: True --Default: False Flag NEW_IMPROVED_PATTERN_GRAMMAR Description: The language is about 25% less verbose with this flag set True. Set True by default since version 0.6.0.0. DEPRECATION WARNING: This flag will be removed in a major version or two, in the interests of maintainability. In case there are very early adopters out there, please update your code ASAP to use the new grammar... Default: True --Default: False Flag USE_ATTOPARSEC Description: When True, depend on and use attoparsec for implementing the Pattern parser. (Probably, this flag will be removed in 0.7, becoming effectively always True.) Unfortunately, attoparsec also requires text, so if you're building in a sandbox this will account for most of your initial build time, but it's a one-time cost. Default: True --Default: False -- Flag DEPTH_USES_INT64 -- Description: This won't be implemented for a while, probably. -- --Default: True -- Default: False Flag JUST_ALIAS_GSEQABLE Description: The SOP generic function is probably more performant, anyway! (This will be forced False if HASKELL98_FRAGMENT is True.) Default: True --Default: False Flag JUST_ALIAS_GNFDATAN Description: The SOP generic function is probably more performant, anyway! (This will be forced False if HASKELL98_FRAGMENT is True.) --Default: True Default: False Flag JUST_ALIAS_GNFDATAP Description: The SOP generic function is probably more performant, anyway! (This will be forced False if HASKELL98_FRAGMENT is True.) --Default: True Default: False Flag PROVIDE_DATA_FAMILY Description: Provide a data family comprising instances corresponding to the Seqable, NFDataN and NFDataP modules. (This will be forced False if HASKELL98_FRAGMENT is True.) Default: True --Default: False Flag USE_CURLY_BRACE_INSTEAD_OF_PAREN_FOR_SUBPATTERNS Description: Choose grouping convention (concrete syntax) for pattern strings in the DSL. When True, you have "XX.*Y..Y" instead of the (new) default "((.*)..)". Where X=opening curly brace, and Y=closing curly brace - it seems Cabal makes it impossible to present a curly brace in a flag description, even escaped? Unless Unicode entities? { \u007D } Nope. --Default: True Default: False Flag NEW_SEMICOLON_TYPE_LIST Description: Instead of displaying # for WI and TI nodes, just show a space. Later: Prefer to let whitespace be freeform, except where parsing attribute substrings like numbers, type names, ... Definitely looks better in the HTML with the hash dimmed down, though! Default: True --Default: False Flag NEW_CONCRETE_WI_AND_WS Description: Use . instead of # for WI and TI nodes, and use ! instead of . for WS nodes. WS nodes are being considered for deprecation, but it is nice to be able to type a single character (instead of the available equivalent, *1) for them. Default: True --Default: False Flag ABBREV_WN_AND_TN_CONCRETE_SYNTAX_TO_NUMBER_ALONE__SAFE_ONLY_TO_DEPTH_19 Description: So you can write "2(!53)" instead of "*2(!*5*3)". This will be unambiguous up to a depth of 19. (It may still be unambiguous for higher depths, depending on the use case.) This could be convenient if you work a lot manually with the pattern DSL, particularly for vertical alignment of pattern structures, but otherwise it should be False as ambigities can develop, for instance under (showPat . shrinkPat . compilePat) iteration. ---Default: True Default: False Flag ABBREV_WN_AND_TN_CONCRETE_SYNTAX_TO_SINGLE_DIGIT__CAN_ONLY_EXPRESS_DOWN_TO_DEPTH_9 Description: Similar to the preceding, but use "1" instead of "!" for depth-1, and moreover, use "0" instead of "." for depth-0. (This is such a niche-case syntax variant, that may as well go all the way!) It makes for very tidy when you're not using a lot of other attributes. This grammar variant is unambiguous; the danger here is only that conventions get mixed in practise... ---Default: True Default: False Flag VACANT_HASH Description: Instead of using # for WI and TI nodes, just show a space. (Parser continues to accept both.) Later: Prefer to let whitespace be freeform, except where parsing attribute substrings like numbers, type names, ... Definitely looks better in the HTML with the hash dimmed down, though! --Default: True Default: False -- This takes the cake as longest CPP name I've ever coined (even in jest!) Flag TYPE_CONSTRAINTED_NODES_USE_UNESCAPED_SPACE_AS_TYPE_LIST_SEPARATOR Description: Quick hack; ought to be handled with NEW_IMPROVED_PATTERN_GRAMMAR, arguably. When False, the separator is a single colon character. Colon will likely become the only separator in 0.7. --Default: True Default: False Flag PROVIDE_OLD_SHRINK_PAT Description: Provide shrinkPat_old temporarily, for compatibility of seqaid demo output with documents already written. This flag (and the shrinkPat_old function) will probably be removed in 0.7. Default: True --Default: False Flag USE_WW_DEEPSEQ Description: Depend on deepseq and deepseq-generics, to provide conditional deep forcing. This is optional. Default: True --Default: False Flag WARN_PATTERN_MATCH_FAILURE Description: For NFDataP, if a pattern match fails a warning is output to stderr. --Default: True Default: False Flag USE_SOP Description: Use the generics-sop package instead of GHC.Generics (in GNFDataN) and instead of SYB (in NFDataPDyn). If USE_SOP is False, then NFDataPDyn, GNFDataP, and GSeqable modules will not be available. Default: True --Default: False Flag NFDATA_INSTANCE_PATTERN Description: A flag to assist debugging, affecting a few modules. Default: True --Default: False library exposed-modules: Main -- other-modules: -- other-extensions: build-depends: base >=4.7 && <4.8 -- hs-source-dirs: default-language: Haskell2010