---
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: (2, 14),
     },
    ),
    attributes: [
     Raw {
      content: "types",
      position: (2, 19),
     },
     Raw {
      content: "mkOption",
      position: (2, 25),
     },
     Raw {
      content: "attrNames",
      position: (2, 34),
     },
    ],
   },
  ],
  target: Map {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "options",
        position: (5, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "attrs",
           position: (6, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (6, 13),
         },
         arguments: [
          Map {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "type",
                position: (6, 24),
               },
              ],
             },
             to: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (6, 31),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "attrsOf",
                  position: (6, 37),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "lib",
                 position: (6, 45),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "types",
                   position: (6, 49),
                  },
                  Raw {
                   content: "int",
                   position: (6, 55),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            },
           ],
           recursive: false,
           position: (6, 22),
          },
         ],
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "result",
           position: (7, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (7, 14),
         },
         arguments: [
          Map {
           bindings: [],
           recursive: false,
           position: (7, 23),
          },
         ],
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "resultFoo",
           position: (8, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (8, 17),
         },
         arguments: [
          Map {
           bindings: [],
           recursive: false,
           position: (8, 26),
          },
         ],
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "resultFooBar",
           position: (9, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (9, 20),
         },
         arguments: [
          Map {
           bindings: [],
           recursive: false,
           position: (9, 29),
          },
         ],
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "resultFooFoo",
           position: (10, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (10, 20),
         },
         arguments: [
          Map {
           bindings: [],
           recursive: false,
           position: (10, 29),
          },
         ],
        },
       },
      ],
      recursive: false,
      position: (5, 13),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "config",
        position: (12, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "attrs",
           position: (13, 5),
          },
          Raw {
           content: "a",
           position: (13, 11),
          },
         ],
        },
        to: Int {
         value: 1,
         position: (13, 15),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "variants",
           position: (14, 5),
          },
          Raw {
           content: "foo",
           position: (14, 14),
          },
          Raw {
           content: "attrs",
           position: (14, 18),
          },
          Raw {
           content: "b",
           position: (14, 24),
          },
         ],
        },
        to: Int {
         value: 1,
         position: (14, 28),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "variants",
           position: (15, 5),
          },
          Raw {
           content: "bar",
           position: (15, 14),
          },
          Raw {
           content: "attrs",
           position: (15, 18),
          },
          Raw {
           content: "y",
           position: (15, 24),
          },
         ],
        },
        to: Int {
         value: 1,
         position: (15, 28),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "variants",
           position: (16, 5),
          },
          Raw {
           content: "foo",
           position: (16, 14),
          },
          Raw {
           content: "variants",
           position: (16, 18),
          },
          Raw {
           content: "bar",
           position: (16, 27),
          },
          Raw {
           content: "attrs",
           position: (16, 31),
          },
          Raw {
           content: "z",
           position: (16, 37),
          },
         ],
        },
        to: Int {
         value: 1,
         position: (16, 41),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "variants",
           position: (17, 5),
          },
          Raw {
           content: "foo",
           position: (17, 14),
          },
          Raw {
           content: "variants",
           position: (17, 18),
          },
          Raw {
           content: "foo",
           position: (17, 27),
          },
          Raw {
           content: "attrs",
           position: (17, 31),
          },
          Raw {
           content: "c",
           position: (17, 37),
          },
         ],
        },
        to: Int {
         value: 3,
         position: (17, 41),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "resultFoo",
           position: (18, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (18, 17),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "concatMapStringsSep",
             position: (18, 21),
            },
           ],
          },
          default: None,
         },
         arguments: [
          String {
           parts: [
            Raw {
             content: " ",
             position: (18, 42),
            },
           ],
           position: (18, 41),
          },
          Variable {
           identifier: "toString",
           position: (18, 45),
          },
          Parentheses {
           expression: FunctionApplication {
            function: Variable {
             identifier: "attrNames",
             position: (18, 55),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (18, 65),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "variants",
                 position: (18, 72),
                },
                Raw {
                 content: "foo",
                 position: (18, 81),
                },
                Raw {
                 content: "attrs",
                 position: (18, 85),
                },
               ],
              },
              default: None,
             },
            ],
           },
           position: (18, 54),
          },
         ],
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "resultFooBar",
           position: (19, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (19, 20),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "concatMapStringsSep",
             position: (19, 24),
            },
           ],
          },
          default: None,
         },
         arguments: [
          String {
           parts: [
            Raw {
             content: " ",
             position: (19, 45),
            },
           ],
           position: (19, 44),
          },
          Variable {
           identifier: "toString",
           position: (19, 48),
          },
          Parentheses {
           expression: FunctionApplication {
            function: Variable {
             identifier: "attrNames",
             position: (19, 58),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (19, 68),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "variants",
                 position: (19, 75),
                },
                Raw {
                 content: "foo",
                 position: (19, 84),
                },
                Raw {
                 content: "variants",
                 position: (19, 88),
                },
                Raw {
                 content: "bar",
                 position: (19, 97),
                },
                Raw {
                 content: "attrs",
                 position: (19, 101),
                },
               ],
              },
              default: None,
             },
            ],
           },
           position: (19, 57),
          },
         ],
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "resultFooFoo",
           position: (20, 5),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (20, 20),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "concatMapStringsSep",
             position: (20, 24),
            },
           ],
          },
          default: None,
         },
         arguments: [
          String {
           parts: [
            Raw {
             content: " ",
             position: (20, 45),
            },
           ],
           position: (20, 44),
          },
          Variable {
           identifier: "toString",
           position: (20, 48),
          },
          Parentheses {
           expression: FunctionApplication {
            function: Variable {
             identifier: "attrNames",
             position: (20, 58),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (20, 68),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "variants",
                 position: (20, 75),
                },
                Raw {
                 content: "foo",
                 position: (20, 84),
                },
                Raw {
                 content: "variants",
                 position: (20, 88),
                },
                Raw {
                 content: "foo",
                 position: (20, 97),
                },
                Raw {
                 content: "attrs",
                 position: (20, 101),
                },
               ],
              },
              default: None,
             },
            ],
           },
           position: (20, 57),
          },
         ],
        },
       },
      ],
      recursive: false,
      position: (12, 12),
     },
    },
   ],
   recursive: false,
   position: (4, 1),
  },
  position: (2, 1),
 },
 position: (1, 1),
}