Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "config",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "pkgs",
      default: None,
     },
    ],
   },
  ),
  body: With(
   With {
    expression: Identifier(
     Identifier {
      id: "lib",
      span: Span {
       start: Position {
        line: 3,
        column: 6,
       },
       end: Position {
        line: 3,
        column: 9,
       },
      },
     },
    ),
    target: LetIn(
     LetIn {
      bindings: [
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "cfg",
            span: Span {
             start: Position {
              line: 6,
              column: 3,
             },
             end: Position {
              line: 6,
              column: 6,
             },
            },
           },
          ),
         ],
         to: PropertyAccess(
          PropertyAccess {
           expression: Identifier(
            Identifier {
             id: "config",
             span: Span {
              start: Position {
               line: 6,
               column: 9,
              },
              end: Position {
               line: 6,
               column: 15,
              },
             },
            },
           ),
           attribute_path: [
            Raw(
             PartRaw {
              content: "programs",
              span: Span {
               start: Position {
                line: 6,
                column: 16,
               },
               end: Position {
                line: 6,
                column: 24,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "vim",
              span: Span {
               start: Position {
                line: 6,
                column: 25,
               },
               end: Position {
                line: 6,
                column: 28,
               },
              },
             },
            ),
           ],
           default: None,
          },
         ),
        },
       ),
      ],
      target: Map(
       Map {
        recursive: false,
        bindings: [
         KeyValue(
          BindingKeyValue {
           from: [
            Raw(
             PartRaw {
              content: "options",
              span: Span {
               start: Position {
                line: 8,
                column: 3,
               },
               end: Position {
                line: 8,
                column: 10,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "programs",
              span: Span {
               start: Position {
                line: 8,
                column: 11,
               },
               end: Position {
                line: 8,
                column: 19,
               },
              },
             },
            ),
            Raw(
             PartRaw {
              content: "vim",
              span: Span {
               start: Position {
                line: 8,
                column: 20,
               },
               end: Position {
                line: 8,
                column: 23,
               },
              },
             },
            ),
           ],
           to: Map(
            Map {
             recursive: false,
             bindings: [
              KeyValue(
               BindingKeyValue {
                from: [
                 Raw(
                  PartRaw {
                   content: "defaultEditor",
                   span: Span {
                    start: Position {
                     line: 9,
                     column: 5,
                    },
                    end: Position {
                     line: 9,
                     column: 18,
                    },
                   },
                  },
                 ),
                ],
                to: FunctionApplication(
                 FunctionApplication {
                  function: Identifier(
                   Identifier {
                    id: "mkOption",
                    span: Span {
                     start: Position {
                      line: 9,
                      column: 21,
                     },
                     end: Position {
                      line: 9,
                      column: 29,
                     },
                    },
                   },
                  ),
                  arguments: [
                   Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "type",
                           span: Span {
                            start: Position {
                             line: 10,
                             column: 7,
                            },
                            end: Position {
                             line: 10,
                             column: 11,
                            },
                           },
                          },
                         ),
                        ],
                        to: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "types",
                            span: Span {
                             start: Position {
                              line: 10,
                              column: 14,
                             },
                             end: Position {
                              line: 10,
                              column: 19,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "bool",
                             span: Span {
                              start: Position {
                               line: 10,
                               column: 20,
                              },
                              end: Position {
                               line: 10,
                               column: 24,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "default",
                           span: Span {
                            start: Position {
                             line: 11,
                             column: 7,
                            },
                            end: Position {
                             line: 11,
                             column: 14,
                            },
                           },
                          },
                         ),
                        ],
                        to: Identifier(
                         Identifier {
                          id: "false",
                          span: Span {
                           start: Position {
                            line: 11,
                            column: 17,
                           },
                           end: Position {
                            line: 11,
                            column: 22,
                           },
                          },
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "description",
                           span: Span {
                            start: Position {
                             line: 12,
                             column: 7,
                            },
                            end: Position {
                             line: 12,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: PropertyAccess(
                           PropertyAccess {
                            expression: Identifier(
                             Identifier {
                              id: "lib",
                              span: Span {
                               start: Position {
                                line: 12,
                                column: 21,
                               },
                               end: Position {
                                line: 12,
                                column: 24,
                               },
                              },
                             },
                            ),
                            attribute_path: [
                             Raw(
                              PartRaw {
                               content: "mdDoc",
                               span: Span {
                                start: Position {
                                 line: 12,
                                 column: 25,
                                },
                                end: Position {
                                 line: 12,
                                 column: 30,
                                },
                               },
                              },
                             ),
                            ],
                            default: None,
                           },
                          ),
                          arguments: [
                           IndentedString(
                            IndentedString {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "When enabled, installs vim and configures vim to be the default editor\nusing the EDITOR environment variable.\n",
                                span: Span {
                                 start: Position {
                                  line: 13,
                                  column: 1,
                                 },
                                 end: Position {
                                  line: 15,
                                  column: 7,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 12,
                               column: 31,
                              },
                              end: Position {
                               line: 15,
                               column: 9,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 9,
                       column: 30,
                      },
                      end: Position {
                       line: 16,
                       column: 6,
                      },
                     },
                    },
                   ),
                  ],
                 },
                ),
               },
              ),
              KeyValue(
               BindingKeyValue {
                from: [
                 Raw(
                  PartRaw {
                   content: "package",
                   span: Span {
                    start: Position {
                     line: 18,
                     column: 5,
                    },
                    end: Position {
                     line: 18,
                     column: 12,
                    },
                   },
                  },
                 ),
                ],
                to: FunctionApplication(
                 FunctionApplication {
                  function: Identifier(
                   Identifier {
                    id: "mkOption",
                    span: Span {
                     start: Position {
                      line: 18,
                      column: 15,
                     },
                     end: Position {
                      line: 18,
                      column: 23,
                     },
                    },
                   },
                  ),
                  arguments: [
                   Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "type",
                           span: Span {
                            start: Position {
                             line: 19,
                             column: 7,
                            },
                            end: Position {
                             line: 19,
                             column: 11,
                            },
                           },
                          },
                         ),
                        ],
                        to: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "types",
                            span: Span {
                             start: Position {
                              line: 19,
                              column: 14,
                             },
                             end: Position {
                              line: 19,
                              column: 19,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "package",
                             span: Span {
                              start: Position {
                               line: 19,
                               column: 20,
                              },
                              end: Position {
                               line: 19,
                               column: 27,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "default",
                           span: Span {
                            start: Position {
                             line: 20,
                             column: 7,
                            },
                            end: Position {
                             line: 20,
                             column: 14,
                            },
                           },
                          },
                         ),
                        ],
                        to: PropertyAccess(
                         PropertyAccess {
                          expression: Identifier(
                           Identifier {
                            id: "pkgs",
                            span: Span {
                             start: Position {
                              line: 20,
                              column: 17,
                             },
                             end: Position {
                              line: 20,
                              column: 21,
                             },
                            },
                           },
                          ),
                          attribute_path: [
                           Raw(
                            PartRaw {
                             content: "vim",
                             span: Span {
                              start: Position {
                               line: 20,
                               column: 22,
                              },
                              end: Position {
                               line: 20,
                               column: 25,
                              },
                             },
                            },
                           ),
                          ],
                          default: None,
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "defaultText",
                           span: Span {
                            start: Position {
                             line: 21,
                             column: 7,
                            },
                            end: Position {
                             line: 21,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: Identifier(
                           Identifier {
                            id: "literalExpression",
                            span: Span {
                             start: Position {
                              line: 21,
                              column: 21,
                             },
                             end: Position {
                              line: 21,
                              column: 38,
                             },
                            },
                           },
                          ),
                          arguments: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "pkgs.vim",
                                span: Span {
                                 start: Position {
                                  line: 21,
                                  column: 40,
                                 },
                                 end: Position {
                                  line: 21,
                                  column: 48,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 21,
                               column: 39,
                              },
                              end: Position {
                               line: 21,
                               column: 49,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "example",
                           span: Span {
                            start: Position {
                             line: 22,
                             column: 7,
                            },
                            end: Position {
                             line: 22,
                             column: 14,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: Identifier(
                           Identifier {
                            id: "literalExpression",
                            span: Span {
                             start: Position {
                              line: 22,
                              column: 17,
                             },
                             end: Position {
                              line: 22,
                              column: 34,
                             },
                            },
                           },
                          ),
                          arguments: [
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "pkgs.vimHugeX",
                                span: Span {
                                 start: Position {
                                  line: 22,
                                  column: 36,
                                 },
                                 end: Position {
                                  line: 22,
                                  column: 49,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 22,
                               column: 35,
                              },
                              end: Position {
                               line: 22,
                               column: 50,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "description",
                           span: Span {
                            start: Position {
                             line: 23,
                             column: 7,
                            },
                            end: Position {
                             line: 23,
                             column: 18,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: PropertyAccess(
                           PropertyAccess {
                            expression: Identifier(
                             Identifier {
                              id: "lib",
                              span: Span {
                               start: Position {
                                line: 23,
                                column: 21,
                               },
                               end: Position {
                                line: 23,
                                column: 24,
                               },
                              },
                             },
                            ),
                            attribute_path: [
                             Raw(
                              PartRaw {
                               content: "mdDoc",
                               span: Span {
                                start: Position {
                                 line: 23,
                                 column: 25,
                                },
                                end: Position {
                                 line: 23,
                                 column: 30,
                                },
                               },
                              },
                             ),
                            ],
                            default: None,
                           },
                          ),
                          arguments: [
                           IndentedString(
                            IndentedString {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "vim package to use.\n",
                                span: Span {
                                 start: Position {
                                  line: 24,
                                  column: 1,
                                 },
                                 end: Position {
                                  line: 25,
                                  column: 7,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 23,
                               column: 31,
                              },
                              end: Position {
                               line: 25,
                               column: 9,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 18,
                       column: 24,
                      },
                      end: Position {
                       line: 26,
                       column: 6,
                      },
                     },
                    },
                   ),
                  ],
                 },
                ),
               },
              ),
             ],
             span: Span {
              start: Position {
               line: 8,
               column: 26,
              },
              end: Position {
               line: 27,
               column: 4,
              },
             },
            },
           ),
          },
         ),
         KeyValue(
          BindingKeyValue {
           from: [
            Raw(
             PartRaw {
              content: "config",
              span: Span {
               start: Position {
                line: 29,
                column: 3,
               },
               end: Position {
                line: 29,
                column: 9,
               },
              },
             },
            ),
           ],
           to: FunctionApplication(
            FunctionApplication {
             function: Identifier(
              Identifier {
               id: "mkIf",
               span: Span {
                start: Position {
                 line: 29,
                 column: 12,
                },
                end: Position {
                 line: 29,
                 column: 16,
                },
               },
              },
             ),
             arguments: [
              PropertyAccess(
               PropertyAccess {
                expression: Identifier(
                 Identifier {
                  id: "cfg",
                  span: Span {
                   start: Position {
                    line: 29,
                    column: 17,
                   },
                   end: Position {
                    line: 29,
                    column: 20,
                   },
                  },
                 },
                ),
                attribute_path: [
                 Raw(
                  PartRaw {
                   content: "defaultEditor",
                   span: Span {
                    start: Position {
                     line: 29,
                     column: 21,
                    },
                    end: Position {
                     line: 29,
                     column: 34,
                    },
                   },
                  },
                 ),
                ],
                default: None,
               },
              ),
              Map(
               Map {
                recursive: false,
                bindings: [
                 KeyValue(
                  BindingKeyValue {
                   from: [
                    Raw(
                     PartRaw {
                      content: "environment",
                      span: Span {
                       start: Position {
                        line: 30,
                        column: 5,
                       },
                       end: Position {
                        line: 30,
                        column: 16,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "systemPackages",
                      span: Span {
                       start: Position {
                        line: 30,
                        column: 17,
                       },
                       end: Position {
                        line: 30,
                        column: 31,
                       },
                      },
                     },
                    ),
                   ],
                   to: List(
                    List {
                     elements: [
                      PropertyAccess(
                       PropertyAccess {
                        expression: Identifier(
                         Identifier {
                          id: "cfg",
                          span: Span {
                           start: Position {
                            line: 30,
                            column: 36,
                           },
                           end: Position {
                            line: 30,
                            column: 39,
                           },
                          },
                         },
                        ),
                        attribute_path: [
                         Raw(
                          PartRaw {
                           content: "package",
                           span: Span {
                            start: Position {
                             line: 30,
                             column: 40,
                            },
                            end: Position {
                             line: 30,
                             column: 47,
                            },
                           },
                          },
                         ),
                        ],
                        default: None,
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 30,
                       column: 34,
                      },
                      end: Position {
                       line: 30,
                       column: 49,
                      },
                     },
                    },
                   ),
                  },
                 ),
                 KeyValue(
                  BindingKeyValue {
                   from: [
                    Raw(
                     PartRaw {
                      content: "environment",
                      span: Span {
                       start: Position {
                        line: 31,
                        column: 5,
                       },
                       end: Position {
                        line: 31,
                        column: 16,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "variables",
                      span: Span {
                       start: Position {
                        line: 31,
                        column: 17,
                       },
                       end: Position {
                        line: 31,
                        column: 26,
                       },
                      },
                     },
                    ),
                   ],
                   to: Map(
                    Map {
                     recursive: false,
                     bindings: [
                      KeyValue(
                       BindingKeyValue {
                        from: [
                         Raw(
                          PartRaw {
                           content: "EDITOR",
                           span: Span {
                            start: Position {
                             line: 31,
                             column: 31,
                            },
                            end: Position {
                             line: 31,
                             column: 37,
                            },
                           },
                          },
                         ),
                        ],
                        to: FunctionApplication(
                         FunctionApplication {
                          function: Identifier(
                           Identifier {
                            id: "mkOverride",
                            span: Span {
                             start: Position {
                              line: 31,
                              column: 40,
                             },
                             end: Position {
                              line: 31,
                              column: 50,
                             },
                            },
                           },
                          ),
                          arguments: [
                           Integer(
                            Integer {
                             value: "900",
                             span: Span {
                              start: Position {
                               line: 31,
                               column: 51,
                              },
                              end: Position {
                               line: 31,
                               column: 54,
                              },
                             },
                            },
                           ),
                           String(
                            String_ {
                             parts: [
                              Raw(
                               PartRaw {
                                content: "vim",
                                span: Span {
                                 start: Position {
                                  line: 31,
                                  column: 56,
                                 },
                                 end: Position {
                                  line: 31,
                                  column: 59,
                                 },
                                },
                               },
                              ),
                             ],
                             span: Span {
                              start: Position {
                               line: 31,
                               column: 55,
                              },
                              end: Position {
                               line: 31,
                               column: 60,
                              },
                             },
                            },
                           ),
                          ],
                         },
                        ),
                       },
                      ),
                     ],
                     span: Span {
                      start: Position {
                       line: 31,
                       column: 29,
                      },
                      end: Position {
                       line: 31,
                       column: 63,
                      },
                     },
                    },
                   ),
                  },
                 ),
                ],
                span: Span {
                 start: Position {
                  line: 29,
                  column: 35,
                 },
                 end: Position {
                  line: 32,
                  column: 4,
                 },
                },
               },
              ),
             ],
            },
           ),
          },
         ),
        ],
        span: Span {
         start: Position {
          line: 7,
          column: 4,
         },
         end: Position {
          line: 33,
          column: 2,
         },
        },
       },
      ),
      span: Span {
       start: Position {
        line: 5,
        column: 1,
       },
       end: Position {
        line: 33,
        column: 2,
       },
      },
     },
    ),
    span: Span {
     start: Position {
      line: 3,
      column: 1,
     },
     end: Position {
      line: 33,
      column: 2,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 1,
    column: 1,
   },
   end: Position {
    line: 33,
    column: 2,
   },
  },
 },
)