Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Solkattu.Dsl.Generic

Description

Provide short names and operators for writing korvais in haskell. This module is the shared global namespace between Solkattu.Dsl.Solkattu and Solkattu.Dsl.Mridangam.

Operators:

infixl 9 ^ § & -- also •, which replaces prelude (.)
infixl 8 <== ==>
infixr 6 . -- same as (<>)
Synopsis

Documentation

s :: a -> Korvai.Section a Source #

Declare a Section of a Korvai.

I tried to think of various ways to avoid having to explicitly wrap every section, but they all seem really heavyweight, like a typeclass and replace list literals with a custom (:) operator, or leaky, like embed section in the Sequence and just pull out the topmost one. So I'll settle for explicit noise, but shorten the name.

(.) :: Monoid a => a -> a -> a infixr 6 Source #

Combine Sequences. This is just another name for (<>).

(•) :: (b -> c) -> (a -> b) -> a -> c infixr 9 Source #

Composition is still useful though.

ø :: Monoid a => a Source #

Synonym for mempty. Opt-o on OS X. It looks a little bit nicer when the empty case takes less horizontal space than the non-empty case.

mconcatMap :: Monoid b => (a -> b) -> [a] -> b Source #

This is foldMap specialized to lists.

notation

karvai :: (CallStack.Stack, Pretty sollu) => SequenceT sollu -> SequenceT sollu Source #

Make a single sollu Solkattu.Karvai.

directives

sam :: SequenceT sollu Source #

Assert that the following sollu is on sam.

(§) :: SequenceT sollu -> Akshara -> SequenceT sollu infix 9 Source #

Align at the given akshara. I use § because I don't use it so often, and it's opt-6 on OS X.

Config

data Abstraction Source #

Control what is rendered as strokes, and what is rendered as abstract groups with durations.

patterns :: Abstraction Source #

Abstract all Patterns to durations.

patterns

pat :: Matra -> SequenceT sollu Source #

p5 :: SequenceT sollu Source #

p6 :: SequenceT sollu Source #

p7 :: SequenceT sollu Source #

p8 :: SequenceT sollu Source #

p9 :: SequenceT sollu Source #

p666 :: SequenceT sollu -> SequenceT sollu Source #

p567 :: SequenceT sollu -> SequenceT sollu Source #

p765 :: SequenceT sollu -> SequenceT sollu Source #

re-exports

data Korvai Source #

Instances

Instances details
Generic Korvai Source # 
Instance details

Defined in Solkattu.Korvai

Associated Types

type Rep Korvai :: Type -> Type #

Methods

from :: Korvai -> Rep Korvai x #

to :: Rep Korvai x -> Korvai #

Show Korvai Source # 
Instance details

Defined in Solkattu.Korvai

Pretty Korvai Source # 
Instance details

Defined in Solkattu.Korvai

type Rep Korvai Source # 
Instance details

Defined in Solkattu.Korvai

data Part k Source #

Constructors

K !k 
Comment !Text 

Instances

Instances details
Functor Part Source # 
Instance details

Defined in Solkattu.Korvai

Methods

fmap :: (a -> b) -> Part a -> Part b #

(<$) :: a -> Part b -> Part a #

Show k => Show (Part k) Source # 
Instance details

Defined in Solkattu.Korvai

Methods

showsPrec :: Int -> Part k -> ShowS #

show :: Part k -> String #

showList :: [Part k] -> ShowS #

data Score Source #

Instances

Instances details
Show Score Source # 
Instance details

Defined in Solkattu.Korvai

Methods

showsPrec :: Int -> Score -> ShowS #

show :: Score -> String #

showList :: [Score] -> ShowS #

tani :: [Part Korvai] -> Score Source #

Make a Tani Score, which is just a sequence of Korvais.

index :: Int -> Korvai -> Korvai Source #

Modify the korvai to extract a single Section.

data Duration Source #

A single Duration unit is equivalent to 1 Akshara. Unlike S.FMatra and Matra, this is an absolute duration, so it doesn't depend on S._nadai or S._speed.

Instances

Instances details
Num Duration Source # 
Instance details

Defined in Solkattu.S

Fractional Duration Source # 
Instance details

Defined in Solkattu.S

Real Duration Source # 
Instance details

Defined in Solkattu.S

RealFrac Duration Source # 
Instance details

Defined in Solkattu.S

Methods

properFraction :: Integral b => Duration -> (b, Duration) #

truncate :: Integral b => Duration -> b #

round :: Integral b => Duration -> b #

ceiling :: Integral b => Duration -> b #

floor :: Integral b => Duration -> b #

Show Duration Source # 
Instance details

Defined in Solkattu.S

Eq Duration Source # 
Instance details

Defined in Solkattu.S

Ord Duration Source # 
Instance details

Defined in Solkattu.S

Pretty Duration Source # 
Instance details

Defined in Solkattu.S

type Matra = Int Source #

A matra is an akshara divided by the nadai. It corresponds to a single sollu in first speed, which means the actual duration is dependent on Nadai and Speed.

Matra being integral is important, since together with TempoChange, it can encode the invariant that durations are always a power of two rational, once you multiply out the nadai.

type Nadai = Int Source #

type Akshara = Int Source #

An akshara is one count of the talam.

misc

pprint :: Pretty a => a -> IO () Source #

talam

beats :: Akshara -> Tala.Tala Source #

For a fragment which fits a certain number of beats.

conveniences

class Pretty a Source #

Format values in an eye-pleasing way. Unlike Show, this isn't intended to produce any kind of valid syntax, or even preserve information.

Minimal complete definition

pretty | format

Instances

Instances details
Pretty Dynamic Source # 
Instance details

Defined in Util.Pretty

Pretty CChar Source # 
Instance details

Defined in Util.Pretty

Pretty CFloat Source # 
Instance details

Defined in Util.Pretty

Pretty CInt Source # 
Instance details

Defined in Util.Pretty

Pretty Int16 Source # 
Instance details

Defined in Util.Pretty

Pretty Int32 Source # 
Instance details

Defined in Util.Pretty

Pretty Int64 Source # 
Instance details

Defined in Util.Pretty

Pretty Int8 Source # 
Instance details

Defined in Util.Pretty

Pretty Word16 Source # 
Instance details

Defined in Util.Pretty

Pretty Word32 Source # 
Instance details

Defined in Util.Pretty

Pretty Word64 Source # 
Instance details

Defined in Util.Pretty

Pretty Word8 Source # 
Instance details

Defined in Util.Pretty

Pretty ByteString Source # 
Instance details

Defined in Util.Pretty

Pretty Query Source # 
Instance details

Defined in App.ReplProtocol

Pretty CallType Source # 
Instance details

Defined in Cmd.CallDoc

Pretty Action Source # 
Instance details

Defined in Cmd.Cmd

Pretty Backend Source # 
Instance details

Defined in Cmd.Cmd

Pretty Bindable Source # 
Instance details

Defined in Cmd.Cmd

Pretty EditMode Source # 
Instance details

Defined in Cmd.Cmd

Pretty Fingerprint Source # 
Instance details

Defined in Cmd.Cmd

Pretty History Source # 
Instance details

Defined in Cmd.Cmd

Pretty HistoryCollect Source # 
Instance details

Defined in Cmd.Cmd

Pretty HistoryConfig Source # 
Instance details

Defined in Cmd.Cmd

Pretty HistoryEntry Source # 
Instance details

Defined in Cmd.Cmd

Pretty InstrumentCode Source # 
Instance details

Defined in Cmd.Cmd

Pretty KeySpec Source # 
Instance details

Defined in Cmd.Cmd

Pretty Modifier Source # 
Instance details

Defined in Cmd.Cmd

Pretty MouseOn Source # 
Instance details

Defined in Cmd.Cmd

Pretty ResolvedInstrument Source # 
Instance details

Defined in Cmd.Cmd

Pretty SelectionHistory Source # 
Instance details

Defined in Cmd.Cmd

Pretty SyncConfig Source # 
Instance details

Defined in Cmd.Cmd

Pretty Pos Source # 
Instance details

Defined in Cmd.EditUtil

Pretty TrackType Source # 
Instance details

Defined in Cmd.Info

Pretty Stroke Source # 
Instance details

Defined in Cmd.Instrument.Drums

Pretty Code Source # 
Instance details

Defined in Cmd.Instrument.MidiInst

Pretty Patch Source # 
Instance details

Defined in Cmd.Instrument.MidiInst

Pretty Track Source # 
Instance details

Defined in Cmd.Integrate.Convert

Pretty Edit Source # 
Instance details

Defined in Cmd.Integrate.Merge

Pretty Modify Source # 
Instance details

Defined in Cmd.Integrate.Merge

Pretty Control Source # 
Instance details

Defined in Cmd.ModifyNotes

Pretty Note Source # 
Instance details

Defined in Cmd.ModifyNotes

Pretty DeriveStatus Source # 
Instance details

Defined in Cmd.Msg

Pretty ImStatus Source # 
Instance details

Defined in Cmd.Msg

Pretty Msg Source # 
Instance details

Defined in Cmd.Msg

Pretty Performance Source # 
Instance details

Defined in Cmd.Msg

Pretty SavePoint Source # 
Instance details

Defined in Cmd.SaveGit

Pretty SaveHistory Source # 
Instance details

Defined in Cmd.SaveGitT

Pretty Allocation Source # 
Instance details

Defined in Cmd.Simple

Pretty Attributes Source # 
Instance details

Defined in Derive.Attrs

Pretty Atom Source # 
Instance details

Defined in Derive.C.Bali.Gangsa

Pretty KotekanNote Source # 
Instance details

Defined in Derive.C.Bali.Gangsa

Pretty KotekanPattern Source # 
Instance details

Defined in Derive.C.Bali.Gangsa

Pretty Repeat Source # 
Instance details

Defined in Derive.C.Bali.Gangsa

Pretty Degree Source # 
Instance details

Defined in Derive.C.Bali.Reyong

Pretty Hand Source # 
Instance details

Defined in Derive.C.Bali.Reyong

Pretty Expr Source # 
Instance details

Defined in Derive.C.India.Gamakam2

Pretty Stroke Source # 
Instance details

Defined in Derive.C.India.Mridangam

Pretty Bol Source # 
Instance details

Defined in Derive.C.India.Pakhawaj

Pretty Stroke Source # 
Instance details

Defined in Derive.C.India.Pakhawaj

Pretty UpDown Source # 
Instance details

Defined in Derive.Call

Pretty Module Source # 
Instance details

Defined in Derive.Call.Module

Pretty String Source # 
Instance details

Defined in Derive.Call.StringUtil

Pretty Track Source # 
Instance details

Defined in Derive.Call.SubT

Pretty ControlFunction Source # 
Instance details

Defined in Derive.DeriveT

Pretty ControlRef Source # 
Instance details

Defined in Derive.DeriveT

Pretty Duration Source # 
Instance details

Defined in Derive.DeriveT

Pretty Environ Source # 
Instance details

Defined in Derive.DeriveT

Pretty OutOfRange Source # 
Instance details

Defined in Derive.DeriveT

Pretty PControlRef Source # 
Instance details

Defined in Derive.DeriveT

Pretty PSignal Source # 
Instance details

Defined in Derive.DeriveT

Pretty PitchConfig Source # 
Instance details

Defined in Derive.DeriveT

Pretty PitchError Source # 
Instance details

Defined in Derive.DeriveT

Pretty Quoted Source # 
Instance details

Defined in Derive.DeriveT

Pretty Scale Source # 
Instance details

Defined in Derive.DeriveT

Pretty Val Source # 
Instance details

Defined in Derive.DeriveT

Pretty ArgName Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty BlockDeps Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Cache Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty CacheEntry Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty CacheKey Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty CacheStats Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Cached Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty CallError Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty CallName Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty CallPriority Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Collect Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty ControlDamage Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty ControlMod Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Dynamic Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Error Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty ErrorPlace Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty ErrorVal Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Integrated Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Inversion Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Merge Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Merger Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Mode Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Scale Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty ScoreDamage Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty Tagged Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty TypeErrorT Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty MiniVal Source # 
Instance details

Defined in Derive.Expr

Pretty Str Source # 
Instance details

Defined in Derive.Expr

Pretty Symbol Source # 
Instance details

Defined in Derive.Expr

Pretty Flag Source # 
Instance details

Defined in Derive.Flags

Pretty Composite Source # 
Instance details

Defined in Derive.Instrument.DUtil

Pretty Type Source # 
Instance details

Defined in Derive.ParseTitle

Pretty Environ Source # 
Instance details

Defined in Derive.REnv

Pretty Val Source # 
Instance details

Defined in Derive.REnv

Pretty Range Source # 
Instance details

Defined in Derive.Scale

Pretty Tuning Source # 
Instance details

Defined in Derive.Scale.BaliScales

Pretty Key Source # 
Instance details

Defined in Derive.Scale.JustScales

Pretty DegreeMap Source # 
Instance details

Defined in Derive.Scale.Scales

Pretty Key Source # 
Instance details

Defined in Derive.Scale.Theory

Pretty RelativePitch Source # 
Instance details

Defined in Derive.Scale.TheoryFormat

Pretty Event Source # 
Instance details

Defined in Derive.Score

Pretty Control Source # 
Instance details

Defined in Derive.ScoreT

Pretty Instrument Source # 
Instance details

Defined in Derive.ScoreT

Pretty PControl Source # 
Instance details

Defined in Derive.ScoreT

Pretty Type Source # 
Instance details

Defined in Derive.ScoreT

Pretty Arg Source # 
Instance details

Defined in Derive.Sig

Pretty Frame Source # 
Instance details

Defined in Derive.Stack

Pretty Stack Source # 
Instance details

Defined in Derive.Stack

Pretty From Source # 
Instance details

Defined in Derive.TScore.Check

Pretty Barline Source # 
Instance details

Defined in Derive.TScore.Parse

Pretty Call Source # 
Instance details

Defined in Derive.TScore.Parse

Pretty Error Source # 
Instance details

Defined in Derive.TScore.T

Pretty Octave Source # 
Instance details

Defined in Derive.TScore.Parse

Pretty Pitch Source # 
Instance details

Defined in Derive.TScore.Parse

Pretty Pos Source # 
Instance details

Defined in Derive.TScore.T

Pretty Time Source # 
Instance details

Defined in Derive.TScore.T

Pretty Track Source # 
Instance details

Defined in Derive.TrackWarp

Pretty TrackWarp Source # 
Instance details

Defined in Derive.TrackWarp

Pretty Normalized Source # 
Instance details

Defined in Derive.Typecheck

Pretty NormalizedBipolar Source # 
Instance details

Defined in Derive.Typecheck

Pretty TimeType Source # 
Instance details

Defined in Derive.Typecheck

Pretty TransposeType Source # 
Instance details

Defined in Derive.Typecheck

Pretty NumType Source # 
Instance details

Defined in Derive.ValType

Pretty NumValue Source # 
Instance details

Defined in Derive.ValType

Pretty Type Source # 
Instance details

Defined in Derive.ValType

Pretty Warp Source # 
Instance details

Defined in Derive.Warp

Pretty Config Source # 
Instance details

Defined in Instrument.Common

Pretty Flag Source # 
Instance details

Defined in Instrument.Common

Pretty Backend Source # 
Instance details

Defined in Instrument.Inst

Pretty Qualified Source # 
Instance details

Defined in Instrument.InstT

Pretty Record Source # 
Instance details

Defined in Instrument.Sysex

Pretty Message Source # 
Instance details

Defined in Midi.Interface

Pretty ChannelMessage Source # 
Instance details

Defined in Midi.Midi

Pretty Key Source # 
Instance details

Defined in Midi.Midi

Pretty Message Source # 
Instance details

Defined in Midi.Midi

Pretty ReadDevice Source # 
Instance details

Defined in Midi.Midi

Pretty ReadMessage Source # 
Instance details

Defined in Midi.Midi

Pretty WriteDevice Source # 
Instance details

Defined in Midi.Midi

Pretty WriteMessage Source # 
Instance details

Defined in Midi.Midi

Pretty Channel Source # 
Instance details

Defined in Midi.State

Pretty Control Source # 
Instance details

Defined in Midi.State

Pretty State Source # 
Instance details

Defined in Midi.State

Pretty Patch Source # 
Instance details

Defined in Perform.Im.Patch

Pretty CodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Pretty FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Pretty StaffGroup Source # 
Instance details

Defined in Perform.Lilypond.Lilypond

Pretty Meter Source # 
Instance details

Defined in Perform.Lilypond.Meter

Pretty Ly Source # 
Instance details

Defined in Perform.Lilypond.Process

Pretty Voice Source # 
Instance details

Defined in Perform.Lilypond.Process

Pretty Voices Source # 
Instance details

Defined in Perform.Lilypond.Process

Pretty Config Source # 
Instance details

Defined in Perform.Lilypond.Types

Pretty Duration Source # 
Instance details

Defined in Perform.Lilypond.Types

Pretty Event Source # 
Instance details

Defined in Perform.Lilypond.Types

Pretty NoteDuration Source # 
Instance details

Defined in Perform.Lilypond.Types

Pretty Pitch Source # 
Instance details

Defined in Perform.Lilypond.Types

Pretty StaffConfig Source # 
Instance details

Defined in Perform.Lilypond.Types

Pretty Time Source # 
Instance details

Defined in Perform.Lilypond.Types

Pretty Config Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty Flag Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty Initialization Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty InitializePatch Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty Keymap Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty Keyswitch Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty ModeMap Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty Patch Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty Scale Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty Settings Source # 
Instance details

Defined in Perform.Midi.Patch

Pretty State Source # 
Instance details

Defined in Perform.Midi.Perform

Pretty Event Source # 
Instance details

Defined in Perform.Midi.Types

Pretty Patch Source # 
Instance details

Defined in Perform.Midi.Types

Pretty Degree Source # 
Instance details

Defined in Perform.Pitch

Pretty Input Source # 
Instance details

Defined in Perform.Pitch

Pretty Key Source # 
Instance details

Defined in Perform.Pitch

Pretty Note Source # 
Instance details

Defined in Perform.Pitch

Pretty NoteNumber Source # 
Instance details

Defined in Perform.Pitch

Pretty Pitch Source # 
Instance details

Defined in Perform.Pitch

Pretty ScaleId Source # 
Instance details

Defined in Perform.Pitch

Pretty Transpose Source # 
Instance details

Defined in Perform.Pitch

Pretty RealTime Source # 
Instance details

Defined in Perform.RealTime

Pretty ControlId Source # 
Instance details

Defined in Perform.Sc.Note

Pretty Note Source # 
Instance details

Defined in Perform.Sc.Note

Pretty Patch Source # 
Instance details

Defined in Perform.Sc.Patch

Pretty Status Source # 
Instance details

Defined in Perform.Transport

Pretty Stroke Source # 
Instance details

Defined in Solkattu.Instrument.KendangPasang

Pretty Stroke Source # 
Instance details

Defined in Solkattu.Instrument.KendangTunggal

Pretty Stroke Source # 
Instance details

Defined in Solkattu.Instrument.Mridangam

Pretty Thoppi Source # 
Instance details

Defined in Solkattu.Instrument.Mridangam

Pretty Valantalai Source # 
Instance details

Defined in Solkattu.Instrument.Mridangam

Pretty Stroke Source # 
Instance details

Defined in Solkattu.Instrument.Reyong

Pretty Stroke Source # 
Instance details

Defined in Solkattu.Instrument.Sargam

Pretty Korvai Source # 
Instance details

Defined in Solkattu.Korvai

Pretty Korvai.KorvaiSections Source # 
Instance details

Defined in Solkattu.Korvai

Pretty Korvai.Metadata Source # 
Instance details

Defined in Solkattu.Korvai

Pretty Korvai.StrokeMaps Source # 
Instance details

Defined in Solkattu.Korvai

Pretty Realize.Emphasis Source # 
Instance details

Defined in Solkattu.Realize

Pretty Duration Source # 
Instance details

Defined in Solkattu.S

Pretty S.FMatra Source # 
Instance details

Defined in Solkattu.S

Pretty S.State Source # 
Instance details

Defined in Solkattu.S

Pretty S.Tempo Source # 
Instance details

Defined in Solkattu.S

Pretty S.TempoChange Source # 
Instance details

Defined in Solkattu.S

Pretty Solkattu.Group Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Solkattu.GroupType Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Solkattu.Meta Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Solkattu.Pattern Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Solkattu.Reduction Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Solkattu.Side Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Solkattu.Sollu Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Solkattu.Space Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Solkattu.Tag Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty Tags Source # 
Instance details

Defined in Solkattu.Tags

Pretty Tala.Anga Source # 
Instance details

Defined in Solkattu.Tala

Pretty Tala.Tala Source # 
Instance details

Defined in Solkattu.Tala

Pretty State Source # 
Instance details

Defined in Synth.Faust.EffectC

Pretty ControlConfig Source # 
Instance details

Defined in Synth.Faust.InstrumentC

Pretty Span Source # 
Instance details

Defined in Synth.Lib.Checkpoint

Pretty State Source # 
Instance details

Defined in Synth.Lib.Checkpoint

Pretty Pitch Source # 
Instance details

Defined in Synth.Sampler.Patch.Lib.Bali

Pretty Dynamic Source # 
Instance details

Defined in Synth.Sampler.Patch.Lib.Util

Pretty PlayState Source # 
Instance details

Defined in Synth.Sampler.Render

Pretty Playing Source # 
Instance details

Defined in Synth.Sampler.Render

Pretty ResampleState Source # 
Instance details

Defined in Synth.Sampler.Render

Pretty State Source # 
Instance details

Defined in Synth.Sampler.Render

Pretty Note Source # 
Instance details

Defined in Synth.Sampler.Sample

Pretty Sample Source # 
Instance details

Defined in Synth.Sampler.Sample

Pretty Stretch Source # 
Instance details

Defined in Synth.Sampler.Sample

Pretty InstrumentDir Source # 
Instance details

Defined in Synth.Shared.Config

Pretty Control Source # 
Instance details

Defined in Synth.Shared.Control

Pretty Hash Source # 
Instance details

Defined in Synth.Shared.Note

Pretty Note Source # 
Instance details

Defined in Synth.Shared.Note

Pretty Block Source # 
Instance details

Defined in Ui.Block

Pretty Box Source # 
Instance details

Defined in Ui.Block

Pretty Config Source # 
Instance details

Defined in Ui.Block

Pretty DisplayTrack Source # 
Instance details

Defined in Ui.Block

Pretty NoteDestination Source # 
Instance details

Defined in Ui.Block

Pretty Padding Source # 
Instance details

Defined in Ui.Block

Pretty Skeleton Source # 
Instance details

Defined in Ui.Block

Pretty Source Source # 
Instance details

Defined in Ui.Block

Pretty Status Source # 
Instance details

Defined in Ui.Block

Pretty Track Source # 
Instance details

Defined in Ui.Block

Pretty TrackDestinations Source # 
Instance details

Defined in Ui.Block

Pretty TrackFlag Source # 
Instance details

Defined in Ui.Block

Pretty TracklikeId Source # 
Instance details

Defined in Ui.Block

Pretty View Source # 
Instance details

Defined in Ui.Block

Pretty Selection Source # 
Instance details

Defined in Ui.BlockC

Pretty SelectionOrientation Source # 
Instance details

Defined in Ui.BlockC

Pretty Color Source # 
Instance details

Defined in Ui.Color

Pretty Event Source # 
Instance details

Defined in Ui.Event

Pretty Stack Source # 
Instance details

Defined in Ui.Event

Pretty Events Source # 
Instance details

Defined in Ui.Events

Pretty Range Source # 
Instance details

Defined in Ui.Events

Pretty BlockId Source # 
Instance details

Defined in Ui.Id

Pretty Id Source # 
Instance details

Defined in Ui.Id

Pretty Namespace Source # 
Instance details

Defined in Ui.Id

Pretty RulerId Source # 
Instance details

Defined in Ui.Id

Pretty TrackId Source # 
Instance details

Defined in Ui.Id

Pretty ViewId Source # 
Instance details

Defined in Ui.Id

Pretty Key Source # 
Instance details

Defined in Ui.Key

Pretty Modifier Source # 
Instance details

Defined in Ui.Key

Pretty Binding Source # 
Instance details

Defined in Ui.KeycapsT

Pretty Mark Source # 
Instance details

Defined in Ui.Meter.Mark

Pretty Marklist Source # 
Instance details

Defined in Ui.Meter.Mark

Pretty AbstractMeter Source # 
Instance details

Defined in Ui.Meter.Meter

Pretty Config Source # 
Instance details

Defined in Ui.Meter.Meter

Pretty LabelConfig Source # 
Instance details

Defined in Ui.Meter.Meter

Pretty MSection Source # 
Instance details

Defined in Ui.Meter.Meter

Pretty Meter Source # 
Instance details

Defined in Ui.Meter.Meter

Pretty Rank Source # 
Instance details

Defined in Ui.Meter.Meter

Pretty Ruler Source # 
Instance details

Defined in Ui.Ruler

Pretty ScoreTime Source # 
Instance details

Defined in Ui.ScoreTime

Pretty Selection Source # 
Instance details

Defined in Ui.Sel

Pretty Skeleton Source # 
Instance details

Defined in Ui.Skeleton

Pretty RenderConfig Source # 
Instance details

Defined in Ui.Track

Pretty RenderSource Source # 
Instance details

Defined in Ui.Track

Pretty RenderStyle Source # 
Instance details

Defined in Ui.Track

Pretty Track Source # 
Instance details

Defined in Ui.Track

Pretty TrackSignal Source # 
Instance details

Defined in Ui.Track

Pretty WaveformChunk Source # 
Instance details

Defined in Ui.Track

Pretty Sliced Source # 
Instance details

Defined in Ui.TrackTree

Pretty Track Source # 
Instance details

Defined in Ui.TrackTree

Pretty Orientation Source # 
Instance details

Defined in Ui.Types

Pretty Error Source # 
Instance details

Defined in Ui.Ui

Pretty Range Source # 
Instance details

Defined in Ui.Ui

Pretty State Source # 
Instance details

Defined in Ui.Ui

Pretty Track Source # 
Instance details

Defined in Ui.Ui

Pretty TrackInfo Source # 
Instance details

Defined in Ui.Ui

Pretty Allocation Source # 
Instance details

Defined in Ui.UiConfig

Pretty Allocations Source # 
Instance details

Defined in Ui.UiConfig

Pretty Backend Source # 
Instance details

Defined in Ui.UiConfig

Pretty Config Source # 
Instance details

Defined in Ui.UiConfig

Pretty Default Source # 
Instance details

Defined in Ui.UiConfig

Pretty ImPerformance Source # 
Instance details

Defined in Ui.UiConfig

Pretty LilypondPerformance Source # 
Instance details

Defined in Ui.UiConfig

Pretty Meta Source # 
Instance details

Defined in Ui.UiConfig

Pretty MidiPerformance Source # 
Instance details

Defined in Ui.UiConfig

Pretty Context Source # 
Instance details

Defined in Ui.UiMsg

Pretty KbdState Source # 
Instance details

Defined in Ui.UiMsg

Pretty MouseEvent Source # 
Instance details

Defined in Ui.UiMsg

Pretty MouseState Source # 
Instance details

Defined in Ui.UiMsg

Pretty Track Source # 
Instance details

Defined in Ui.UiMsg

Pretty UiMsg Source # 
Instance details

Defined in Ui.UiMsg

Pretty State Source # 
Instance details

Defined in Ui.Update

Pretty Track Source # 
Instance details

Defined in Ui.Update

Pretty UiDamage Source # 
Instance details

Defined in Ui.Update

Pretty View Source # 
Instance details

Defined in Ui.Update

Pretty Zoom Source # 
Instance details

Defined in Ui.Zoom

Pretty Block Source # 
Instance details

Defined in Util.Audio.Audio

Pretty Frames Source # 
Instance details

Defined in Util.Audio.AudioT

Pretty SavedState Source # 
Instance details

Defined in Util.Audio.Resample

Pretty Doc Source # 
Instance details

Defined in Util.Doc

Pretty Doc Source # 
Instance details

Defined in Util.Pretty

Pretty Blob Source # 
Instance details

Defined in Util.Git

Pretty Modification Source # 
Instance details

Defined in Util.Git

Pretty Tree Source # 
Instance details

Defined in Util.Git

Pretty Commit Source # 
Instance details

Defined in Util.GitT

Pretty Html Source # 
Instance details

Defined in Util.Html

Pretty Msg Source # 
Instance details

Defined in Util.Log

Pretty Size Source # 
Instance details

Defined in Util.Memory

Pretty Rect Source # 
Instance details

Defined in Util.Rect

Pretty UnserializeError Source # 
Instance details

Defined in Util.Serialize

Pretty Text Source # 
Instance details

Defined in Util.Pretty

Pretty Text Source # 
Instance details

Defined in Util.Pretty

Pretty Day Source # 
Instance details

Defined in Util.Pretty

Pretty NominalDiffTime Source # 
Instance details

Defined in Util.Pretty

Pretty UTCTime Source # 
Instance details

Defined in Util.Pretty

Pretty Integer Source # 
Instance details

Defined in Util.Pretty

Pretty () Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: () -> Text Source #

format :: () -> Doc Source #

formatList :: [()] -> Doc Source #

Pretty Bool Source # 
Instance details

Defined in Util.Pretty

Pretty Char Source # 
Instance details

Defined in Util.Pretty

Pretty Double Source # 
Instance details

Defined in Util.Pretty

Pretty Float Source # 
Instance details

Defined in Util.Pretty

Pretty Int Source # 
Instance details

Defined in Util.Pretty

Pretty (ForeignPtr a) Source # 
Instance details

Defined in Util.Pretty

Pretty (Ptr a) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: Ptr a -> Text Source #

format :: Ptr a -> Doc Source #

formatList :: [Ptr a] -> Doc Source #

(Integral a, Pretty a) => Pretty (Ratio a) Source # 
Instance details

Defined in Util.Pretty

Pretty v => Pretty (IntMap v) Source # 
Instance details

Defined in Util.Pretty

Pretty a => Pretty (Set a) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: Set a -> Text Source #

format :: Set a -> Doc Source #

formatList :: [Set a] -> Doc Source #

Pretty a => Pretty (Tree a) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: Tree a -> Text Source #

format :: Tree a -> Doc Source #

formatList :: [Tree a] -> Doc Source #

Pretty (Handler m) Source # 
Instance details

Defined in Cmd.Cmd

Pretty (NamedCmd m) Source # 
Instance details

Defined in Cmd.Cmd

(Show pitch, Pretty pitch) => Pretty (GenericInput pitch) Source # 
Instance details

Defined in Cmd.InputNote

Pretty a => Pretty (Note a) Source # 
Instance details

Defined in Derive.C.Bali.Gangsa

Methods

pretty :: Note a -> Text Source #

format :: Note a -> Doc Source #

formatList :: [Note a] -> Doc Source #

Pretty a => Pretty (Pasang a) Source # 
Instance details

Defined in Derive.C.Bali.Gangsa

Pretty a => Pretty (Realization a) Source # 
Instance details

Defined in Derive.C.Bali.Gangsa

Pretty a => Pretty (Note a) Source # 
Instance details

Defined in Derive.C.India.Pakhawaj

Methods

pretty :: Note a -> Text Source #

format :: Note a -> Doc Source #

formatList :: [Note a] -> Doc Source #

Pretty pos => Pretty (Position pos) Source # 
Instance details

Defined in Derive.Call.Ly

Pretty a => Pretty (EventT a) Source # 
Instance details

Defined in Derive.Call.SubT

Pretty (RawPitch a) Source #

Will look like: 62.95nn,4i(*wayang)

Instance details

Defined in Derive.DeriveT

Pretty (Call d) Source # 
Instance details

Defined in Derive.Deriver.Monad

Methods

pretty :: Call d -> Text Source #

format :: Call d -> Doc Source #

formatList :: [Call d] -> Doc Source #

Show a => Pretty (CallDuration a) Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty (CallMap call) Source # 
Instance details

Defined in Derive.Deriver.Monad

Methods

pretty :: CallMap call -> Text Source #

format :: CallMap call -> Doc Source #

formatList :: [CallMap call] -> Doc Source #

Pretty val => Pretty (Context val) Source # 
Instance details

Defined in Derive.Deriver.Monad

Methods

pretty :: Context val -> Text Source #

format :: Context val -> Doc Source #

formatList :: [Context val] -> Doc Source #

Pretty val => Pretty (PassedArgs val) Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty (PatternCall call) Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty (ScopePriority call) Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty (TrackCall d) Source # 
Instance details

Defined in Derive.Deriver.Monad

Pretty (TrackInfo d) Source # 
Instance details

Defined in Derive.EvalTrack

Pretty (Call Val) Source # 
Instance details

Defined in Derive.DeriveT

Pretty (Call MiniVal) Source # 
Instance details

Defined in Derive.Expr

Pretty (Call Text) Source # 
Instance details

Defined in Derive.Expr

Pretty (Term Val) Source # 
Instance details

Defined in Derive.DeriveT

Pretty (Term MiniVal) Source # 
Instance details

Defined in Derive.Expr

Pretty (Term Text) Source # 
Instance details

Defined in Derive.Expr

Pretty d => Pretty (LEvent d) Source # 
Instance details

Defined in Derive.LEvent

Pretty (Entry call) Source # 
Instance details

Defined in Derive.Library

Methods

pretty :: Entry call -> Text Source #

format :: Entry call -> Doc Source #

formatList :: [Entry call] -> Doc Source #

Pretty a => Pretty (Typed a) Source # 
Instance details

Defined in Derive.ScoreT

Pretty a => Pretty (Stream a) Source # 
Instance details

Defined in Derive.Stream

Pretty pitch => Pretty (NPitch pitch) Source # 
Instance details

Defined in Derive.TScore.T

Methods

pretty :: NPitch pitch -> Text Source #

format :: NPitch pitch -> Doc Source #

formatList :: [NPitch pitch] -> Doc Source #

Pretty (Rest Duration) Source # 
Instance details

Defined in Derive.TScore.Parse

Pretty a => Pretty (AttributeMap a) Source # 
Instance details

Defined in Instrument.Common

Pretty code => Pretty (Common code) Source # 
Instance details

Defined in Instrument.Common

Methods

pretty :: Common code -> Text Source #

format :: Common code -> Doc Source #

formatList :: [Common code] -> Doc Source #

Pretty code => Pretty (Db code) Source # 
Instance details

Defined in Instrument.Inst

Methods

pretty :: Db code -> Text Source #

format :: Db code -> Doc Source #

formatList :: [Db code] -> Doc Source #

Pretty code => Pretty (Inst code) Source # 
Instance details

Defined in Instrument.Inst

Methods

pretty :: Inst code -> Text Source #

format :: Inst code -> Doc Source #

formatList :: [Inst code] -> Doc Source #

Pretty code => Pretty (Synth code) Source # 
Instance details

Defined in Instrument.Inst

Methods

pretty :: Synth code -> Text Source #

format :: Synth code -> Doc Source #

formatList :: [Synth code] -> Doc Source #

Pretty code => Pretty (SynthDecl code) Source # 
Instance details

Defined in Instrument.Inst

Methods

pretty :: SynthDecl code -> Text Source #

format :: SynthDecl code -> Doc Source #

formatList :: [SynthDecl code] -> Doc Source #

Pretty dur => Pretty (NoteT dur) Source # 
Instance details

Defined in Midi.Synth

Methods

pretty :: NoteT dur -> Text Source #

format :: NoteT dur -> Doc Source #

formatList :: [NoteT dur] -> Doc Source #

Pretty a => Pretty (Korvai.Section a) Source # 
Instance details

Defined in Solkattu.Korvai

Pretty stroke => Pretty (Realize.Group stroke) Source # 
Instance details

Defined in Solkattu.Realize

Pretty stroke => Pretty (Realize.Note stroke) Source # 
Instance details

Defined in Solkattu.Realize

Methods

pretty :: Realize.Note stroke -> Text Source #

format :: Realize.Note stroke -> Doc Source #

formatList :: [Realize.Note stroke] -> Doc Source #

Pretty stroke => Pretty (Realize.PatternMap stroke) Source # 
Instance details

Defined in Solkattu.Realize

Pretty stroke => Pretty (Realize.Reduction stroke) Source # 
Instance details

Defined in Solkattu.Realize

Pretty stroke => Pretty (Realize.SolluMap stroke) Source # 
Instance details

Defined in Solkattu.Realize

Pretty stroke => Pretty (Realize.Stroke stroke) Source # 
Instance details

Defined in Solkattu.Realize

Pretty stroke => Pretty (Realize.StrokeMap stroke) Source # 
Instance details

Defined in Solkattu.Realize

Pretty a => Pretty (S.Stroke a) Source # 
Instance details

Defined in Solkattu.S

Pretty sollu => Pretty (Solkattu.Note sollu) Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty sollu => Pretty (Solkattu.NoteT sollu) Source # 
Instance details

Defined in Solkattu.Solkattu

Pretty t => Pretty (Block t) Source # 
Instance details

Defined in Ui.Update

Pretty a => Pretty (Builder a) Source # 
Instance details

Defined in Util.LazyVector

Pretty a => Pretty (Lazy a) Source # 
Instance details

Defined in Util.LazyVector

Methods

pretty :: Lazy a -> Text Source #

format :: Lazy a -> Doc Source #

formatList :: [Lazy a] -> Doc Source #

Pretty n => Pretty (Ranges n) Source # 
Instance details

Defined in Util.Ranges

Pretty y => Pretty (Segment y) Source # 
Instance details

Defined in Util.Segment

Pretty v => Pretty (Signal v) Source # 
Instance details

Defined in Util.Segment

Pretty y => Pretty (Sample y) Source # 
Instance details

Defined in Util.TimeVector

Pretty a => Pretty (Vector a) Source # 
Instance details

Defined in Util.Pretty

(Storable a, Pretty a) => Pretty (Vector a) Source # 
Instance details

Defined in Util.Pretty

(Unbox a, Pretty a) => Pretty (Vector a) Source # 
Instance details

Defined in Util.Pretty

Pretty a => Pretty (NonEmpty a) Source # 
Instance details

Defined in Util.Pretty

Pretty a => Pretty (Maybe a) Source # 
Instance details

Defined in Util.Pretty

Pretty a => Pretty [a] Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: [a] -> Text Source #

format :: [a] -> Doc Source #

formatList :: [[a]] -> Doc Source #

(Pretty a, Pretty b) => Pretty (Either a b) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: Either a b -> Text Source #

format :: Either a b -> Doc Source #

formatList :: [Either a b] -> Doc Source #

(Pretty k, Pretty v) => Pretty (Map k v) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: Map k v -> Text Source #

format :: Map k v -> Doc Source #

formatList :: [Map k v] -> Doc Source #

Pretty (Signal kind) Source # 
Instance details

Defined in Perform.Signal

Methods

pretty :: Signal kind -> Text Source #

format :: Signal kind -> Doc Source #

formatList :: [Signal kind] -> Doc Source #

(Pretty g, Pretty a) => Pretty (S.Flat g a) Source # 
Instance details

Defined in Solkattu.S

Methods

pretty :: S.Flat g a -> Text Source #

format :: S.Flat g a -> Doc Source #

formatList :: [S.Flat g a] -> Doc Source #

(Pretty a, Pretty g) => Pretty (S.Note g a) Source # 
Instance details

Defined in Solkattu.S

Methods

pretty :: S.Note g a -> Text Source #

format :: S.Note g a -> Doc Source #

formatList :: [S.Note g a] -> Doc Source #

(Pretty a, Pretty g) => Pretty (S.Sequence g a) Source # 
Instance details

Defined in Solkattu.S

(Pretty t, Pretty u) => Pretty (Update t u) Source # 
Instance details

Defined in Ui.Update

Methods

pretty :: Update t u -> Text Source #

format :: Update t u -> Doc Source #

formatList :: [Update t u] -> Doc Source #

(Pretty a, Pretty b) => Pretty (Paired a b) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: Paired a b -> Text Source #

format :: Paired a b -> Doc Source #

formatList :: [Paired a b] -> Doc Source #

(Pretty err, Pretty a) => Pretty (UntilFail err a) Source # 
Instance details

Defined in Util.UF

Methods

pretty :: UntilFail err a -> Text Source #

format :: UntilFail err a -> Doc Source #

formatList :: [UntilFail err a] -> Doc Source #

Pretty (a -> b) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: (a -> b) -> Text Source #

format :: (a -> b) -> Doc Source #

formatList :: [a -> b] -> Doc Source #

(Pretty a, Pretty b) => Pretty (a, b) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: (a, b) -> Text Source #

format :: (a, b) -> Doc Source #

formatList :: [(a, b)] -> Doc Source #

(Pretty note, Pretty control, Pretty pitch) => Pretty (Scope note control pitch) Source # 
Instance details

Defined in Derive.Deriver.Monad

Methods

pretty :: Scope note control pitch -> Text Source #

format :: Scope note control pitch -> Doc Source #

formatList :: [Scope note control pitch] -> Doc Source #

Pretty (Note CallText Pitch NDuration) Source # 
Instance details

Defined in Derive.TScore.Parse

Pretty (Note CallText (Maybe Text) Time) Source #

This is the output from Check.check.

Instance details

Defined in Derive.TScore.Parse

(Pretty a, Pretty b, Pretty c) => Pretty (a, b, c) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: (a, b, c) -> Text Source #

format :: (a, b, c) -> Doc Source #

formatList :: [(a, b, c)] -> Doc Source #

(Pretty gen, Pretty trans, Pretty track, Pretty val) => Pretty (ScopesT gen trans track val) Source # 
Instance details

Defined in Derive.Deriver.Monad

Methods

pretty :: ScopesT gen trans track val -> Text Source #

format :: ScopesT gen trans track val -> Doc Source #

formatList :: [ScopesT gen trans track val] -> Doc Source #

Pretty (Token CallText Pitch NDuration Duration) Source # 
Instance details

Defined in Derive.TScore.Parse

(Pretty a, Pretty b, Pretty c, Pretty d) => Pretty (a, b, c, d) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: (a, b, c, d) -> Text Source #

format :: (a, b, c, d) -> Doc Source #

formatList :: [(a, b, c, d)] -> Doc Source #

(Pretty a, Pretty b, Pretty c, Pretty d, Pretty e) => Pretty (a, b, c, d, e) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: (a, b, c, d, e) -> Text Source #

format :: (a, b, c, d, e) -> Doc Source #

formatList :: [(a, b, c, d, e)] -> Doc Source #

(Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f) => Pretty (a, b, c, d, e, f) Source # 
Instance details

Defined in Util.Pretty

Methods

pretty :: (a, b, c, d, e, f) -> Text Source #

format :: (a, b, c, d, e, f) -> Doc Source #

formatList :: [(a, b, c, d, e, f)] -> Doc Source #