<?xml version='1.0' encoding='UTF-8'?>
<AST>
  <HeaderNode startPos="1,1,0" endPos="6,1,160">
    <VariableTable startPos="0,0,0" endPos="0,0,0">
      <NameSlot slot="0" name="in1" startPos="0,0,0" endPos="0,0,0"/>
      <NameSlot slot="1" name="in0" startPos="0,0,0" endPos="0,0,0"/>
      <NameSlot slot="2" name="collect" startPos="0,0,0" endPos="0,0,0"/>
      <NameSlot slot="3" name="a" startPos="1,14,13" endPos="1,15,14"/>
      <NameSlot slot="4" name="xs" startPos="0,0,0" endPos="0,0,0"/>
      <NameSlot slot="5" name="x" startPos="0,0,0" endPos="0,0,0"/>
      <NameSlot slot="6" name="mkstring" startPos="1,5,4" endPos="1,13,12"/>
    </VariableTable>
    <InputDirective startPos="0,0,0" endPos="0,0,0">
      <NameSlot slot="0" name="in1" startPos="0,0,0" endPos="0,0,0"/>
    </InputDirective>
    <InputDirective startPos="0,0,0" endPos="0,0,0">
      <NameSlot slot="1" name="in0" startPos="0,0,0" endPos="0,0,0"/>
    </InputDirective>
    <FunctionDirective startPos="1,1,0" endPos="5,6,159">
      <NameSlot slot="6" name="mkstring" startPos="1,5,4" endPos="1,13,12"/>
      <FunctionNode startPos="0,0,0" endPos="0,0,0">
        <FunctionParameterNode materialize="false" startPos="1,14,13" endPos="1,30,29">
          <NameSlot slot="3" name="a" startPos="1,14,13" endPos="1,15,14"/>
          <TypeNode startPos="1,17,16" endPos="1,30,29"/>
        </FunctionParameterNode>
        <FunctionParameterNode materialize="true" startPos="1,32,31" endPos="1,51,50">
          <NameSlot slot="2" name="collect" startPos="1,32,31" endPos="1,39,38"/>
          <TypeNode startPos="1,40,39" endPos="1,46,45"/>
        </FunctionParameterNode>
        <TailRecFunctionBodyNode startPos="0,0,0" endPos="0,0,0">
          <PatternMatcherNode startPos="0,0,0" endPos="0,0,0">
            <VariableReferenceNode startPos="2,5,58" endPos="2,6,59"/>
            <EmptyArrayPatternNode startPos="0,0,0" endPos="0,0,0">
              <FunctionNode startPos="3,20,87" endPos="3,27,94">
                <VariableReferenceNode startPos="3,20,87" endPos="3,27,94"/>
              </FunctionNode>
            </EmptyArrayPatternNode>
            <DeconstructArrayPatternNode startPos="0,0,0" endPos="0,0,0">
              <FunctionNode startPos="4,26,120" endPos="4,59,153">
                <FunctionParameterNode materialize="false" startPos="0,0,0" endPos="0,0,0">
                  <NameSlot slot="5" name="x" startPos="4,15,109" endPos="4,16,110"/>
                  <TypeNode startPos="0,0,0" endPos="0,0,0"/>
                </FunctionParameterNode>
                <FunctionParameterNode materialize="false" startPos="0,0,0" endPos="0,0,0">
                  <NameSlot slot="4" name="xs" startPos="4,19,113" endPos="4,21,115"/>
                  <TypeNode startPos="0,0,0" endPos="0,0,0"/>
                </FunctionParameterNode>
                <InlineTailRecFunctionCall startPos="0,0,0" endPos="0,0,0">
                  <VarDirective startPos="0,0,0" endPos="0,0,0">
                    <NameSlot slot="3" name="a" startPos="1,14,13" endPos="1,15,14"/>
                    <VariableReferenceNode startPos="4,35,129" endPos="4,37,131"/>
                  </VarDirective>
                  <VarDirective startPos="0,0,0" endPos="0,0,0">
                    <NameSlot slot="2" name="collect" startPos="1,32,31" endPos="1,39,38"/>
                    <FunctionCallNode startPos="4,39,133" endPos="4,58,152"/>
                  </VarDirective>
                </InlineTailRecFunctionCall>
              </FunctionNode>
            </DeconstructArrayPatternNode>
          </PatternMatcherNode>
        </TailRecFunctionBodyNode>
      </FunctionNode>
    </FunctionDirective>
  </HeaderNode>
  <FunctionCallNode startPos="7,1,164" endPos="7,44,207"/>
</AST>