aboutsummaryrefslogtreecommitdiff
path: root/src/testsuite/compiler/aw-420.spad
blob: 847416ea68f801ca31436d19b2d2561d28b04ab1 (plain)
1
2
3
4
5
6
7
8
)abbrev domain MOO Moo
Moo(): Public == Private where
  Public ==> with
    coerce: Tuple Type -> %
  Private ==> add
    Rep == Tuple Type
    coerce(x: Tuple Type) == per x