---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: LetIn {
  bindings: [
   Inherit {
    from: Some(
     Variable {
      identifier: "lib",
      position: (3, 12),
     },
    ),
    attributes: [
     Raw {
      content: "mkOption",
      position: (3, 17),
     },
     Raw {
      content: "types",
      position: (3, 26),
     },
    ],
   },
  ],
  target: Map {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "options",
        position: (6, 3),
       },
       Raw {
        content: "bare-submodule",
        position: (6, 11),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "mkOption",
       position: (6, 28),
      },
      arguments: [
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "type",
             position: (7, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "types",
             position: (7, 12),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "submoduleWith",
               position: (7, 18),
              },
             ],
            },
            default: None,
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "shorthandOnlyDefinesConfig",
                  position: (8, 7),
                 },
                ],
               },
               to: PropertyAccess {
                expression: Variable {
                 identifier: "config",
                 position: (8, 36),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "shorthandOnlyDefinesConfig",
                   position: (8, 43),
                  },
                 ],
                },
                default: None,
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "modules",
                  position: (9, 7),
                 },
                ],
               },
               to: List {
                elements: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "options",
                       position: (11, 11),
                      },
                      Raw {
                       content: "nested",
                       position: (11, 19),
                      },
                     ],
                    },
                    to: FunctionApplication {
                     function: Variable {
                      identifier: "mkOption",
                      position: (11, 28),
                     },
                     arguments: [
                      Map {
                       bindings: [
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "type",
                            position: (12, 13),
                           },
                          ],
                         },
                         to: PropertyAccess {
                          expression: Variable {
                           identifier: "types",
                           position: (12, 20),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "int",
                             position: (12, 26),
                            },
                           ],
                          },
                          default: None,
                         },
                        },
                        Binding {
                         from: AttributePath {
                          parts: [
                           Raw {
                            content: "default",
                            position: (13, 13),
                           },
                          ],
                         },
                         to: Int {
                          value: 1,
                          position: (13, 23),
                         },
                        },
                       ],
                       recursive: false,
                       position: (11, 37),
                      },
                     ],
                    },
                   },
                  ],
                  recursive: false,
                  position: (10, 9),
                 },
                ],
                position: (9, 17),
               },
              },
             ],
             recursive: false,
             position: (7, 32),
            },
           ],
          },
         },
        ],
        recursive: false,
        position: (6, 37),
       },
      ],
     },
    },
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (2, 1),
 },
 position: (1, 1),
}