---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "config",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: LetIn {
  bindings: [
   Inherit(
    Some(
     Variable {
      identifier: "lib",
      position: (4, 12),
     },
    ),
    [
     Raw {
      content: "types",
      position: (4, 17),
     },
    ],
   ),
  ],
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (6, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "fun",
           position: (7, 5),
          },
         ],
        },
        FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (7, 11),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "mkOption",
             position: (7, 15),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (8, 7),
               },
              ],
             },
             FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (8, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "functionTo",
                  position: (8, 20),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (8, 31),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "str",
                   position: (8, 37),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (7, 24),
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "result",
           position: (11, 5),
          },
         ],
        },
        FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (11, 14),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "mkOption",
             position: (11, 18),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (12, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (12, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "str",
                 position: (12, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (13, 7),
               },
              ],
             },
             FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "config",
                position: (13, 17),
               },
               attribute_path: AttributePath {
                attributes: [
                 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),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (17, 3),
       },
       Raw {
        content: "fun",
        position: (17, 10),
       },
      ],
     },
     Function {
      argument: Some(
       "input",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      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),
}