---
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: (3, 12),
     },
    ),
    attributes: [
     Raw {
      content: "types",
      position: (3, 17),
     },
    ],
   },
  ],
  target: Map {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "options",
        position: (5, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "fun",
           position: (6, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (6, 11),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "mkOption",
             position: (6, 15),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Map {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "type",
                position: (7, 7),
               },
              ],
             },
             to: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (7, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "functionTo",
                  position: (7, 20),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (7, 31),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "str",
                   position: (7, 37),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            },
           ],
           recursive: false,
           position: (6, 24),
          },
         ],
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "result",
           position: (10, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (10, 14),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "mkOption",
             position: (10, 18),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Map {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "type",
                position: (11, 7),
               },
              ],
             },
             to: PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (11, 14),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "str",
                 position: (11, 20),
                },
               ],
              },
              default: None,
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "default",
                position: (12, 7),
               },
              ],
             },
             to: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "config",
                position: (12, 17),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "fun",
                  position: (12, 24),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               String {
                parts: [
                 Raw {
                  content: "input",
                  position: (12, 29),
                 },
                ],
                position: (12, 28),
               },
              ],
             },
            },
           ],
           recursive: false,
           position: (10, 27),
          },
         ],
        },
       },
      ],
      recursive: false,
      position: (5, 13),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "config",
        position: (16, 3),
       },
       Raw {
        content: "fun",
        position: (16, 10),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "input",
      },
      definition: String {
       parts: [
        Raw {
         content: "input is ",
         position: (16, 24),
        },
        Expression {
         expression: Variable {
          identifier: "input",
          position: (16, 35),
         },
        },
       ],
       position: (16, 23),
      },
      position: (16, 16),
     },
    },
   ],
   recursive: false,
   position: (4, 4),
  },
  position: (2, 1),
 },
 position: (1, 1),
}