forked from GitHub/gf-core
API module titles, resource.txt corrections
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
--1 Texts
|
||||
--1 Text: Texts
|
||||
|
||||
-- Texts are built from an empty text by adding $Phr$ases,
|
||||
-- using as constructors the punctuation marks ".", "?", and "!".
|
||||
-- Any punctuation mark can be attached to any kind of phrase.
|
||||
|
||||
abstract Text = Common ** {
|
||||
|
||||
fun
|
||||
TEmpty : Text ;
|
||||
TFullStop : Phr -> Text -> Text ;
|
||||
TQuestMark : Phr -> Text -> Text ;
|
||||
TExclMark : Phr -> Text -> Text ;
|
||||
TEmpty : Text ; --
|
||||
TFullStop : Phr -> Text -> Text ; -- John walks. ...
|
||||
TQuestMark : Phr -> Text -> Text ; -- Are you OK? ...
|
||||
TExclMark : Phr -> Text -> Text ; -- John walks! ...
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user