blob: 9f9eb75b9bdab020f06ea6d8481b20298ada8992 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
concrete TextSpa of Text = CommonX - [Tense,TPres,TPast,TFut,TCond] ** {
-- This works for the special punctuation marks of Spanish.
lin
TEmpty = {s = []} ;
TFullStop x xs = {s = x.s ++ "." ++ xs.s} ;
TQuestMark x xs = {s = "¿" ++ x.s ++ "?" ++ xs.s} ;
TExclMark x xs = {s = "¡" ++ x.s ++ "!" ++ xs.s} ;
}
|