Difference between revisions of "inside"

From TidalCycles userbase
Jump to: navigation, search
Line 1: Line 1:
[[Types|Type]]: <source inline>inside :: Pattern Time -> (Pattern a -> Pattern b) -> Pattern a -> Pattern b</source>
+
[[Type|Type signatures]]: <source inline>inside :: Pattern Time -> (Pattern a -> Pattern b) -> Pattern a -> Pattern b</source>
  
 
``inside`` carries out an operation 'inside' a cycle.  
 
``inside`` carries out an operation 'inside' a cycle.  

Revision as of 19:24, 5 January 2019

Type signatures: inside :: Pattern Time -> (Pattern a -> Pattern b) -> Pattern a -> Pattern b

``inside`` carries out an operation 'inside' a cycle.

For example, while rev "0 1 2 3 4 5 6 7" is the same as "7 6 5 4 3 2 1 0", inside 2 rev "0 1 2 3 4 5 6 7" gives "3 2 1 0 7 6 5 4".