---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: LetIn {
  bindings: [
   Inherit {
    from: Some(
     Variable {
      identifier: "lib",
      position: (4, 12),
     },
    ),
    attributes: [
     Raw {
      content: "types",
      position: (4, 17),
     },
    ],
   },
  ],
  target: Map {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "options",
        position: (6, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "fun",
           position: (7, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (7, 11),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "mkOption",
             position: (7, 15),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Map {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "type",
                position: (8, 7),
               },
              ],
             },
             to: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (8, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "functionTo",
                  position: (8, 20),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (8, 31),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "str",
                   position: (8, 37),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            },
           ],
           recursive: false,
           position: (7, 24),
          },
         ],
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "result",
           position: (11, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (11, 14),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "mkOption",
             position: (11, 18),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Map {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "type",
                position: (12, 7),
               },
              ],
             },
             to: PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (12, 14),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "str",
                 position: (12, 20),
                },
               ],
              },
              default: None,
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "default",
                position: (13, 7),
               },
              ],
             },
             to: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "config",
                position: (13, 17),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "fun",
                  position: (13, 24),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               Int {
                value: 0,
                position: (13, 28),
               },
              ],
             },
            },
           ],
           recursive: false,
           position: (11, 27),
          },
         ],
        },
       },
      ],
      recursive: false,
      position: (6, 13),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "config",
        position: (17, 3),
       },
       Raw {
        content: "fun",
        position: (17, 10),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "input",
      },
      definition: BinaryOperation {
       operator: Addition,
       operands: [
        Variable {
         identifier: "input",
         position: (17, 23),
        },
        Int {
         value: 1,
         position: (17, 31),
        },
       ],
       position: (17, 29),
      },
      position: (17, 16),
     },
    },
   ],
   recursive: false,
   position: (5, 4),
  },
  position: (3, 1),
 },
 position: (2, 1),
}