Ticket #107: single.dpatch

File single.dpatch, 1.1 kB (added by M, 6 years ago)

A darcs bundle with the example.

Line 
1Sun May 17 02:18:43 BRT 2009  mauricio.antunes@gmail.com
2  * Single
3
4New patches:
5
6[Single
7mauricio.antunes@gmail.com**20090517051843
8 Ignore-this: ceb074a4ccff24b9a90c6044a3746115
9] addfile ./ModuleA.hs
10addfile ./ModuleB.hs
11addfile ./Setup.hs
12addfile ./teste.cabal
13hunk ./ModuleA.hs 1
14+module ModuleA (
15+ a,b
16+ ) where
17+import ModuleB
18+
19+-- | @a@ belongs to the principal module.
20+
21+a :: Int
22+a = 0
23hunk ./ModuleB.hs 1
24+module ModuleB where
25+
26+-- | @b@ belongs to a hidden module, but
27+-- it is documented. We expect documentation
28+-- for @b@ to appear in module ModuleA
29+-- documentation, since it's reexported
30+-- there.
31+
32+b :: Int
33+b = 0
34hunk ./Setup.hs 1
35+#!/usr/bin/env runhaskell
36+
37+module  Main (main) where  { import  Distribution.Simple ;  main =
38+defaultMain }
39hunk ./teste.cabal 1
40+cabal-Version: >= 1.2
41+name: teste
42+version: 0.0.2
43+synopsis:
44+  Just a haddock test.
45+build-type: Simple
46+license: PublicDomain
47+maintainer: Maurício CA <mauricio.antunes@gmail.com>
48+category: tests
49+Library
50+  hs-source-dirs: .
51+  build-depends: base
52+  exposed-modules:
53+    ModuleA
54
55Context:
56
57Patch bundle hash:
581f0f04cc321c97ec35d73b15ba837c0732f8969b