---
title: Internals
layout: ../../layouts/MainLayout.astro
---
import { MiniRepl } from '../../docs/MiniRepl';
import { JsDoc } from '../../docs/JsDoc';
# Internal Functions
These functions are more low level, probably not needed by the live coder.
# Haskell-style functor, applicative and monadic operations
## withValue
## appWhole
## appBoth
## appLeft
## appRight
## bindWhole
## bind
## join
## outerBind
## outerJoin
## innerBind
## innerJoin
## trigJoin
## trigzeroJoin
## squeezeJoin
## squeezeBind
# Utility methods mainly for internal use
## queryArc
## splitQueries
## withQuerySpan
## withQuerySpanMaybe
## withQueryTime
## withHapSpan
## withHapTime
## withHaps
## withHap
## setContext
## withContext
## stripContext
## withLocation
## withMiniLocation
## filterHaps
## filterValues
## removeUndefineds
## onsetsOnly
## discreteOnly
## defragmentHaps
## firstCycle
## firstCycleValues
## showFirstCycle
## sortHapsByPart
## asNumber
# Operators
- \_opIn
- \_opOut
- \_opMix
- \_opSqueeze
- \_opSqueezeOut
- \_opTrig
- \_opTrigzero
# Other
## onTrigger
## log
## logValues
## drawLine
## collect
# Functions
## groupHapsBy
## pure
## reify
## slowcatPrime
## isPattern
## register
## toBipolar
## fromBipolar
## compressSpan
## focus
## focusSpan
## \_composeOp
# Composers
```
set keep keepif add sub mul div mod pow band bor bxor blshift brshift lt gt lte gte eq eqt ne net and or func
```
```
In Out Mix Squeeze SqueezeOut Trig Trigzero
```