Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
    ],
   },
  ),
  body: Map(
   Map {
    recursive: false,
    bindings: [
     KeyValue(
      BindingKeyValue {
       from: [
        Raw(
         PartRaw {
          content: "options",
          span: Span {
           start: Position {
            line: 2,
            column: 3,
           },
           end: Position {
            line: 2,
            column: 10,
           },
          },
         },
        ),
        Raw(
         PartRaw {
          content: "value",
          span: Span {
           start: Position {
            line: 2,
            column: 11,
           },
           end: Position {
            line: 2,
            column: 16,
           },
          },
         },
        ),
       ],
       to: FunctionApplication(
        FunctionApplication {
         function: PropertyAccess(
          PropertyAccess {
           expression: Identifier(
            Identifier {
             id: "lib",
             span: Span {
              start: Position {
               line: 2,
               column: 19,
              },
              end: Position {
               line: 2,
               column: 22,
              },
             },
            },
           ),
           attribute_path: [
            Raw(
             PartRaw {
              content: "mkOption",
              span: Span {
               start: Position {
                line: 2,
                column: 23,
               },
               end: Position {
                line: 2,
                column: 31,
               },
              },
             },
            ),
           ],
           default: None,
          },
         ),
         arguments: [
          Map(
           Map {
            recursive: false,
            bindings: [
             KeyValue(
              BindingKeyValue {
               from: [
                Raw(
                 PartRaw {
                  content: "type",
                  span: Span {
                   start: Position {
                    line: 3,
                    column: 5,
                   },
                   end: Position {
                    line: 3,
                    column: 9,
                   },
                  },
                 },
                ),
               ],
               to: FunctionApplication(
                FunctionApplication {
                 function: PropertyAccess(
                  PropertyAccess {
                   expression: Identifier(
                    Identifier {
                     id: "lib",
                     span: Span {
                      start: Position {
                       line: 3,
                       column: 12,
                      },
                      end: Position {
                       line: 3,
                       column: 15,
                      },
                     },
                    },
                   ),
                   attribute_path: [
                    Raw(
                     PartRaw {
                      content: "types",
                      span: Span {
                       start: Position {
                        line: 3,
                        column: 16,
                       },
                       end: Position {
                        line: 3,
                        column: 21,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "oneOf",
                      span: Span {
                       start: Position {
                        line: 3,
                        column: 22,
                       },
                       end: Position {
                        line: 3,
                        column: 27,
                       },
                      },
                     },
                    ),
                   ],
                   default: None,
                  },
                 ),
                 arguments: [
                  List(
                   List {
                    elements: [
                     PropertyAccess(
                      PropertyAccess {
                       expression: Identifier(
                        Identifier {
                         id: "lib",
                         span: Span {
                          start: Position {
                           line: 4,
                           column: 7,
                          },
                          end: Position {
                           line: 4,
                           column: 10,
                          },
                         },
                        },
                       ),
                       attribute_path: [
                        Raw(
                         PartRaw {
                          content: "types",
                          span: Span {
                           start: Position {
                            line: 4,
                            column: 11,
                           },
                           end: Position {
                            line: 4,
                            column: 16,
                           },
                          },
                         },
                        ),
                        Raw(
                         PartRaw {
                          content: "int",
                          span: Span {
                           start: Position {
                            line: 4,
                            column: 17,
                           },
                           end: Position {
                            line: 4,
                            column: 20,
                           },
                          },
                         },
                        ),
                       ],
                       default: None,
                      },
                     ),
                     FunctionApplication(
                      FunctionApplication {
                       function: PropertyAccess(
                        PropertyAccess {
                         expression: Identifier(
                          Identifier {
                           id: "lib",
                           span: Span {
                            start: Position {
                             line: 5,
                             column: 8,
                            },
                            end: Position {
                             line: 5,
                             column: 11,
                            },
                           },
                          },
                         ),
                         attribute_path: [
                          Raw(
                           PartRaw {
                            content: "types",
                            span: Span {
                             start: Position {
                              line: 5,
                              column: 12,
                             },
                             end: Position {
                              line: 5,
                              column: 17,
                             },
                            },
                           },
                          ),
                          Raw(
                           PartRaw {
                            content: "listOf",
                            span: Span {
                             start: Position {
                              line: 5,
                              column: 18,
                             },
                             end: Position {
                              line: 5,
                              column: 24,
                             },
                            },
                           },
                          ),
                         ],
                         default: None,
                        },
                       ),
                       arguments: [
                        PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "lib",
                            span: Span {
                             start: Position {
                              line: 5,
                              column: 25,
                             },
                             end: Position {
                              line: 5,
                              column: 28,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "types",
                             span: Span {
                              start: Position {
                               line: 5,
                               column: 29,
                              },
                              end: Position {
                               line: 5,
                               column: 34,
                              },
                             },
                            },
                           ),
                           Raw(
                            PartRaw {
                             content: "int",
                             span: Span {
                              start: Position {
                               line: 5,
                               column: 35,
                              },
                              end: Position {
                               line: 5,
                               column: 38,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       ],
                      },
                     ),
                     PropertyAccess(
                      PropertyAccess {
                       expression: Identifier(
                        Identifier {
                         id: "lib",
                         span: Span {
                          start: Position {
                           line: 6,
                           column: 7,
                          },
                          end: Position {
                           line: 6,
                           column: 10,
                          },
                         },
                        },
                       ),
                       attribute_path: [
                        Raw(
                         PartRaw {
                          content: "types",
                          span: Span {
                           start: Position {
                            line: 6,
                            column: 11,
                           },
                           end: Position {
                            line: 6,
                            column: 16,
                           },
                          },
                         },
                        ),
                        Raw(
                         PartRaw {
                          content: "str",
                          span: Span {
                           start: Position {
                            line: 6,
                            column: 17,
                           },
                           end: Position {
                            line: 6,
                            column: 20,
                           },
                          },
                         },
                        ),
                       ],
                       default: None,
                      },
                     ),
                    ],
                    span: Span {
                     start: Position {
                      line: 3,
                      column: 28,
                     },
                     end: Position {
                      line: 7,
                      column: 6,
                     },
                    },
                   },
                  ),
                 ],
                },
               ),
              },
             ),
            ],
            span: Span {
             start: Position {
              line: 2,
              column: 32,
             },
             end: Position {
              line: 8,
              column: 4,
             },
            },
           },
          ),
         ],
        },
       ),
      },
     ),
    ],
    span: Span {
     start: Position {
      line: 1,
      column: 15,
     },
     end: Position {
      line: 9,
      column: 2,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 1,
    column: 1,
   },
   end: Position {
    line: 9,
    column: 2,
   },
  },
 },
)