mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
mp3 example
This commit is contained in:
19
examples/mp3/MP3.gf
Normal file
19
examples/mp3/MP3.gf
Normal file
@@ -0,0 +1,19 @@
|
||||
abstract MP3 = {
|
||||
cat
|
||||
Move ;
|
||||
Song ;
|
||||
|
||||
fun
|
||||
Play : Song -> Move ;
|
||||
CanPlay : Song -> Move ;
|
||||
WantPlay : Song -> Move ;
|
||||
WhichPlay : Move ;
|
||||
|
||||
ThisSong : Song ;
|
||||
This : Song ;
|
||||
|
||||
Yesterday : Song ;
|
||||
|
||||
---- MkSong : String -> Song ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user