Comment 4 for bug 126128

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I see one directory in the source tree which explicitly contains examples: example.
In example there are the following example files:

-rw-r--r-- 1 cesare cesare 222 2002-06-13 06:11 Artifical.hs
-rw-r--r-- 1 cesare cesare 99 2002-06-13 06:11 BTree.hs
-rw-r--r-- 1 cesare cesare 1242 2002-06-13 06:11 Example.hs
-rw-r--r-- 1 cesare cesare 51 2002-06-13 06:11 Foo.lhs
-rw-r--r-- 1 cesare cesare 125 2002-06-13 06:11 Xref.hs

I don't see any guidance on where to install these files, so I'm thinking about:

/usr/share/doc/drift/example

which requires the user to set DERIVEPATH as export DERIVEPATH=$DERIVEPATH:/usr/share/doc/drift/example

Would the above be acceptable?
Can you also please clarify why we should consider the src/UserRule*.hs files as examples?