This file is indexed.

/usr/share/doc/libghc-uuagc-cabal-dev/README is in libghc-uuagc-cabal-dev 1.0.4.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
This is a plugin for the UUAG system.

To use UUAG in combination with Cabal, add a dependency on the packages:
uuagc         -- installs the tool: uuagc
uuagc-cabal   -- installs a cabal plugin that uses uuagc
Note that this package does not have a dependency on uuagc. You can use
this module without having uuagc installed.
(whether this is useful is a different question)

Then write a custom Setup.hs:

--
module Main where

import Distribution.Simple
import Distribution.Simple.UUAGC

compiler = "uuagc"
main = defaultMainWithHooks (uuagcUserHook' compiler)
--

Add extra-source-files: uuagc_options
The contents of this file are options per AG module, as specified
as follows. Write for each AG file:
* Two lines in a file uuagc_options in the root of the package:
   --
   file: "src-ag/Desugar.ag"
   options: module, pretty, catas, semfuns, signatures, genlinepragmas
   --
  The options depend on what you actually want to compile.
* Add an extra source file to the AG file in the cabal file:
    extra-source-files: src/MyProgram.ag
* Add the module to the modules list in the cabal file.


Originally written by Juan Cardona (or one of his students).