---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
  ],
  ellipsis: false,
 },
 definition: LetIn {
  bindings: [
   Inherit {
    from: Some(
     Variable {
      identifier: "builtins",
      position: (6, 12),
     },
    ),
    attributes: [
     Raw {
      content: "hasContext",
      position: (7, 5),
     },
     Raw {
      content: "match",
      position: (8, 5),
     },
     Raw {
      content: "readDir",
      position: (9, 5),
     },
     Raw {
      content: "split",
      position: (10, 5),
     },
     Raw {
      content: "storeDir",
      position: (11, 5),
     },
     Raw {
      content: "tryEval",
      position: (12, 5),
     },
    ],
   },
   Inherit {
    from: Some(
     Variable {
      identifier: "lib",
      position: (14, 12),
     },
    ),
    attributes: [
     Raw {
      content: "boolToString",
      position: (15, 5),
     },
     Raw {
      content: "filter",
      position: (16, 5),
     },
     Raw {
      content: "getAttr",
      position: (17, 5),
     },
     Raw {
      content: "isString",
      position: (18, 5),
     },
     Raw {
      content: "pathExists",
      position: (19, 5),
     },
     Raw {
      content: "readFile",
      position: (20, 5),
     },
    ],
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "pathType",
       position: (26, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "path",
     },
     definition: FunctionApplication {
      function: Variable {
       identifier: "getAttr",
       position: (26, 20),
      },
      arguments: [
       Parentheses {
        expression: FunctionApplication {
         function: Variable {
          identifier: "baseNameOf",
          position: (26, 29),
         },
         arguments: [
          Variable {
           identifier: "path",
           position: (26, 40),
          },
         ],
        },
        position: (26, 28),
       },
       Parentheses {
        expression: FunctionApplication {
         function: Variable {
          identifier: "readDir",
          position: (26, 47),
         },
         arguments: [
          Parentheses {
           expression: FunctionApplication {
            function: Variable {
             identifier: "dirOf",
             position: (26, 56),
            },
            arguments: [
             Variable {
              identifier: "path",
              position: (26, 62),
             },
            ],
           },
           position: (26, 55),
          },
         ],
        },
        position: (26, 46),
       },
      ],
     },
     position: (26, 14),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "pathIsDirectory",
       position: (31, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "path",
     },
     definition: IfThenElse {
      predicate: FunctionApplication {
       function: Variable {
        identifier: "pathExists",
        position: (31, 30),
       },
       arguments: [
        Variable {
         identifier: "path",
         position: (31, 41),
        },
       ],
      },
      then: BinaryOperation {
       operator: EqualTo,
       operands: [
        Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "pathType",
           position: (31, 52),
          },
          arguments: [
           Variable {
            identifier: "path",
            position: (31, 61),
           },
          ],
         },
         position: (31, 51),
        },
        String {
         parts: [
          Raw {
           content: "directory",
           position: (31, 71),
          },
         ],
         position: (31, 70),
        },
       ],
       position: (31, 67),
      },
      else_: Variable {
       identifier: "false",
       position: (31, 87),
      },
      position: (31, 27),
     },
     position: (31, 21),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "pathIsRegularFile",
       position: (36, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "path",
     },
     definition: IfThenElse {
      predicate: FunctionApplication {
       function: Variable {
        identifier: "pathExists",
        position: (36, 32),
       },
       arguments: [
        Variable {
         identifier: "path",
         position: (36, 43),
        },
       ],
      },
      then: BinaryOperation {
       operator: EqualTo,
       operands: [
        Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "pathType",
           position: (36, 54),
          },
          arguments: [
           Variable {
            identifier: "path",
            position: (36, 63),
           },
          ],
         },
         position: (36, 53),
        },
        String {
         parts: [
          Raw {
           content: "regular",
           position: (36, 73),
          },
         ],
         position: (36, 72),
        },
       ],
       position: (36, 69),
      },
      else_: Variable {
       identifier: "false",
       position: (36, 87),
      },
      position: (36, 29),
     },
     position: (36, 23),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "cleanSourceFilter",
       position: (43, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "name",
     },
     definition: Function {
      argument: Simple {
       identifier: "type",
      },
      definition: LetIn {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "baseName",
            position: (43, 39),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "baseNameOf",
           position: (43, 50),
          },
          arguments: [
           Parentheses {
            expression: FunctionApplication {
             function: Variable {
              identifier: "toString",
              position: (43, 62),
             },
             arguments: [
              Variable {
               identifier: "name",
               position: (43, 71),
              },
             ],
            },
            position: (43, 61),
           },
          ],
         },
        },
       ],
       target: UnaryOperation {
        operator: Not,
        operand: Parentheses {
         expression: BinaryOperation {
          operator: LogicalOr,
          operands: [
           BinaryOperation {
            operator: LogicalOr,
            operands: [
             BinaryOperation {
              operator: LogicalOr,
              operands: [
               BinaryOperation {
                operator: LogicalOr,
                operands: [
                 BinaryOperation {
                  operator: LogicalOr,
                  operands: [
                   BinaryOperation {
                    operator: LogicalOr,
                    operands: [
                     BinaryOperation {
                      operator: LogicalOr,
                      operands: [
                       Parentheses {
                        expression: BinaryOperation {
                         operator: LogicalOr,
                         operands: [
                          BinaryOperation {
                           operator: EqualTo,
                           operands: [
                            Variable {
                             identifier: "baseName",
                             position: (45, 6),
                            },
                            String {
                             parts: [
                              Raw {
                               content: ".git",
                               position: (45, 19),
                              },
                             ],
                             position: (45, 18),
                            },
                           ],
                           position: (45, 15),
                          },
                          BinaryOperation {
                           operator: LogicalAnd,
                           operands: [
                            BinaryOperation {
                             operator: EqualTo,
                             operands: [
                              Variable {
                               identifier: "type",
                               position: (45, 28),
                              },
                              String {
                               parts: [
                                Raw {
                                 content: "directory",
                                 position: (45, 37),
                                },
                               ],
                               position: (45, 36),
                              },
                             ],
                             position: (45, 33),
                            },
                            Parentheses {
                             expression: BinaryOperation {
                              operator: LogicalOr,
                              operands: [
                               BinaryOperation {
                                operator: LogicalOr,
                                operands: [
                                 BinaryOperation {
                                  operator: EqualTo,
                                  operands: [
                                   Variable {
                                    identifier: "baseName",
                                    position: (45, 52),
                                   },
                                   String {
                                    parts: [
                                     Raw {
                                      content: ".svn",
                                      position: (45, 65),
                                     },
                                    ],
                                    position: (45, 64),
                                   },
                                  ],
                                  position: (45, 61),
                                 },
                                 BinaryOperation {
                                  operator: EqualTo,
                                  operands: [
                                   Variable {
                                    identifier: "baseName",
                                    position: (45, 74),
                                   },
                                   String {
                                    parts: [
                                     Raw {
                                      content: "CVS",
                                      position: (45, 87),
                                     },
                                    ],
                                    position: (45, 86),
                                   },
                                  ],
                                  position: (45, 83),
                                 },
                                ],
                                position: (45, 71),
                               },
                               BinaryOperation {
                                operator: EqualTo,
                                operands: [
                                 Variable {
                                  identifier: "baseName",
                                  position: (45, 95),
                                 },
                                 String {
                                  parts: [
                                   Raw {
                                    content: ".hg",
                                    position: (45, 108),
                                   },
                                  ],
                                  position: (45, 107),
                                 },
                                ],
                                position: (45, 104),
                               },
                              ],
                              position: (45, 92),
                             },
                             position: (45, 51),
                            },
                           ],
                           position: (45, 48),
                          },
                         ],
                         position: (45, 25),
                        },
                        position: (45, 5),
                       },
                       FunctionApplication {
                        function: PropertyAccess {
                         expression: Variable {
                          identifier: "lib",
                          position: (47, 5),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "hasSuffix",
                            position: (47, 9),
                           },
                          ],
                         },
                         default: None,
                        },
                        arguments: [
                         String {
                          parts: [
                           Raw {
                            content: "~",
                            position: (47, 20),
                           },
                          ],
                          position: (47, 19),
                         },
                         Variable {
                          identifier: "baseName",
                          position: (47, 23),
                         },
                        ],
                       },
                      ],
                      position: (45, 115),
                     },
                     BinaryOperation {
                      operator: NotEqualTo,
                      operands: [
                       FunctionApplication {
                        function: Variable {
                         identifier: "match",
                         position: (48, 5),
                        },
                        arguments: [
                         String {
                          parts: [
                           Raw {
                            content: "^\\.sw[a-z]$",
                            position: (48, 12),
                           },
                          ],
                          position: (48, 11),
                         },
                         Variable {
                          identifier: "baseName",
                          position: (48, 26),
                         },
                        ],
                       },
                       Variable {
                        identifier: "null",
                        position: (48, 38),
                       },
                      ],
                      position: (48, 35),
                     },
                    ],
                    position: (47, 32),
                   },
                   BinaryOperation {
                    operator: NotEqualTo,
                    operands: [
                     FunctionApplication {
                      function: Variable {
                       identifier: "match",
                       position: (49, 5),
                      },
                      arguments: [
                       String {
                        parts: [
                         Raw {
                          content: "^\\..*\\.sw[a-z]$",
                          position: (49, 12),
                         },
                        ],
                        position: (49, 11),
                       },
                       Variable {
                        identifier: "baseName",
                        position: (49, 31),
                       },
                      ],
                     },
                     Variable {
                      identifier: "null",
                      position: (49, 43),
                     },
                    ],
                    position: (49, 40),
                   },
                  ],
                  position: (48, 43),
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "lib",
                    position: (52, 5),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "hasSuffix",
                      position: (52, 9),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: ".o",
                      position: (52, 20),
                     },
                    ],
                    position: (52, 19),
                   },
                   Variable {
                    identifier: "baseName",
                    position: (52, 24),
                   },
                  ],
                 },
                ],
                position: (49, 48),
               },
               FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (53, 5),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "hasSuffix",
                    position: (53, 9),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: ".so",
                    position: (53, 20),
                   },
                  ],
                  position: (53, 19),
                 },
                 Variable {
                  identifier: "baseName",
                  position: (53, 25),
                 },
                ],
               },
              ],
              position: (52, 33),
             },
             Parentheses {
              expression: BinaryOperation {
               operator: LogicalAnd,
               operands: [
                BinaryOperation {
                 operator: EqualTo,
                 operands: [
                  Variable {
                   identifier: "type",
                   position: (55, 6),
                  },
                  String {
                   parts: [
                    Raw {
                     content: "symlink",
                     position: (55, 15),
                    },
                   ],
                   position: (55, 14),
                  },
                 ],
                 position: (55, 11),
                },
                FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (55, 27),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "hasPrefix",
                     position: (55, 31),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  String {
                   parts: [
                    Raw {
                     content: "result",
                     position: (55, 42),
                    },
                   ],
                   position: (55, 41),
                  },
                  Variable {
                   identifier: "baseName",
                   position: (55, 50),
                  },
                 ],
                },
               ],
               position: (55, 24),
              },
              position: (55, 5),
             },
            ],
            position: (53, 34),
           },
           Parentheses {
            expression: BinaryOperation {
             operator: EqualTo,
             operands: [
              Variable {
               identifier: "type",
               position: (57, 6),
              },
              String {
               parts: [
                Raw {
                 content: "unknown",
                 position: (57, 15),
                },
               ],
               position: (57, 14),
              },
             ],
             position: (57, 11),
            },
            position: (57, 5),
           },
          ],
          position: (55, 60),
         },
         position: (43, 83),
        },
        position: (43, 81),
       },
       position: (43, 35),
      },
      position: (43, 29),
     },
     position: (43, 23),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "cleanSource",
       position: (66, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "src",
     },
     definition: FunctionApplication {
      function: Variable {
       identifier: "cleanSourceWith",
       position: (66, 22),
      },
      arguments: [
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "filter",
             position: (66, 40),
            },
           ],
          },
          to: Variable {
           identifier: "cleanSourceFilter",
           position: (66, 49),
          },
         },
         Inherit {
          from: None,
          attributes: [
           Raw {
            content: "src",
            position: (66, 76),
           },
          ],
         },
        ],
        recursive: false,
        position: (66, 38),
       },
      ],
     },
     position: (66, 17),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "cleanSourceWith",
       position: (87, 3),
      },
     ],
    },
    to: Function {
     argument: Destructured {
      identifier: None,
      arguments: [
       DestructuredArgument {
        identifier: "src",
        default: None,
       },
       DestructuredArgument {
        identifier: "filter",
        default: Some(
         Function {
          argument: Simple {
           identifier: "_path",
          },
          definition: Function {
           argument: Simple {
            identifier: "_type",
           },
           definition: Variable {
            identifier: "true",
            position: (97, 30),
           },
           position: (97, 23),
          },
          position: (97, 16),
         },
        ),
       },
       DestructuredArgument {
        identifier: "name",
        default: Some(
         Variable {
          identifier: "null",
          position: (100, 14),
         },
        ),
       },
      ],
      ellipsis: false,
     },
     definition: LetIn {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "orig",
           position: (103, 7),
          },
         ],
        },
        to: FunctionApplication {
         function: Variable {
          identifier: "toSourceAttributes",
          position: (103, 14),
         },
         arguments: [
          Variable {
           identifier: "src",
           position: (103, 33),
          },
         ],
        },
       },
      ],
      target: FunctionApplication {
       function: Variable {
        identifier: "fromSourceAttributes",
        position: (104, 8),
       },
       arguments: [
        Map {
         bindings: [
          Inherit {
           from: Some(
            Variable {
             identifier: "orig",
             position: (105, 16),
            },
           ),
           attributes: [
            Raw {
             content: "origSrc",
             position: (105, 22),
            },
           ],
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "filter",
              position: (106, 7),
             },
            ],
           },
           to: Function {
            argument: Simple {
             identifier: "path",
            },
            definition: Function {
             argument: Simple {
              identifier: "type",
             },
             definition: BinaryOperation {
              operator: LogicalAnd,
              operands: [
               FunctionApplication {
                function: Variable {
                 identifier: "filter",
                 position: (106, 28),
                },
                arguments: [
                 Variable {
                  identifier: "path",
                  position: (106, 35),
                 },
                 Variable {
                  identifier: "type",
                  position: (106, 40),
                 },
                ],
               },
               FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "orig",
                  position: (106, 48),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "filter",
                    position: (106, 53),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 Variable {
                  identifier: "path",
                  position: (106, 60),
                 },
                 Variable {
                  identifier: "type",
                  position: (106, 65),
                 },
                ],
               },
              ],
              position: (106, 45),
             },
             position: (106, 22),
            },
            position: (106, 16),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "name",
              position: (107, 7),
             },
            ],
           },
           to: IfThenElse {
            predicate: BinaryOperation {
             operator: NotEqualTo,
             operands: [
              Variable {
               identifier: "name",
               position: (107, 17),
              },
              Variable {
               identifier: "null",
               position: (107, 25),
              },
             ],
             position: (107, 22),
            },
            then: Variable {
             identifier: "name",
             position: (107, 35),
            },
            else_: PropertyAccess {
             expression: Variable {
              identifier: "orig",
              position: (107, 45),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "name",
                position: (107, 50),
               },
              ],
             },
             default: None,
            },
            position: (107, 14),
           },
          },
         ],
         recursive: false,
         position: (104, 29),
        },
       ],
      },
      position: (102, 5),
     },
     position: (88, 5),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "trace",
       position: (115, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "src",
     },
     definition: LetIn {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "attrs",
           position: (119, 7),
          },
         ],
        },
        to: FunctionApplication {
         function: Variable {
          identifier: "toSourceAttributes",
          position: (119, 15),
         },
         arguments: [
          Variable {
           identifier: "src",
           position: (119, 34),
          },
         ],
        },
       },
      ],
      target: BinaryOperation {
       operator: Update,
       operands: [
        FunctionApplication {
         function: Variable {
          identifier: "fromSourceAttributes",
          position: (121, 7),
         },
         arguments: [
          Parentheses {
           expression: BinaryOperation {
            operator: Update,
            operands: [
             Variable {
              identifier: "attrs",
              position: (122, 9),
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "filter",
                   position: (123, 11),
                  },
                 ],
                },
                to: Function {
                 argument: Simple {
                  identifier: "path",
                 },
                 definition: Function {
                  argument: Simple {
                   identifier: "type",
                  },
                  definition: LetIn {
                   bindings: [
                    Binding {
                     from: AttributePath {
                      parts: [
                       Raw {
                        content: "r",
                        position: (125, 15),
                       },
                      ],
                     },
                     to: FunctionApplication {
                      function: PropertyAccess {
                       expression: Variable {
                        identifier: "attrs",
                        position: (125, 19),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "filter",
                          position: (125, 25),
                         },
                        ],
                       },
                       default: None,
                      },
                      arguments: [
                       Variable {
                        identifier: "path",
                        position: (125, 32),
                       },
                       Variable {
                        identifier: "type",
                        position: (125, 37),
                       },
                      ],
                     },
                    },
                   ],
                   target: FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "builtins",
                      position: (127, 15),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "trace",
                        position: (127, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "attrs",
                          position: (127, 33),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "name",
                            position: (127, 39),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: ".filter ",
                        position: (127, 44),
                       },
                       Expression {
                        expression: Variable {
                         identifier: "path",
                         position: (127, 54),
                        },
                       },
                       Raw {
                        content: " = ",
                        position: (127, 59),
                       },
                       Expression {
                        expression: FunctionApplication {
                         function: Variable {
                          identifier: "boolToString",
                          position: (127, 64),
                         },
                         arguments: [
                          Variable {
                           identifier: "r",
                           position: (127, 77),
                          },
                         ],
                        },
                       },
                      ],
                      position: (127, 30),
                     },
                     Variable {
                      identifier: "r",
                      position: (127, 81),
                     },
                    ],
                   },
                   position: (124, 13),
                  },
                  position: (123, 26),
                 },
                 position: (123, 20),
                },
               },
              ],
              recursive: false,
              position: (122, 18),
             },
            ],
            position: (122, 15),
           },
           position: (121, 28),
          },
         ],
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "satisfiesSubpathInvariant",
              position: (130, 9),
             },
            ],
           },
           to: BinaryOperation {
            operator: LogicalAnd,
            operands: [
             HasProperty {
              expression: Variable {
               identifier: "src",
               position: (130, 37),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "satisfiesSubpathInvariant",
                 position: (130, 43),
                },
               ],
              },
              position: (130, 41),
             },
             PropertyAccess {
              expression: Variable {
               identifier: "src",
               position: (130, 72),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "satisfiesSubpathInvariant",
                 position: (130, 76),
                },
               ],
              },
              default: None,
             },
            ],
            position: (130, 69),
           },
          },
         ],
         recursive: false,
         position: (129, 12),
        },
       ],
       position: (129, 9),
      },
      position: (118, 5),
     },
     position: (117, 5),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "sourceByRegex",
       position: (138, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "src",
     },
     definition: Function {
      argument: Simple {
       identifier: "regexes",
      },
      definition: LetIn {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "isFiltered",
            position: (140, 7),
           },
          ],
         },
         to: HasProperty {
          expression: Variable {
           identifier: "src",
           position: (140, 20),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "_isLibCleanSourceWith",
             position: (140, 26),
            },
           ],
          },
          position: (140, 24),
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "origSrc",
            position: (141, 7),
           },
          ],
         },
         to: IfThenElse {
          predicate: Variable {
           identifier: "isFiltered",
           position: (141, 20),
          },
          then: PropertyAccess {
           expression: Variable {
            identifier: "src",
            position: (141, 36),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "origSrc",
              position: (141, 40),
             },
            ],
           },
           default: None,
          },
          else_: Variable {
           identifier: "src",
           position: (141, 53),
          },
          position: (141, 17),
         },
        },
       ],
       target: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "lib",
          position: (142, 8),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "cleanSourceWith",
            position: (142, 12),
           },
          ],
         },
         default: None,
        },
        arguments: [
         Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "filter",
               position: (143, 7),
              },
             ],
            },
            to: Parentheses {
             expression: Function {
              argument: Simple {
               identifier: "path",
              },
              definition: Function {
               argument: Simple {
                identifier: "type",
               },
               definition: LetIn {
                bindings: [
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "relPath",
                     position: (144, 13),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "lib",
                     position: (144, 23),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "removePrefix",
                       position: (144, 27),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    Parentheses {
                     expression: BinaryOperation {
                      operator: Addition,
                      operands: [
                       FunctionApplication {
                        function: Variable {
                         identifier: "toString",
                         position: (144, 41),
                        },
                        arguments: [
                         Variable {
                          identifier: "origSrc",
                          position: (144, 50),
                         },
                        ],
                       },
                       String {
                        parts: [
                         Raw {
                          content: "/",
                          position: (144, 61),
                         },
                        ],
                        position: (144, 60),
                       },
                      ],
                      position: (144, 58),
                     },
                     position: (144, 40),
                    },
                    Parentheses {
                     expression: FunctionApplication {
                      function: Variable {
                       identifier: "toString",
                       position: (144, 66),
                      },
                      arguments: [
                       Variable {
                        identifier: "path",
                        position: (144, 75),
                       },
                      ],
                     },
                     position: (144, 65),
                    },
                   ],
                  },
                 },
                ],
                target: FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (145, 12),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "any",
                     position: (145, 16),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  Parentheses {
                   expression: Function {
                    argument: Simple {
                     identifier: "re",
                    },
                    definition: BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      FunctionApplication {
                       function: Variable {
                        identifier: "match",
                        position: (145, 25),
                       },
                       arguments: [
                        Variable {
                         identifier: "re",
                         position: (145, 31),
                        },
                        Variable {
                         identifier: "relPath",
                         position: (145, 34),
                        },
                       ],
                      },
                      Variable {
                       identifier: "null",
                       position: (145, 45),
                      },
                     ],
                     position: (145, 42),
                    },
                    position: (145, 21),
                   },
                   position: (145, 20),
                  },
                  Variable {
                   identifier: "regexes",
                   position: (145, 51),
                  },
                 ],
                },
                position: (144, 9),
               },
               position: (143, 23),
              },
              position: (143, 17),
             },
             position: (143, 16),
            },
           },
           Inherit {
            from: None,
            attributes: [
             Raw {
              content: "src",
              position: (146, 15),
             },
            ],
           },
          ],
          recursive: false,
          position: (142, 28),
         },
        ],
       },
       position: (139, 5),
      },
      position: (138, 24),
     },
     position: (138, 19),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "sourceFilesBySuffices",
       position: (160, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "src",
     },
     definition: Function {
      argument: Simple {
       identifier: "exts",
      },
      definition: LetIn {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "filter",
            position: (165, 9),
           },
          ],
         },
         to: Function {
          argument: Simple {
           identifier: "name",
          },
          definition: Function {
           argument: Simple {
            identifier: "type",
           },
           definition: LetIn {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "base",
                 position: (166, 11),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "baseNameOf",
                position: (166, 18),
               },
               arguments: [
                Parentheses {
                 expression: FunctionApplication {
                  function: Variable {
                   identifier: "toString",
                   position: (166, 30),
                  },
                  arguments: [
                   Variable {
                    identifier: "name",
                    position: (166, 39),
                   },
                  ],
                 },
                 position: (166, 29),
                },
               ],
              },
             },
            ],
            target: BinaryOperation {
             operator: LogicalOr,
             operands: [
              BinaryOperation {
               operator: EqualTo,
               operands: [
                Variable {
                 identifier: "type",
                 position: (167, 10),
                },
                String {
                 parts: [
                  Raw {
                   content: "directory",
                   position: (167, 19),
                  },
                 ],
                 position: (167, 18),
                },
               ],
               position: (167, 15),
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "lib",
                 position: (167, 33),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "any",
                   position: (167, 37),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                Parentheses {
                 expression: Function {
                  argument: Simple {
                   identifier: "ext",
                  },
                  definition: FunctionApplication {
                   function: PropertyAccess {
                    expression: Variable {
                     identifier: "lib",
                     position: (167, 47),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "hasSuffix",
                       position: (167, 51),
                      },
                     ],
                    },
                    default: None,
                   },
                   arguments: [
                    Variable {
                     identifier: "ext",
                     position: (167, 61),
                    },
                    Variable {
                     identifier: "base",
                     position: (167, 65),
                    },
                   ],
                  },
                  position: (167, 42),
                 },
                 position: (167, 41),
                },
                Variable {
                 identifier: "exts",
                 position: (167, 71),
                },
               ],
              },
             ],
             position: (167, 30),
            },
            position: (166, 7),
           },
           position: (165, 24),
          },
          position: (165, 18),
         },
        },
       ],
       target: FunctionApplication {
        function: Variable {
         identifier: "cleanSourceWith",
         position: (168, 8),
        },
        arguments: [
         Map {
          bindings: [
           Inherit {
            from: None,
            attributes: [
             Raw {
              content: "filter",
              position: (168, 34),
             },
             Raw {
              content: "src",
              position: (168, 41),
             },
            ],
           },
          ],
          recursive: false,
          position: (168, 24),
         },
        ],
       },
       position: (165, 5),
      },
      position: (164, 5),
     },
     position: (162, 5),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "pathIsGitRepo",
       position: (170, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "path",
     },
     definition: PropertyAccess {
      expression: Parentheses {
       expression: FunctionApplication {
        function: Variable {
         identifier: "tryEval",
         position: (170, 26),
        },
        arguments: [
         Parentheses {
          expression: FunctionApplication {
           function: Variable {
            identifier: "commitIdFromGitRepo",
            position: (170, 35),
           },
           arguments: [
            Variable {
             identifier: "path",
             position: (170, 55),
            },
           ],
          },
          position: (170, 34),
         },
        ],
       },
       position: (170, 25),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "success",
         position: (170, 62),
        },
       ],
      },
      default: None,
     },
     position: (170, 19),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "commitIdFromGitRepo",
       position: (177, 3),
      },
     ],
    },
    to: LetIn {
     bindings: [
      Binding {
       from: AttributePath {
        parts: [
         Raw {
          content: "readCommitFromFile",
          position: (178, 9),
         },
        ],
       },
       to: Function {
        argument: Simple {
         identifier: "file",
        },
        definition: Function {
         argument: Simple {
          identifier: "path",
         },
         definition: LetIn {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "fileName",
               position: (179, 13),
              },
             ],
            },
            to: BinaryOperation {
             operator: Addition,
             operands: [
              BinaryOperation {
               operator: Addition,
               operands: [
                FunctionApplication {
                 function: Variable {
                  identifier: "toString",
                  position: (179, 30),
                 },
                 arguments: [
                  Variable {
                   identifier: "path",
                   position: (179, 39),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "/",
                   position: (179, 47),
                  },
                 ],
                 position: (179, 46),
                },
               ],
               position: (179, 44),
              },
              Variable {
               identifier: "file",
               position: (179, 52),
              },
             ],
             position: (179, 50),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "packedRefsName",
               position: (180, 13),
              },
             ],
            },
            to: BinaryOperation {
             operator: Addition,
             operands: [
              FunctionApplication {
               function: Variable {
                identifier: "toString",
                position: (180, 30),
               },
               arguments: [
                Variable {
                 identifier: "path",
                 position: (180, 39),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "/packed-refs",
                 position: (180, 47),
                },
               ],
               position: (180, 46),
              },
             ],
             position: (180, 44),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "absolutePath",
               position: (181, 13),
              },
             ],
            },
            to: Function {
             argument: Simple {
              identifier: "base",
             },
             definition: Function {
              argument: Simple {
               identifier: "path",
              },
              definition: IfThenElse {
               predicate: FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (182, 18),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "hasPrefix",
                    position: (182, 22),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "/",
                    position: (182, 33),
                   },
                  ],
                  position: (182, 32),
                 },
                 Variable {
                  identifier: "path",
                  position: (182, 36),
                 },
                ],
               },
               then: Variable {
                identifier: "path",
                position: (183, 20),
               },
               else_: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (184, 20),
                },
                arguments: [
                 Parentheses {
                  expression: BinaryOperation {
                   operator: Addition,
                   operands: [
                    Path {
                     parts: [
                      Raw {
                       content: "/.",
                       position: (184, 30),
                      },
                     ],
                     position: (184, 30),
                    },
                    String {
                     parts: [
                      Expression {
                       expression: Variable {
                        identifier: "base",
                        position: (184, 38),
                       },
                      },
                      Raw {
                       content: "/",
                       position: (184, 43),
                      },
                      Expression {
                       expression: Variable {
                        identifier: "path",
                        position: (184, 46),
                       },
                      },
                     ],
                     position: (184, 35),
                    },
                   ],
                   position: (184, 33),
                  },
                  position: (184, 29),
                 },
                ],
               },
               position: (182, 15),
              },
              position: (181, 36),
             },
             position: (181, 30),
            },
           },
          ],
          target: IfThenElse {
           predicate: FunctionApplication {
            function: Variable {
             identifier: "pathIsRegularFile",
             position: (185, 15),
            },
            arguments: [
             Variable {
              identifier: "path",
              position: (185, 33),
             },
            ],
           },
           then: LetIn {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "m",
                 position: (188, 18),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "match",
                position: (188, 24),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "^gitdir: (.*)$",
                   position: (188, 31),
                  },
                 ],
                 position: (188, 30),
                },
                Parentheses {
                 expression: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "lib",
                    position: (188, 48),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "fileContents",
                      position: (188, 52),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Variable {
                    identifier: "path",
                    position: (188, 65),
                   },
                  ],
                 },
                 position: (188, 47),
                },
               ],
              },
             },
            ],
            target: IfThenElse {
             predicate: BinaryOperation {
              operator: EqualTo,
              operands: [
               Variable {
                identifier: "m",
                position: (189, 20),
               },
               Variable {
                identifier: "null",
                position: (189, 25),
               },
              ],
              position: (189, 22),
             },
             then: FunctionApplication {
              function: Variable {
               identifier: "throw",
               position: (190, 22),
              },
              arguments: [
               Parentheses {
                expression: BinaryOperation {
                 operator: Addition,
                 operands: [
                  String {
                   parts: [
                    Raw {
                     content: "File contains no gitdir reference: ",
                     position: (190, 30),
                    },
                   ],
                   position: (190, 29),
                  },
                  Variable {
                   identifier: "path",
                   position: (190, 69),
                  },
                 ],
                 position: (190, 67),
                },
                position: (190, 28),
               },
              ],
             },
             else_: LetIn {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "gitDir",
                   position: (192, 23),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: Variable {
                  identifier: "absolutePath",
                  position: (192, 37),
                 },
                 arguments: [
                  Parentheses {
                   expression: FunctionApplication {
                    function: Variable {
                     identifier: "dirOf",
                     position: (192, 51),
                    },
                    arguments: [
                     Variable {
                      identifier: "path",
                      position: (192, 57),
                     },
                    ],
                   },
                   position: (192, 50),
                  },
                  Parentheses {
                   expression: FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "lib",
                      position: (192, 64),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "head",
                        position: (192, 68),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     Variable {
                      identifier: "m",
                      position: (192, 73),
                     },
                    ],
                   },
                   position: (192, 63),
                  },
                 ],
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "commonDir''",
                   position: (193, 23),
                  },
                 ],
                },
                to: IfThenElse {
                 predicate: FunctionApplication {
                  function: Variable {
                   identifier: "pathIsRegularFile",
                   position: (193, 40),
                  },
                  arguments: [
                   String {
                    parts: [
                     Expression {
                      expression: Variable {
                       identifier: "gitDir",
                       position: (193, 61),
                      },
                     },
                     Raw {
                      content: "/commondir",
                      position: (193, 68),
                     },
                    ],
                    position: (193, 58),
                   },
                  ],
                 },
                 then: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "lib",
                    position: (194, 42),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "fileContents",
                      position: (194, 46),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   String {
                    parts: [
                     Expression {
                      expression: Variable {
                       identifier: "gitDir",
                       position: (194, 62),
                      },
                     },
                     Raw {
                      content: "/commondir",
                      position: (194, 69),
                     },
                    ],
                    position: (194, 59),
                   },
                  ],
                 },
                 else_: Variable {
                  identifier: "gitDir",
                  position: (195, 42),
                 },
                 position: (193, 37),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "commonDir'",
                   position: (196, 23),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (196, 37),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "removeSuffix",
                     position: (196, 41),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  String {
                   parts: [
                    Raw {
                     content: "/",
                     position: (196, 55),
                    },
                   ],
                   position: (196, 54),
                  },
                  Variable {
                   identifier: "commonDir''",
                   position: (196, 58),
                  },
                 ],
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "commonDir",
                   position: (197, 23),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: Variable {
                  identifier: "absolutePath",
                  position: (197, 37),
                 },
                 arguments: [
                  Variable {
                   identifier: "gitDir",
                   position: (197, 50),
                  },
                  Variable {
                   identifier: "commonDir'",
                   position: (197, 57),
                  },
                 ],
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "refFile",
                   position: (198, 23),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (198, 37),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "removePrefix",
                     position: (198, 41),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  String {
                   parts: [
                    Expression {
                     expression: Variable {
                      identifier: "commonDir",
                      position: (198, 57),
                     },
                    },
                    Raw {
                     content: "/",
                     position: (198, 67),
                    },
                   ],
                   position: (198, 54),
                  },
                  String {
                   parts: [
                    Expression {
                     expression: Variable {
                      identifier: "gitDir",
                      position: (198, 73),
                     },
                    },
                    Raw {
                     content: "/",
                     position: (198, 80),
                    },
                    Expression {
                     expression: Variable {
                      identifier: "file",
                      position: (198, 83),
                     },
                    },
                   ],
                   position: (198, 70),
                  },
                 ],
                },
               },
              ],
              target: FunctionApplication {
               function: Variable {
                identifier: "readCommitFromFile",
                position: (199, 22),
               },
               arguments: [
                Variable {
                 identifier: "refFile",
                 position: (199, 41),
                },
                Variable {
                 identifier: "commonDir",
                 position: (199, 49),
                },
               ],
              },
              position: (192, 19),
             },
             position: (189, 17),
            },
            position: (188, 14),
           },
           else_: IfThenElse {
            predicate: FunctionApplication {
             function: Variable {
              identifier: "pathIsRegularFile",
              position: (201, 20),
             },
             arguments: [
              Variable {
               identifier: "fileName",
               position: (201, 38),
              },
             ],
            },
            then: LetIn {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "fileContent",
                  position: (205, 18),
                 },
                ],
               },
               to: FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (205, 32),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "fileContents",
                    position: (205, 36),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 Variable {
                  identifier: "fileName",
                  position: (205, 49),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "matchRef",
                  position: (206, 18),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "match",
                 position: (206, 32),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "^ref: (.*)$",
                    position: (206, 39),
                   },
                  ],
                  position: (206, 38),
                 },
                 Variable {
                  identifier: "fileContent",
                  position: (206, 52),
                 },
                ],
               },
              },
             ],
             target: IfThenElse {
              predicate: BinaryOperation {
               operator: EqualTo,
               operands: [
                Variable {
                 identifier: "matchRef",
                 position: (207, 21),
                },
                Variable {
                 identifier: "null",
                 position: (207, 33),
                },
               ],
               position: (207, 30),
              },
              then: Variable {
               identifier: "fileContent",
               position: (208, 22),
              },
              else_: FunctionApplication {
               function: Variable {
                identifier: "readCommitFromFile",
                position: (209, 22),
               },
               arguments: [
                Parentheses {
                 expression: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "lib",
                    position: (209, 42),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "head",
                      position: (209, 46),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Variable {
                    identifier: "matchRef",
                    position: (209, 51),
                   },
                  ],
                 },
                 position: (209, 41),
                },
                Variable {
                 identifier: "path",
                 position: (209, 61),
                },
               ],
              },
              position: (207, 17),
             },
             position: (205, 14),
            },
            else_: IfThenElse {
             predicate: FunctionApplication {
              function: Variable {
               identifier: "pathIsRegularFile",
               position: (211, 20),
              },
              arguments: [
               Variable {
                identifier: "packedRefsName",
                position: (211, 38),
               },
              ],
             },
             then: LetIn {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "fileContent",
                   position: (215, 18),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: Variable {
                  identifier: "readFile",
                  position: (215, 32),
                 },
                 arguments: [
                  Variable {
                   identifier: "packedRefsName",
                   position: (215, 41),
                  },
                 ],
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "matchRef",
                   position: (216, 18),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: Variable {
                  identifier: "match",
                  position: (216, 29),
                 },
                 arguments: [
                  String {
                   parts: [
                    Raw {
                     content: "([a-z0-9]+) ",
                     position: (216, 36),
                    },
                    Expression {
                     expression: Variable {
                      identifier: "file",
                      position: (216, 50),
                     },
                    },
                   ],
                   position: (216, 35),
                  },
                 ],
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "isRef",
                   position: (217, 18),
                  },
                 ],
                },
                to: Function {
                 argument: Simple {
                  identifier: "s",
                 },
                 definition: BinaryOperation {
                  operator: LogicalAnd,
                  operands: [
                   FunctionApplication {
                    function: Variable {
                     identifier: "isString",
                     position: (217, 29),
                    },
                    arguments: [
                     Variable {
                      identifier: "s",
                      position: (217, 38),
                     },
                    ],
                   },
                   BinaryOperation {
                    operator: NotEqualTo,
                    operands: [
                     Parentheses {
                      expression: FunctionApplication {
                       function: Variable {
                        identifier: "matchRef",
                        position: (217, 44),
                       },
                       arguments: [
                        Variable {
                         identifier: "s",
                         position: (217, 53),
                        },
                       ],
                      },
                      position: (217, 43),
                     },
                     Variable {
                      identifier: "null",
                      position: (217, 59),
                     },
                    ],
                    position: (217, 56),
                   },
                  ],
                  position: (217, 40),
                 },
                 position: (217, 26),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "refs",
                   position: (220, 18),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: Variable {
                  identifier: "filter",
                  position: (220, 25),
                 },
                 arguments: [
                  Variable {
                   identifier: "isRef",
                   position: (220, 32),
                  },
                  Parentheses {
                   expression: FunctionApplication {
                    function: Variable {
                     identifier: "split",
                     position: (220, 39),
                    },
                    arguments: [
                     String {
                      parts: [
                       Raw {
                        content: "\n",
                        position: (220, 46),
                       },
                      ],
                      position: (220, 45),
                     },
                     Variable {
                      identifier: "fileContent",
                      position: (220, 50),
                     },
                    ],
                   },
                   position: (220, 38),
                  },
                 ],
                },
               },
              ],
              target: IfThenElse {
               predicate: BinaryOperation {
                operator: EqualTo,
                operands: [
                 Variable {
                  identifier: "refs",
                  position: (221, 20),
                 },
                 List {
                  elements: [],
                  position: (221, 28),
                 },
                ],
                position: (221, 25),
               },
               then: FunctionApplication {
                function: Variable {
                 identifier: "throw",
                 position: (222, 22),
                },
                arguments: [
                 Parentheses {
                  expression: BinaryOperation {
                   operator: Addition,
                   operands: [
                    BinaryOperation {
                     operator: Addition,
                     operands: [
                      BinaryOperation {
                       operator: Addition,
                       operands: [
                        String {
                         parts: [
                          Raw {
                           content: "Could not find ",
                           position: (222, 30),
                          },
                         ],
                         position: (222, 29),
                        },
                        Variable {
                         identifier: "file",
                         position: (222, 49),
                        },
                       ],
                       position: (222, 47),
                      },
                      String {
                       parts: [
                        Raw {
                         content: " in ",
                         position: (222, 57),
                        },
                       ],
                       position: (222, 56),
                      },
                     ],
                     position: (222, 54),
                    },
                    Variable {
                     identifier: "packedRefsName",
                     position: (222, 65),
                    },
                   ],
                   position: (222, 63),
                  },
                  position: (222, 28),
                 },
                ],
               },
               else_: FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (223, 22),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "head",
                    position: (223, 26),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 Parentheses {
                  expression: FunctionApplication {
                   function: Variable {
                    identifier: "matchRef",
                    position: (223, 32),
                   },
                   arguments: [
                    Parentheses {
                     expression: FunctionApplication {
                      function: PropertyAccess {
                       expression: Variable {
                        identifier: "lib",
                        position: (223, 42),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "head",
                          position: (223, 46),
                         },
                        ],
                       },
                       default: None,
                      },
                      arguments: [
                       Variable {
                        identifier: "refs",
                        position: (223, 51),
                       },
                      ],
                     },
                     position: (223, 41),
                    },
                   ],
                  },
                  position: (223, 31),
                 },
                ],
               },
               position: (221, 17),
              },
              position: (215, 14),
             },
             else_: FunctionApplication {
              function: Variable {
               identifier: "throw",
               position: (225, 17),
              },
              arguments: [
               Parentheses {
                expression: BinaryOperation {
                 operator: Addition,
                 operands: [
                  String {
                   parts: [
                    Raw {
                     content: "Not a .git directory: ",
                     position: (225, 25),
                    },
                   ],
                   position: (225, 24),
                  },
                  Variable {
                   identifier: "path",
                   position: (225, 51),
                  },
                 ],
                 position: (225, 49),
                },
                position: (225, 23),
               },
              ],
             },
             position: (211, 17),
            },
            position: (201, 17),
           },
           position: (185, 12),
          },
          position: (179, 9),
         },
         position: (178, 36),
        },
        position: (178, 30),
       },
      },
     ],
     target: FunctionApplication {
      function: Variable {
       identifier: "readCommitFromFile",
       position: (226, 8),
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "HEAD",
          position: (226, 28),
         },
        ],
        position: (226, 27),
       },
      ],
     },
     position: (178, 5),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "pathHasContext",
       position: (228, 3),
      },
     ],
    },
    to: PropertyAccess {
     expression: Variable {
      identifier: "builtins",
      position: (228, 20),
     },
     attribute_path: AttributePath {
      parts: [
       Raw {
        content: "hasContext",
        position: (228, 29),
       },
      ],
     },
     default: Some(
      Parentheses {
       expression: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "lib",
          position: (228, 44),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "hasPrefix",
            position: (228, 48),
           },
          ],
         },
         default: None,
        },
        arguments: [
         Variable {
          identifier: "storeDir",
          position: (228, 58),
         },
        ],
       },
       position: (228, 43),
      },
     ),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "canCleanSource",
       position: (230, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "src",
     },
     definition: BinaryOperation {
      operator: LogicalOr,
      operands: [
       HasProperty {
        expression: Variable {
         identifier: "src",
         position: (230, 25),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "_isLibCleanSourceWith",
           position: (230, 31),
          },
         ],
        },
        position: (230, 29),
       },
       UnaryOperation {
        operator: Not,
        operand: Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "pathHasContext",
           position: (230, 58),
          },
          arguments: [
           Parentheses {
            expression: FunctionApplication {
             function: Variable {
              identifier: "toString",
              position: (230, 74),
             },
             arguments: [
              Variable {
               identifier: "src",
               position: (230, 83),
              },
             ],
            },
            position: (230, 73),
           },
          ],
         },
         position: (230, 57),
        },
        position: (230, 56),
       },
      ],
      position: (230, 53),
     },
     position: (230, 20),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "toSourceAttributes",
       position: (243, 3),
      },
     ],
    },
    to: Function {
     argument: Simple {
      identifier: "src",
     },
     definition: LetIn {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "isFiltered",
           position: (245, 7),
          },
         ],
        },
        to: HasProperty {
         expression: Variable {
          identifier: "src",
          position: (245, 20),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "_isLibCleanSourceWith",
            position: (245, 26),
           },
          ],
         },
         position: (245, 24),
        },
       },
      ],
      target: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "origSrc",
            position: (249, 7),
           },
          ],
         },
         to: IfThenElse {
          predicate: Variable {
           identifier: "isFiltered",
           position: (249, 20),
          },
          then: PropertyAccess {
           expression: Variable {
            identifier: "src",
            position: (249, 36),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "origSrc",
              position: (249, 40),
             },
            ],
           },
           default: None,
          },
          else_: Variable {
           identifier: "src",
           position: (249, 53),
          },
          position: (249, 17),
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "filter",
            position: (250, 7),
           },
          ],
         },
         to: IfThenElse {
          predicate: Variable {
           identifier: "isFiltered",
           position: (250, 19),
          },
          then: PropertyAccess {
           expression: Variable {
            identifier: "src",
            position: (250, 35),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "filter",
              position: (250, 39),
             },
            ],
           },
           default: None,
          },
          else_: Function {
           argument: Simple {
            identifier: "_",
           },
           definition: Function {
            argument: Simple {
             identifier: "_",
            },
            definition: Variable {
             identifier: "true",
             position: (250, 57),
            },
            position: (250, 54),
           },
           position: (250, 51),
          },
          position: (250, 16),
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "name",
            position: (251, 7),
           },
          ],
         },
         to: IfThenElse {
          predicate: Variable {
           identifier: "isFiltered",
           position: (251, 17),
          },
          then: PropertyAccess {
           expression: Variable {
            identifier: "src",
            position: (251, 33),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "name",
              position: (251, 37),
             },
            ],
           },
           default: None,
          },
          else_: String {
           parts: [
            Raw {
             content: "source",
             position: (251, 48),
            },
           ],
           position: (251, 47),
          },
          position: (251, 14),
         },
        },
       ],
       recursive: false,
       position: (247, 5),
      },
      position: (244, 5),
     },
     position: (243, 24),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "fromSourceAttributes",
       position: (257, 3),
      },
     ],
    },
    to: Function {
     argument: Destructured {
      identifier: None,
      arguments: [
       DestructuredArgument {
        identifier: "origSrc",
        default: None,
       },
       DestructuredArgument {
        identifier: "filter",
        default: None,
       },
       DestructuredArgument {
        identifier: "name",
        default: None,
       },
      ],
      ellipsis: false,
     },
     definition: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "_isLibCleanSourceWith",
           position: (259, 7),
          },
         ],
        },
        to: Variable {
         identifier: "true",
         position: (259, 31),
        },
       },
       Inherit {
        from: None,
        attributes: [
         Raw {
          content: "origSrc",
          position: (260, 15),
         },
         Raw {
          content: "filter",
          position: (260, 23),
         },
         Raw {
          content: "name",
          position: (260, 30),
         },
        ],
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "outPath",
           position: (261, 7),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "builtins",
           position: (261, 17),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "path",
             position: (261, 26),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Map {
           bindings: [
            Inherit {
             from: None,
             attributes: [
              Raw {
               content: "filter",
               position: (261, 41),
              },
              Raw {
               content: "name",
               position: (261, 48),
              },
             ],
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "path",
                position: (261, 54),
               },
              ],
             },
             to: Variable {
              identifier: "origSrc",
              position: (261, 61),
             },
            },
           ],
           recursive: false,
           position: (261, 31),
          },
         ],
        },
       },
      ],
      recursive: false,
      position: (258, 5),
     },
     position: (257, 26),
    },
   },
  ],
  target: Map {
   bindings: [
    Inherit {
     from: None,
     attributes: [
      Raw {
       content: "pathType",
       position: (266, 5),
      },
      Raw {
       content: "pathIsDirectory",
       position: (267, 5),
      },
      Raw {
       content: "pathIsRegularFile",
       position: (268, 5),
      },
      Raw {
       content: "pathIsGitRepo",
       position: (270, 5),
      },
      Raw {
       content: "commitIdFromGitRepo",
       position: (271, 5),
      },
      Raw {
       content: "cleanSource",
       position: (273, 5),
      },
      Raw {
       content: "cleanSourceWith",
       position: (274, 5),
      },
      Raw {
       content: "cleanSourceFilter",
       position: (275, 5),
      },
      Raw {
       content: "pathHasContext",
       position: (276, 5),
      },
      Raw {
       content: "canCleanSource",
       position: (277, 5),
      },
      Raw {
       content: "sourceByRegex",
       position: (279, 5),
      },
      Raw {
       content: "sourceFilesBySuffices",
       position: (280, 5),
      },
      Raw {
       content: "trace",
       position: (282, 5),
      },
     ],
    },
   ],
   recursive: false,
   position: (264, 4),
  },
  position: (5, 1),
 },
 position: (2, 1),
}