1
0
forked from GitHub/gf-rgl

(synopsis) Fix typos in Music example

This commit is contained in:
Inari Listenmaa
2019-01-07 08:42:57 +02:00
parent fb5d274a36
commit f72890bd05

View File

@@ -3,12 +3,12 @@ The standard way of building an application has the following modules.
An abstract syntax: An abstract syntax:
``` ```
abstract Music = { abstract Music = {
cat cat
Kind, Kind ;
Property ; Property ;
fun fun
PropKind : Kind -> Property -> Kind ; PropKind : Kind -> Property -> Kind ;
Song : Kind ; Song : Kind ;
American : Property ; American : Property ;
} }
@@ -23,8 +23,8 @@ A domain lexicon interface:
``` ```
A functor on ``Syntax`` and the domain lexicon interface: A functor on ``Syntax`` and the domain lexicon interface:
``` ```
incomplete concrete MusicI of Music = open Syntax, MusicLex in { incomplete concrete MusicI of Music = open Syntax, LexMusic in {
lincat lincat
Kind = CN ; Kind = CN ;
Property = AP ; Property = AP ;
lin lin
@@ -35,7 +35,7 @@ A functor on ``Syntax`` and the domain lexicon interface:
``` ```
For each language, an instance of the domain lexicon: For each language, an instance of the domain lexicon:
``` ```
instance LexMusicGer of LexMusic = CatGer ** open ParadigmsGer in { instance LexMusicGer of LexMusic = CatGer ** open ParadigmsGer in {
oper oper
song_N = mkN "Lied" "Lieder" neuter ; song_N = mkN "Lied" "Lieder" neuter ;
american_A = mkA "amerikanisch" ; american_A = mkA "amerikanisch" ;