forked from GitHub/gf-core
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