|      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  NoneTyped variable.Deduces types for a dag:MdeduceTypes (functorSpecificFuns) (dag) = (dagWithTypes, lastFreshIdentifier)Assumption -- dag is labeled with integers. Labels are unique and a list of labels is a range (0, n) (It's just what we get with CSE algorithm). Algorithm proceeds as follows. We init an array of type requests and a reference for fresh identifiers. Type request comes from right hand side of the statement. We need fresh identifiers for converters. If we are going to use a new statement for conversion we need new variables.(discussLine) Then we process lines in reverse order and collect type requests by looking at right hand sides and writing type requests for all arguments. ((processLine) In the second run we substitute all identifiers with typed variables. It's no so strightforward due to converters. If there are converters we have to insert new statements and substitute identifiers with new ones. That's why we convert variables to variables in the processLine.  NoneE  None  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~~uvwxyz{|}rtsiqponmlkjPedcba`_^]\[ZYXWVUTSRQfhgHIJKLMNO>GFBA@?CDE9:;<=2345678()*+,-./01!'&%$#"  5   !'&%$#"( )*+,-./0123456789:;<=> GFBA@?CDEHIJKLMNOPedcba`_^]\[ZYXWVUTSRQfhgiqponmlkjrtsuvwxyz{|}~  Safe-Inferred-./   is a canonical representation of the Csound scores. A scores is a list of events and we should know the total duration of the scores. It's not meant to be used directly. We can use a better alternative. More convenient type that belongs to  * type class (see temporal-csound package).A class that represents Csound scores. All functions that use score are defined in terms of this class. If you want to use your own score representation, just define two methods of the class.The properties: Kforall a . toCsdEventList (singleCsdEvent a) === CsdEventList 1 [(0, 1, a)];Converts a given score representation to the canonical one.gConstructs a scores that contains only one event. The event happens immediately and lasts for 1 second.!The Csound note. It's a triple of !(startTime, duration, parameters) None-./AMultiple output. Specify the number of outputs to get the result.The Csound rates.Dependency tracking Verbatim stmtlooping constructionsImperative If-then-else Reading/writing a named variable@Numerical expressions (rendered in infix notation in the Csound)>Boolean expressions (rendered in infix notation in the Csound) if-then-elsenSelects a cell from the tuple, here argument is always a tuple (result of opcode that returns several outputs)Rate conversionSApplication of the opcode: we have opcode information (Info) and the arguments [a]  PrimitivesfIt's a primitive value or something else. It's used for inlining of the constants (primitive values).4RatedVar is for pretty printing of the wiring ports.iRate (can be undefined or Nothing, it means that rate should be deduced automatically from the context)aDependency (it is used for expressions with side effects, value contains the privious statement)Main expression/The inner representation of csound expressions. An instrument identifier-Constructs an instrument id with the integer.1Constructs an instrument id with fractional part.2Constructs an instrument id with the string label.Makes an rated variable.Querries a rate. Querries an integral identifier.]Constructs PrimOr values from the expressions. It does inlining in case of primitive values.               /       None$Csound's synonym for -monad. Dep) means Side Effect. You will bump into Dep trying to read and write to delay lines, making random signals or trying to save your audio to file. Instrument is expected to return a value of  Dep [Sig]=. So it's okay to do some side effects when playing a note.! !"#$%&'()*+,-./012345 !"#$%&'()*+,-./012345$%& !"#')(*+,-.0/12345 !"#$%&'()*+,-./012345None6789:;<=>?@ABCDEFGHIJ~6789:;<=>?@ABCDEFGHIJDEFGH~@ABC6789:;<=>?IJ6789:;<=>?@ABCDEFGHIJNone$          NoneK  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJNoneU.Converts Haskell's doubles to Csound's doublesV.Converts Haskell's strings to Csound's stringsW/Converts Haskell's integers to Csound's doubles'KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno&KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno&ijfghMNOPabQRSTUWVXYLZ[\]_`^Kcdeknmlo'KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnoNone24pqrst !"#pqrstpqrtspqrst !"#None24=Kuvwxyz{|}$%&'()*+,-./0 uvwxyz{|} uvwzyx{|}uvwxyz{|}$%&'()*+,-./0None#123456789:;<=>?@ABCDEFGHIJKLMNOPQRST28:=>@S#123456789:;<=>?@ABCDEFGHIJKLMNOPQRSNoneUVWXYZ[\]^_`abVWUVWXYZ[\]^_`ab None~cde~~~cdeNone  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~f !"#$%%&'()*+,-./0123456789::;<=>?@ABCCDEFGHIIJKLMNOPQRSTUVWWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~         !"##$%&'()*+,-./012344567889:;<<=>??@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvw x  y z z { | } } ~                                                !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQR S T UVcsound-expression-dynamic-0.1.0Csound.Dynamic.Types.FlagsCsound.Dynamic.Types.EventListCsound.Dynamic.Types.ExpCsound.Dynamic.Types.DepCsound.Dynamic.Types.CsdFileCsound.Dynamic.BuildCsound.Dynamic.Build.NumericCsound.Dynamic.Build.LogicCsound.Dynamic.RenderCsound.Dynamic.Tfm.DeduceTypes"Csound.Dynamic.Tfm.UnfoldMultiOuts Csound.Base CsdEventListCsdScoCsound.Dynamic.Tfm.LivenessCsound.Dynamic.TypesCsound.Dynamic.Render.PrettyCsound.Dynamic.Render.InstrCsound.DynamicConfighwBufioBufnewKrnewSrscoreInomacrosmacrosetSchedschedNumstrsetN skipSecondssetTempo DisplayMode AsciiDisplayPostScriptDisplay NoDisplayDisplays csdLineNums displayModedisplayHeartbeat messageLevelmAmpsmRange mWarningsmDbmColours mBenchmarksmsgColordisplayVerbose listOpcodesRtmidiNoRtmidi VirtualMidi WinmmMidiMmeMidiAlsaMidiPortMidiMidiRT midiDevicemidiKey midiKeyCps midiKeyOct midiKeyPch midiVelocitymidiVelocityAmp midiOutDeviceMidiIOmidiFile midiOutFile muteTracksrawControllerModeterminateOnMidi PulseAudiopaServerpaOutputpaInputRtaudio NoRtaudio CoreAudioMmeJack jackClient jackInport jackOutportAlsa PortAudioIdTagsidArtist idComment idCopyrightidDate idSoftwareidTitle FormatTypeXiWavexWavW64VocSvxSdsSd2RawPvfPafNisMat5Mat4IrcamHtkFlacCafAvrAuAiffDitherUniform Triangular FormatSamplesLongShortUlaw FloatSamplesScharUcharAlawBit24 FormatHeader RewriteHeaderNoHeaderAudioFileOutput formatSamples formatTypeoutputinputnosoundnopeaksditherFlagsaudioFileOutputidTagsrtaudio pulseAudiomidiIOmidiRTrtmididisplaysconfig flagsVerbatimcsdEventListDurcsdEventListNotestoCsdEventListsingleCsdEventCsdEvent csdEventStart csdEventDurcsdEventContentdelayCsdEventListrescaleCsdEventListMultiOutNumOpModPowDivMulNegSubAddNumExpCondOp GreaterEquals LessEqualsGreaterLess NotEqualsEqualsOrAndFalseOpTrueOpCondInfoBoolExp PreInline InlineExp InlinePrimInline inlineExp inlineEnvNoteGengenSizegenIdgenArgsgenFilePrimPrimVarprimVarTargetRateprimVar PrimInstrId PrimString PrimDoublePrimIntPStringP Signature MultiRate outMultiRate inMultiRate SingleRateRateTvarWrFrSrIrKrArXr OpcFixityOpcodeInfixPrefixInfoinfoName infoSignature infoOpcFixityVarType GlobalVarLocalVarVar VarVerbatimvarTypevarRatevarNameMainExpEndsSeqStartsVerbatimUntilEnd UntilBeginIfEnd ElseBegin ElseIfBeginIfBeginWriteVarReadVarInitVarExpNumExpBoolIfSelect ConvertRateTfmExpPrimEmptyExpExpPrimOrunPrimOrRatedVarRatedExp ratedExpRateratedExpDepends ratedExpExpEInstrId InstrLabel instrIdFrac instrIdCeilName intInstrId ratioInstrId stringInstrIdratedVar ratedVarRate ratedVarIdratedExpnoRatewithRatesetRatetoPrimOr isEmptyExpisPrefixisInfixisTrueisFalse LocalHistory expDependency newLineNum newLocalVarIdDepTunDepTrunDepTevalDepTexecDepTdepTdepT_mdepT stripDepT stmtOnlyT newLocalVars newLocalVarwriteVarreadVar readOnlyVarinitVar appendVarBySco scoTotalDurscoGensscoNotesInstr instrName instrBody InstrBodyOrcorcHeadorcInstrumentsCsdcsdFlagscsdOrccsdScointInstralwaysOnSpecsSpec1prim opcPrefix oprPrefixoprInfixtfmtfmNoInlineArgspn withInitsdoublestrintverbatiminstrIdEspec1opcsopcsNoInlineArgsopr1oprByopr1kinfOprnumExp1numExp2specsmopcsmogetRatesisMultiOutSignature getPrimUnsafetoExponExpsetSrsetKr setNchnlssetKsmps setZeroDbfsceilEfloorEroundEfracEintEwhen1whensifBegin elseIfBegin elseBeginifEnduntilDo untilBeginuntilEnd renderCsd deduceTypes TypeGraph mkConvert defineTypeLinelineTypelineStmt lineConvertsConvert convertFrom convertToStmtTypeMapGetTypeConversionLookup NoConversionvarId TypeRequestsinitTypeRequests requestType modifyArraygetTypes lookupVar discussLine mkGetTypenextIdsUnfoldMultiOuts getSelectorgetParentTypesSelectorselectorParent selectorOrder MultiStmt SingleStmtPortportId portOrder ChildrenMaplookupChildren mkChildrenMapunfoldMultiOuts unfoldStmtformLhs mappendBoolppebompmip1p2p3fieldspSamplesAndType firstToLower$fPrettyConfig$fPrettyDisplayMode$fPrettyDisplays$fPrettyRtmidi$fPrettyMidiRT$fPrettyMidiIO$fPrettyPulseAudio$fPrettyRtaudio$fPrettyIdTags$fPrettyDither$fPrettyAudioFileOutput $fPrettyFlags$fMonoidConfig$fDefaultConfig$fMonoidDisplays$fDefaultDisplays$fMonoidMidiRT$fDefaultMidiRT$fMonoidMidiIO$fDefaultMidiIO$fMonoidIdTags$fDefaultIdTags$fMonoidAudioFileOutput$fDefaultAudioFileOutput $fMonoidFlags$fDefaultFlagscsdEventTotalDur delayCsdEventrescaleCsdEvent$fCsdScoCsdEventListLineNumisCondOp getCondInfoOp$fTraversablePrimOr$fFoldablePrimOrghc-prim GHC.TypesIOstartdependsendemptyEnewVar$fMonadTransDepT $fMonadDepT$fApplicativeDepT $fFunctorDepT$fDefaultLocalHistoryMemory Registers registers livenessTable substTable SubstTable LivenessTableStArrIdListDagRhsLhs LineNumberliveness countLinesallocIdfreeId insertSortedonRegsinitRegsisAlive lookUpSubst saveSubstsubstLhssubstRhsallocAndSkipInitsallocfreeanalysesubstExpinitStinitSubstTablegInit gInitDouble enumErrortoNumOpt fromNumOptexpNum fromDoubleisZerounOptbiOpt doubleToIntmod' $fIntegralFix $fRealFix $fEnumFix $fFloatingFix$fFractionalFix$fNumFix $fMonoidFixwithCondboolExpcondExpcondInfoboolOpsboolOp0boolOp2notE $fOrdBFix$fEqBFix$fIfBFixTFCo:R:BooleanOfFix $fBooleanFixTabDepthvcatSepbinariesunariesbinaryunaryfunc ppCsdFiletagppNotesppNoteppPrimppGenppInstr ppInstrIdppStmtppExpppCond$=ppOuts ppPrimOrVarppStrgetppIfppOpcppProcppVar varPrefix ppVarType ppConvertRateppInlineppCondOpppNumOp ppRatedVarppRate ppTotalDur wl-pprint-1.1Text.PrettyPrint.LeijenDoc renderInstrrenderInstrBodytoDagtrimByArgLengthclearEmptyResults collectRatesfilterDepCases rateGraph unfoldSpec coherentRates deduceRaterateExpmergeWithPrimOr renderFlags renderOrc renderSco