generalize EdnItem.

maybe should rename it to Atom? ~90 instances of it
This commit is contained in:
🪞👃🪞 2025-01-17 19:47:35 +01:00
parent 1b9da07280
commit 143cd24e09
20 changed files with 314 additions and 286 deletions

View file

@ -22,7 +22,7 @@ pub enum ClockCommand {
SetQuant(f64),
SetSync(f64),
}
edn_provide!(# u32: |self: Clock| {});
edn_provide_num!(u32: |self: Clock| {});
edn_provide!(f64: |self: Clock| {});
edn_command!(ClockCommand: |state: Clock| {
("play" [] Self::Play(None))