mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 01:32:50 -06:00
10 lines
208 B
Plaintext
10 lines
208 B
Plaintext
concrete TextPol of Text = {
|
|
|
|
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} ;
|
|
|
|
}
|