---
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: [
               Parentheses {
                expression: FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (7, 32),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "attrsOf",
                     position: (7, 38),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (7, 46),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "str",
                      position: (7, 52),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
                position: (7, 31),
               },
              ],
             },
            },
           ],
           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: Variable {
               identifier: "toString",
               position: (12, 17),
              },
              arguments: [
               Parentheses {
                expression: FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (12, 27),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "attrValues",
                     position: (12, 31),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  Parentheses {
                   expression: FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "config",
                      position: (12, 43),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "fun",
                        position: (12, 50),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     Map {
                      bindings: [
                       Binding {
                        from: AttributePath {
                         parts: [
                          Raw {
                           content: "a",
                           position: (13, 9),
                          },
                         ],
                        },
                        to: String {
                         parts: [
                          Raw {
                           content: "a",
                           position: (13, 14),
                          },
                         ],
                         position: (13, 13),
                        },
                       },
                       Binding {
                        from: AttributePath {
                         parts: [
                          Raw {
                           content: "b",
                           position: (14, 9),
                          },
                         ],
                        },
                        to: String {
                         parts: [
                          Raw {
                           content: "b",
                           position: (14, 14),
                          },
                         ],
                         position: (14, 13),
                        },
                       },
                       Binding {
                        from: AttributePath {
                         parts: [
                          Raw {
                           content: "c",
                           position: (15, 9),
                          },
                         ],
                        },
                        to: String {
                         parts: [
                          Raw {
                           content: "c",
                           position: (15, 14),
                          },
                         ],
                         position: (15, 13),
                        },
                       },
                      ],
                      recursive: false,
                      position: (12, 54),
                     },
                    ],
                   },
                   position: (12, 42),
                  },
                 ],
                },
                position: (12, 26),
               },
              ],
             },
            },
           ],
           recursive: false,
           position: (10, 27),
          },
         ],
        },
       },
      ],
      recursive: false,
      position: (5, 13),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "config",
        position: (20, 3),
       },
       Raw {
        content: "fun",
        position: (20, 10),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "lib",
        position: (20, 16),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "mkMerge",
          position: (20, 20),
         },
        ],
       },
       default: None,
      },
      arguments: [
       List {
        elements: [
         Parentheses {
          expression: Function {
           argument: Simple {
            identifier: "input",
           },
           definition: Map {
            bindings: [
             Inherit {
              from: Some(
               Variable {
                identifier: "input",
                position: (21, 24),
               },
              ),
              attributes: [
               Raw {
                content: "a",
                position: (21, 31),
               },
              ],
             },
            ],
            recursive: false,
            position: (21, 13),
           },
           position: (21, 6),
          },
          position: (21, 5),
         },
         Parentheses {
          expression: Function {
           argument: Simple {
            identifier: "input",
           },
           definition: Map {
            bindings: [
             Inherit {
              from: Some(
               Variable {
                identifier: "input",
                position: (22, 24),
               },
              ),
              attributes: [
               Raw {
                content: "b",
                position: (22, 31),
               },
              ],
             },
            ],
            recursive: false,
            position: (22, 13),
           },
           position: (22, 6),
          },
          position: (22, 5),
         },
         Parentheses {
          expression: Function {
           argument: Simple {
            identifier: "input",
           },
           definition: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "b",
                 position: (24, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "lib",
                 position: (24, 11),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "mkForce",
                   position: (24, 15),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "input",
                  position: (24, 23),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "c",
                    position: (24, 29),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             },
            ],
            recursive: false,
            position: (23, 13),
           },
           position: (23, 6),
          },
          position: (23, 5),
         },
        ],
        position: (20, 28),
       },
      ],
     },
    },
   ],
   recursive: false,
   position: (4, 4),
  },
  position: (2, 1),
 },
 position: (1, 1),
}