1--- 2title: Internals 3layout: ../../layouts/MainLayout.astro 4--- 5 6import { MiniRepl } from '../../docs/MiniRepl'; 7import { JsDoc } from '../../docs/JsDoc'; 8 9# Internal Functions 10 11These functions are more low level, probably not needed by the live coder. 12 13# Haskell-style functor, applicative and monadic operations 14 15## withValue 16 17<JsDoc client:idle name="Pattern#withValue" h={0} /> 18 19## appWhole 20 21<JsDoc client:idle name="Pattern#appWhole" h={0} /> 22 23## appBoth 24 25<JsDoc client:idle name="Pattern#appBoth" h={0} /> 26 27## appLeft 28 29<JsDoc client:idle name="Pattern#appLeft" h={0} /> 30 31## appRight 32 33<JsDoc client:idle name="Pattern#appRight" h={0} /> 34 35## bindWhole 36 37<JsDoc client:idle name="Pattern#bindWhole" h={0} /> 38 39## bind 40 41<JsDoc client:idle name="Pattern#bind" h={0} /> 42 43## join 44 45<JsDoc client:idle name="Pattern#join" h={0} /> 46 47## outerBind 48 49<JsDoc client:idle name="Pattern#outerBind" h={0} /> 50 51## outerJoin 52 53<JsDoc client:idle name="Pattern#outerJoin" h={0} /> 54 55## innerBind 56 57<JsDoc client:idle name="Pattern#innerBind" h={0} /> 58 59## innerJoin 60 61<JsDoc client:idle name="Pattern#innerJoin" h={0} /> 62 63## resetJoin 64 65<JsDoc client:idle name="Pattern#resetJoin" h={0} /> 66 67## restartJoin 68 69<JsDoc client:idle name="Pattern#restartJoin" h={0} /> 70 71## squeezeJoin 72 73<JsDoc client:idle name="Pattern#squeezeJoin" h={0} /> 74 75## squeezeBind 76 77<JsDoc client:idle name="Pattern#squeezeBind" h={0} /> 78 79# Utility methods mainly for internal use 80 81## queryArc 82 83<JsDoc client:idle name="Pattern#queryArc" h={0} /> 84 85## splitQueries 86 87<JsDoc client:idle name="Pattern#splitQueries" h={0} /> 88 89## withQuerySpan 90 91<JsDoc client:idle name="Pattern#withQuerySpan" h={0} /> 92 93## withQuerySpanMaybe 94 95<JsDoc client:idle name="Pattern#withQuerySpanMaybe" h={0} /> 96 97## withQueryTime 98 99<JsDoc client:idle name="Pattern#withQueryTime" h={0} /> 100 101## withHapSpan 102 103<JsDoc client:idle name="Pattern#withHapSpan" h={0} /> 104 105## withHapTime 106 107<JsDoc client:idle name="Pattern#withHapTime" h={0} /> 108 109## withHaps 110 111<JsDoc client:idle name="Pattern#withHaps" h={0} /> 112 113## withHap 114 115<JsDoc client:idle name="Pattern#withHap" h={0} /> 116 117## setContext 118 119<JsDoc client:idle name="Pattern#setContext" h={0} /> 120 121## withContext 122 123<JsDoc client:idle name="Pattern#setContext" h={0} /> 124 125## stripContext 126 127<JsDoc client:idle name="Pattern#stripContext" h={0} /> 128 129## withLoc 130 131<JsDoc client:idle name="Pattern#withLoc" h={0} /> 132 133## filterHaps 134 135<JsDoc client:idle name="Pattern#filterHaps" h={0} /> 136 137## filterValues 138 139<JsDoc client:idle name="Pattern#filterValues" h={0} /> 140 141## removeUndefineds 142 143<JsDoc client:idle name="Pattern#filterValues" h={0} /> 144 145## onsetsOnly 146 147<JsDoc client:idle name="Pattern#onsetsOnly" h={0} /> 148 149## discreteOnly 150 151<JsDoc client:idle name="Pattern#discreteOnly" h={0} /> 152 153## defragmentHaps 154 155<JsDoc client:idle name="Pattern#defragmentHaps" h={0} /> 156 157## firstCycle 158 159<JsDoc client:idle name="Pattern#firstCycle" h={0} /> 160 161## firstCycleValues 162 163<JsDoc client:idle name="Pattern#firstCycleValues" h={0} /> 164 165## showFirstCycle 166 167<JsDoc client:idle name="Pattern#showFirstCycle" h={0} /> 168 169## sortHapsByPart 170 171<JsDoc client:idle name="Pattern#sortHapsByPart" h={0} /> 172 173## asNumber 174 175<JsDoc client:idle name="Pattern#sortHapsByPart" h={0} /> 176 177# Operators 178 179- \_opIn 180- \_opOut 181- \_opMix 182- \_opSqueeze 183- \_opSqueezeOut 184- \_opTrig 185- \_opTrigzero 186 187# Other 188 189## onTrigger 190 191<JsDoc client:idle name="Pattern#onTrigger" h={0} /> 192 193## log 194 195<JsDoc client:idle name="Pattern#log" h={0} /> 196 197## logValues 198 199<JsDoc client:idle name="Pattern#logValues" h={0} /> 200 201## drawLine 202 203<JsDoc client:idle name="Pattern#drawLine" h={0} /> 204 205## collect 206 207# Functions 208 209## groupHapsBy 210 211<JsDoc client:idle name="groupHapsBy" h={0} /> 212 213## pure 214 215<JsDoc client:idle name="pure" h={0} /> 216 217## reify 218 219<JsDoc client:idle name="reify" h={0} /> 220 221## slowcatPrime 222 223<JsDoc client:idle name="slowcatPrime" h={0} /> 224 225## isPattern 226 227<JsDoc client:idle name="isPattern" h={0} /> 228 229## register 230 231<JsDoc client:idle name="register" h={0} /> 232 233## toBipolar 234 235<JsDoc client:idle name="toBipolar" h={0} /> 236 237## fromBipolar 238 239<JsDoc client:idle name="fromBipolar" h={0} /> 240 241## compressSpan 242 243<JsDoc client:idle name="compressSpan" h={0} /> 244 245## focus 246 247<JsDoc client:idle name="focus" h={0} /> 248 249## focusSpan 250 251## \_composeOp 252 253# Composers 254 255``` 256set keep keepif add sub mul div mod pow band bor bxor blshift brshift lt gt lte gte eq eqt ne net and or func 257``` 258 259``` 260In Out Mix Squeeze SqueezeOut Trig Trigzero 261```