Skip to content
Snippets Groups Projects

Define variables through new @defvar macro

Merged Michiel Cottaar requested to merge new_variables into main
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -175,6 +175,8 @@ nrepeat(::Sequence) = 0
to_block_pair(pair::Pair) = pair[1] => to_block(pair[2])
to_block_pair(other) = nothing => to_block(other)
@defvar repetition_time(seq::Sequence) = duration(seq)
"""
to_block(block_like)
Loading