--- title: Pattern Constructors description: Strudel Tutorial layout: ../../layouts/MainLayout.astro --- import { MiniRepl } from '../../docs/MiniRepl'; import { JsDoc } from '../../docs/JsDoc'; # Pattern Constructors The following functions will return a pattern. These are the equivalents used by the Mini Notation: | function | mini | | ------------------------------ | ---------------- | | `cat(x, y)` | `""` | | `seq(x, y)` | `"x y"` | | `stack(x, y)` | `"x,y"` | | `timeCat([3,x],[2,y])` | `"x@3 y@2"` | | `polymeter([a, b, c], [x, y])` | `"{a b c, x y}"` | | `polymeterSteps(2, x, y, z)` | `"{x y z}%2"` | | `silence` | `"~"` | ## cat You can also use cat as a chained function like this: ## seq Or as a chained function: ## stack As a chained function: ## timeCat ## polymeter ## polymeterSteps ## silence ## run