File: Foo.hs

package info (click to toggle)
haskell-doctest 0.22.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 660 kB
  • sloc: haskell: 3,148; makefile: 5; ansic: 3
file content (28 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (6)
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
-- | module header
module Foo (

-- * some heading
-- | export list 1
  foo

-- * some other heading
-- | export list 2
, bar

-- * one more heading
-- $foo
, baz
) where

-- | foo
foo :: Int
foo = 23

-- $foo named chunk

-- | bar
bar :: Int
bar = 23

baz :: Int
baz = 23