---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "config",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: Map {
  bindings: [
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "options",
       position: (2, 3),
      },
      Raw {
       content: "foo",
       position: (2, 11),
      },
     ],
    },
    FunctionApplication {
     function: PropertyAccess {
      expression: Variable {
       identifier: "lib",
       position: (2, 17),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "mkOption",
         position: (2, 21),
        },
       ],
      },
      default: None,
     },
     arguments: [
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "type",
            position: (3, 5),
           },
          ],
         },
         FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "lib",
            position: (3, 12),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "types",
              position: (3, 16),
             },
             Raw {
              content: "nullOr",
              position: (3, 22),
             },
            ],
           },
           default: None,
          },
          arguments: [
           PropertyAccess {
            expression: Variable {
             identifier: "lib",
             position: (3, 29),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "types",
               position: (3, 33),
              },
              Raw {
               content: "str",
               position: (3, 39),
              },
             ],
            },
            default: None,
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "default",
            position: (4, 5),
           },
          ],
         },
         Variable {
          identifier: "null",
          position: (4, 15),
         },
        ),
       ],
       recursive: false,
       position: (2, 30),
      },
     ],
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "config",
       position: (7, 3),
      },
      Raw {
       content: "foo",
       position: (7, 10),
      },
     ],
    },
    FunctionApplication {
     function: PropertyAccess {
      expression: Variable {
       identifier: "lib",
       position: (7, 16),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "mkIf",
         position: (7, 20),
        },
       ],
      },
      default: None,
     },
     arguments: [
      HasProperty {
       expression: Variable {
        identifier: "config",
        position: (7, 26),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "value",
          position: (7, 35),
         },
        ],
       },
       position: (7, 33),
      },
      PropertyAccess {
       expression: Variable {
        identifier: "config",
        position: (7, 42),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "value",
          position: (7, 49),
         },
        ],
       },
       default: None,
      },
     ],
    },
   ),
  ],
  recursive: false,
  position: (1, 23),
 },
 position: (1, 1),
}