summaryrefslogtreecommitdiff
path: root/devel/phrases/Travel.gf
blob: 14449981528336637ef594a51b3c7639bf40c17d (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
abstract Travel = Numeral ** {

cat 
  Order ;
cat
  Output ;

fun
  confirm : Order -> Number -> Output ;


-- the essential phrases from Lone Planet Thai Phrasebook

  order : Phrase -> Order ;

cat 
  Phrase ;
  Number ;

fun
  Hello           : Phrase ;
  Goodbye         : Phrase ;
  Please          : Phrase ;
  ThankYou        : Phrase ;
  YoureWelcome    : Phrase ;
  Yes             : Phrase ;
  No              : Phrase ;
  ExcuseAttention : Phrase ;
  ExcuseGetPast   : Phrase ;
  Sorry           : Phrase ;
  IUnderstand     : Phrase ;
  IDontUnderstand : Phrase ;
  Help            : Phrase ;
  WhereAreToilets : Phrase ;

  
  SayNumber : Numeral -> Phrase ;

  One, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten : Number ;


cat 
  Product ;
  Kind ;

fun
  HowMuchCost : Product -> Order ;
  IWantToHave : Product -> Order ;

  This : Kind -> Product ;

  Beer  : Kind ;
  Shirt : Kind ;

}