Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "config",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
    ],
   },
  ),
  body: Map(
   Map {
    recursive: false,
    bindings: [
     KeyValue(
      BindingKeyValue {
       from: [
        Raw(
         PartRaw {
          content: "_file",
          span: Span {
           start: Position {
            line: 3,
            column: 3,
           },
           end: Position {
            line: 3,
            column: 8,
           },
          },
         },
        ),
       ],
       to: String(
        String_ {
         parts: [
          Raw(
           PartRaw {
            content: "optionTypeFile.nix",
            span: Span {
             start: Position {
              line: 3,
              column: 12,
             },
             end: Position {
              line: 3,
              column: 30,
             },
            },
           },
          ),
         ],
         span: Span {
          start: Position {
           line: 3,
           column: 11,
          },
          end: Position {
           line: 3,
           column: 31,
          },
         },
        },
       ),
      },
     ),
     KeyValue(
      BindingKeyValue {
       from: [
        Raw(
         PartRaw {
          content: "options",
          span: Span {
           start: Position {
            line: 5,
            column: 3,
           },
           end: Position {
            line: 5,
            column: 10,
           },
          },
         },
        ),
        Raw(
         PartRaw {
          content: "theType",
          span: Span {
           start: Position {
            line: 5,
            column: 11,
           },
           end: Position {
            line: 5,
            column: 18,
           },
          },
         },
        ),
       ],
       to: FunctionApplication(
        FunctionApplication {
         function: PropertyAccess(
          PropertyAccess {
           expression: Identifier(
            Identifier {
             id: "lib",
             span: Span {
              start: Position {
               line: 5,
               column: 21,
              },
              end: Position {
               line: 5,
               column: 24,
              },
             },
            },
           ),
           attribute_path: [
            Raw(
             PartRaw {
              content: "mkOption",
              span: Span {
               start: Position {
                line: 5,
                column: 25,
               },
               end: Position {
                line: 5,
                column: 33,
               },
              },
             },
            ),
           ],
           default: None,
          },
         ),
         arguments: [
          Map(
           Map {
            recursive: false,
            bindings: [
             KeyValue(
              BindingKeyValue {
               from: [
                Raw(
                 PartRaw {
                  content: "type",
                  span: Span {
                   start: Position {
                    line: 6,
                    column: 5,
                   },
                   end: Position {
                    line: 6,
                    column: 9,
                   },
                  },
                 },
                ),
               ],
               to: PropertyAccess(
                PropertyAccess {
                 expression: Identifier(
                  Identifier {
                   id: "lib",
                   span: Span {
                    start: Position {
                     line: 6,
                     column: 12,
                    },
                    end: Position {
                     line: 6,
                     column: 15,
                    },
                   },
                  },
                 ),
                 attribute_path: [
                  Raw(
                   PartRaw {
                    content: "types",
                    span: Span {
                     start: Position {
                      line: 6,
                      column: 16,
                     },
                     end: Position {
                      line: 6,
                      column: 21,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "optionType",
                    span: Span {
                     start: Position {
                      line: 6,
                      column: 22,
                     },
                     end: Position {
                      line: 6,
                      column: 32,
                     },
                    },
                   },
                  ),
                 ],
                 default: None,
                },
               ),
              },
             ),
            ],
            span: Span {
             start: Position {
              line: 5,
              column: 34,
             },
             end: Position {
              line: 7,
              column: 4,
             },
            },
           },
          ),
         ],
        },
       ),
      },
     ),
     KeyValue(
      BindingKeyValue {
       from: [
        Raw(
         PartRaw {
          content: "options",
          span: Span {
           start: Position {
            line: 9,
            column: 3,
           },
           end: Position {
            line: 9,
            column: 10,
           },
          },
         },
        ),
        Raw(
         PartRaw {
          content: "theOption",
          span: Span {
           start: Position {
            line: 9,
            column: 11,
           },
           end: Position {
            line: 9,
            column: 20,
           },
          },
         },
        ),
       ],
       to: FunctionApplication(
        FunctionApplication {
         function: PropertyAccess(
          PropertyAccess {
           expression: Identifier(
            Identifier {
             id: "lib",
             span: Span {
              start: Position {
               line: 9,
               column: 23,
              },
              end: Position {
               line: 9,
               column: 26,
              },
             },
            },
           ),
           attribute_path: [
            Raw(
             PartRaw {
              content: "mkOption",
              span: Span {
               start: Position {
                line: 9,
                column: 27,
               },
               end: Position {
                line: 9,
                column: 35,
               },
              },
             },
            ),
           ],
           default: None,
          },
         ),
         arguments: [
          Map(
           Map {
            recursive: false,
            bindings: [
             KeyValue(
              BindingKeyValue {
               from: [
                Raw(
                 PartRaw {
                  content: "type",
                  span: Span {
                   start: Position {
                    line: 10,
                    column: 5,
                   },
                   end: Position {
                    line: 10,
                    column: 9,
                   },
                  },
                 },
                ),
               ],
               to: PropertyAccess(
                PropertyAccess {
                 expression: Identifier(
                  Identifier {
                   id: "config",
                   span: Span {
                    start: Position {
                     line: 10,
                     column: 12,
                    },
                    end: Position {
                     line: 10,
                     column: 18,
                    },
                   },
                  },
                 ),
                 attribute_path: [
                  Raw(
                   PartRaw {
                    content: "theType",
                    span: Span {
                     start: Position {
                      line: 10,
                      column: 19,
                     },
                     end: Position {
                      line: 10,
                      column: 26,
                     },
                    },
                   },
                  ),
                 ],
                 default: None,
                },
               ),
              },
             ),
             KeyValue(
              BindingKeyValue {
               from: [
                Raw(
                 PartRaw {
                  content: "default",
                  span: Span {
                   start: Position {
                    line: 11,
                    column: 5,
                   },
                   end: Position {
                    line: 11,
                    column: 12,
                   },
                  },
                 },
                ),
               ],
               to: Map(
                Map {
                 recursive: false,
                 bindings: [],
                 span: Span {
                  start: Position {
                   line: 11,
                   column: 15,
                  },
                  end: Position {
                   line: 11,
                   column: 17,
                  },
                 },
                },
               ),
              },
             ),
            ],
            span: Span {
             start: Position {
              line: 9,
              column: 36,
             },
             end: Position {
              line: 12,
              column: 4,
             },
            },
           },
          ),
         ],
        },
       ),
      },
     ),
     KeyValue(
      BindingKeyValue {
       from: [
        Raw(
         PartRaw {
          content: "config",
          span: Span {
           start: Position {
            line: 14,
            column: 3,
           },
           end: Position {
            line: 14,
            column: 9,
           },
          },
         },
        ),
        Raw(
         PartRaw {
          content: "theType",
          span: Span {
           start: Position {
            line: 14,
            column: 10,
           },
           end: Position {
            line: 14,
            column: 17,
           },
          },
         },
        ),
       ],
       to: FunctionApplication(
        FunctionApplication {
         function: PropertyAccess(
          PropertyAccess {
           expression: Identifier(
            Identifier {
             id: "lib",
             span: Span {
              start: Position {
               line: 14,
               column: 20,
              },
              end: Position {
               line: 14,
               column: 23,
              },
             },
            },
           ),
           attribute_path: [
            Raw(
             PartRaw {
              content: "mkMerge",
              span: Span {
               start: Position {
                line: 14,
                column: 24,
               },
               end: Position {
                line: 14,
                column: 31,
               },
              },
             },
            ),
           ],
           default: None,
          },
         ),
         arguments: [
          List(
           List {
            elements: [
             FunctionApplication(
              FunctionApplication {
               function: PropertyAccess(
                PropertyAccess {
                 expression: Identifier(
                  Identifier {
                   id: "lib",
                   span: Span {
                    start: Position {
                     line: 15,
                     column: 6,
                    },
                    end: Position {
                     line: 15,
                     column: 9,
                    },
                   },
                  },
                 ),
                 attribute_path: [
                  Raw(
                   PartRaw {
                    content: "types",
                    span: Span {
                     start: Position {
                      line: 15,
                      column: 10,
                     },
                     end: Position {
                      line: 15,
                      column: 15,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "submodule",
                    span: Span {
                     start: Position {
                      line: 15,
                      column: 16,
                     },
                     end: Position {
                      line: 15,
                      column: 25,
                     },
                    },
                   },
                  ),
                 ],
                 default: None,
                },
               ),
               arguments: [
                Map(
                 Map {
                  recursive: false,
                  bindings: [
                   KeyValue(
                    BindingKeyValue {
                     from: [
                      Raw(
                       PartRaw {
                        content: "options",
                        span: Span {
                         start: Position {
                          line: 16,
                          column: 7,
                         },
                         end: Position {
                          line: 16,
                          column: 14,
                         },
                        },
                       },
                      ),
                      Raw(
                       PartRaw {
                        content: "nested",
                        span: Span {
                         start: Position {
                          line: 16,
                          column: 15,
                         },
                         end: Position {
                          line: 16,
                          column: 21,
                         },
                        },
                       },
                      ),
                     ],
                     to: FunctionApplication(
                      FunctionApplication {
                       function: PropertyAccess(
                        PropertyAccess {
                         expression: Identifier(
                          Identifier {
                           id: "lib",
                           span: Span {
                            start: Position {
                             line: 16,
                             column: 24,
                            },
                            end: Position {
                             line: 16,
                             column: 27,
                            },
                           },
                          },
                         ),
                         attribute_path: [
                          Raw(
                           PartRaw {
                            content: "mkOption",
                            span: Span {
                             start: Position {
                              line: 16,
                              column: 28,
                             },
                             end: Position {
                              line: 16,
                              column: 36,
                             },
                            },
                           },
                          ),
                         ],
                         default: None,
                        },
                       ),
                       arguments: [
                        Map(
                         Map {
                          recursive: false,
                          bindings: [
                           KeyValue(
                            BindingKeyValue {
                             from: [
                              Raw(
                               PartRaw {
                                content: "type",
                                span: Span {
                                 start: Position {
                                  line: 17,
                                  column: 9,
                                 },
                                 end: Position {
                                  line: 17,
                                  column: 13,
                                 },
                                },
                               },
                              ),
                             ],
                             to: PropertyAccess(
                              PropertyAccess {
                               expression: Identifier(
                                Identifier {
                                 id: "lib",
                                 span: Span {
                                  start: Position {
                                   line: 17,
                                   column: 16,
                                  },
                                  end: Position {
                                   line: 17,
                                   column: 19,
                                  },
                                 },
                                },
                               ),
                               attribute_path: [
                                Raw(
                                 PartRaw {
                                  content: "types",
                                  span: Span {
                                   start: Position {
                                    line: 17,
                                    column: 20,
                                   },
                                   end: Position {
                                    line: 17,
                                    column: 25,
                                   },
                                  },
                                 },
                                ),
                                Raw(
                                 PartRaw {
                                  content: "int",
                                  span: Span {
                                   start: Position {
                                    line: 17,
                                    column: 26,
                                   },
                                   end: Position {
                                    line: 17,
                                    column: 29,
                                   },
                                  },
                                 },
                                ),
                               ],
                               default: None,
                              },
                             ),
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 16,
                            column: 37,
                           },
                           end: Position {
                            line: 18,
                            column: 8,
                           },
                          },
                         },
                        ),
                       ],
                      },
                     ),
                    },
                   ),
                  ],
                  span: Span {
                   start: Position {
                    line: 15,
                    column: 26,
                   },
                   end: Position {
                    line: 19,
                    column: 6,
                   },
                  },
                 },
                ),
               ],
              },
             ),
             FunctionApplication(
              FunctionApplication {
               function: PropertyAccess(
                PropertyAccess {
                 expression: Identifier(
                  Identifier {
                   id: "lib",
                   span: Span {
                    start: Position {
                     line: 20,
                     column: 6,
                    },
                    end: Position {
                     line: 20,
                     column: 9,
                    },
                   },
                  },
                 ),
                 attribute_path: [
                  Raw(
                   PartRaw {
                    content: "types",
                    span: Span {
                     start: Position {
                      line: 20,
                      column: 10,
                     },
                     end: Position {
                      line: 20,
                      column: 15,
                     },
                    },
                   },
                  ),
                  Raw(
                   PartRaw {
                    content: "submodule",
                    span: Span {
                     start: Position {
                      line: 20,
                      column: 16,
                     },
                     end: Position {
                      line: 20,
                      column: 25,
                     },
                    },
                   },
                  ),
                 ],
                 default: None,
                },
               ),
               arguments: [
                Map(
                 Map {
                  recursive: false,
                  bindings: [
                   KeyValue(
                    BindingKeyValue {
                     from: [
                      Raw(
                       PartRaw {
                        content: "_file",
                        span: Span {
                         start: Position {
                          line: 21,
                          column: 7,
                         },
                         end: Position {
                          line: 21,
                          column: 12,
                         },
                        },
                       },
                      ),
                     ],
                     to: String(
                      String_ {
                       parts: [
                        Raw(
                         PartRaw {
                          content: "other.nix",
                          span: Span {
                           start: Position {
                            line: 21,
                            column: 16,
                           },
                           end: Position {
                            line: 21,
                            column: 25,
                           },
                          },
                         },
                        ),
                       ],
                       span: Span {
                        start: Position {
                         line: 21,
                         column: 15,
                        },
                        end: Position {
                         line: 21,
                         column: 26,
                        },
                       },
                      },
                     ),
                    },
                   ),
                   KeyValue(
                    BindingKeyValue {
                     from: [
                      Raw(
                       PartRaw {
                        content: "options",
                        span: Span {
                         start: Position {
                          line: 22,
                          column: 7,
                         },
                         end: Position {
                          line: 22,
                          column: 14,
                         },
                        },
                       },
                      ),
                      Raw(
                       PartRaw {
                        content: "nested",
                        span: Span {
                         start: Position {
                          line: 22,
                          column: 15,
                         },
                         end: Position {
                          line: 22,
                          column: 21,
                         },
                        },
                       },
                      ),
                     ],
                     to: FunctionApplication(
                      FunctionApplication {
                       function: PropertyAccess(
                        PropertyAccess {
                         expression: Identifier(
                          Identifier {
                           id: "lib",
                           span: Span {
                            start: Position {
                             line: 22,
                             column: 24,
                            },
                            end: Position {
                             line: 22,
                             column: 27,
                            },
                           },
                          },
                         ),
                         attribute_path: [
                          Raw(
                           PartRaw {
                            content: "mkOption",
                            span: Span {
                             start: Position {
                              line: 22,
                              column: 28,
                             },
                             end: Position {
                              line: 22,
                              column: 36,
                             },
                            },
                           },
                          ),
                         ],
                         default: None,
                        },
                       ),
                       arguments: [
                        Map(
                         Map {
                          recursive: false,
                          bindings: [
                           KeyValue(
                            BindingKeyValue {
                             from: [
                              Raw(
                               PartRaw {
                                content: "type",
                                span: Span {
                                 start: Position {
                                  line: 23,
                                  column: 9,
                                 },
                                 end: Position {
                                  line: 23,
                                  column: 13,
                                 },
                                },
                               },
                              ),
                             ],
                             to: PropertyAccess(
                              PropertyAccess {
                               expression: Identifier(
                                Identifier {
                                 id: "lib",
                                 span: Span {
                                  start: Position {
                                   line: 23,
                                   column: 16,
                                  },
                                  end: Position {
                                   line: 23,
                                   column: 19,
                                  },
                                 },
                                },
                               ),
                               attribute_path: [
                                Raw(
                                 PartRaw {
                                  content: "types",
                                  span: Span {
                                   start: Position {
                                    line: 23,
                                    column: 20,
                                   },
                                   end: Position {
                                    line: 23,
                                    column: 25,
                                   },
                                  },
                                 },
                                ),
                                Raw(
                                 PartRaw {
                                  content: "str",
                                  span: Span {
                                   start: Position {
                                    line: 23,
                                    column: 26,
                                   },
                                   end: Position {
                                    line: 23,
                                    column: 29,
                                   },
                                  },
                                 },
                                ),
                               ],
                               default: None,
                              },
                             ),
                            },
                           ),
                          ],
                          span: Span {
                           start: Position {
                            line: 22,
                            column: 37,
                           },
                           end: Position {
                            line: 24,
                            column: 8,
                           },
                          },
                         },
                        ),
                       ],
                      },
                     ),
                    },
                   ),
                  ],
                  span: Span {
                   start: Position {
                    line: 20,
                    column: 26,
                   },
                   end: Position {
                    line: 25,
                    column: 6,
                   },
                  },
                 },
                ),
               ],
              },
             ),
            ],
            span: Span {
             start: Position {
              line: 14,
              column: 32,
             },
             end: Position {
              line: 26,
              column: 4,
             },
            },
           },
          ),
         ],
        },
       ),
      },
     ),
    ],
    span: Span {
     start: Position {
      line: 1,
      column: 23,
     },
     end: Position {
      line: 28,
      column: 2,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 1,
    column: 1,
   },
   end: Position {
    line: 28,
    column: 2,
   },
  },
 },
)