BuildExpression.hs 512 Bytes
Newer Older
Andrey Mokhov's avatar
Andrey Mokhov committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module Expression.BuildExpression (
    BuildExpression,
    Ways, Packages, TargetDirs,

    -- reexport from Expression.PG:
    bimap, (|>), (?), (??), whenExists, support,
    msum, mproduct,
    fromList, fromOrderedList
    ) where

import Base
import Ways
import Package (Package)
import Expression.PG
import Expression.BuildPredicate

type BuildExpression v = PG BuildPredicate v

type Ways       = BuildExpression Way
type Packages   = BuildExpression Package
type TargetDirs = BuildExpression TargetDir