Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 12, }, end: Position { line: 3, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 3, column: 17, }, end: Position { line: 3, column: 22, }, }, }, ), ], span: Span { start: Position { line: 2, column: 4, }, end: Position { line: 3, column: 23, }, }, }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 7, column: 11, }, end: Position { line: 7, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 7, column: 15, }, end: Position { line: 7, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 8, column: 7, }, end: Position { line: 8, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 8, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lazyAttrsOf", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 32, }, end: Position { line: 8, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 8, column: 38, }, end: Position { line: 8, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 24, }, end: Position { line: 9, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "list", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 10, column: 12, }, end: Position { line: 10, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 10, column: 16, }, end: Position { line: 10, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lazyAttrsOf", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 33, }, end: Position { line: 11, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 11, column: 39, }, end: Position { line: 11, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 46, }, end: Position { line: 11, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 11, column: 52, }, end: Position { line: 11, column: 55, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 25, }, end: Position { line: 12, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nonEmptyList", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 13, column: 24, }, end: Position { line: 13, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lazyAttrsOf", span: Span { start: Position { line: 14, column: 20, }, end: Position { line: 14, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 14, column: 33, }, end: Position { line: 14, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nonEmptyListOf", span: Span { start: Position { line: 14, column: 39, }, end: Position { line: 14, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 14, column: 54, }, end: Position { line: 14, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 14, column: 60, }, end: Position { line: 14, column: 63, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 13, column: 33, }, end: Position { line: 15, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 13, }, end: Position { line: 16, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 14, }, end: Position { line: 17, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lazyAttrsOf", span: Span { start: Position { line: 17, column: 20, }, end: Position { line: 17, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 33, }, end: Position { line: 17, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 17, column: 39, }, end: Position { line: 17, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 47, }, end: Position { line: 17, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 17, column: 53, }, end: Position { line: 17, column: 56, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 26, }, end: Position { line: 18, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "null", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 19, column: 12, }, end: Position { line: 19, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 14, }, end: Position { line: 20, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lazyAttrsOf", span: Span { start: Position { line: 20, column: 20, }, end: Position { line: 20, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 33, }, end: Position { line: 20, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 20, column: 39, }, end: Position { line: 20, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 46, }, end: Position { line: 20, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 20, column: 52, }, end: Position { line: 20, column: 55, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 21, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 22, column: 21, }, end: Position { line: 22, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 14, }, end: Position { line: 23, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lazyAttrsOf", span: Span { start: Position { line: 23, column: 20, }, end: Position { line: 23, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 33, }, end: Position { line: 23, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 23, column: 39, }, end: Position { line: 23, column: 48, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 23, column: 49, }, end: Position { line: 23, column: 51, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 30, }, end: Position { line: 24, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 13, }, end: Position { line: 25, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 27, column: 3, }, end: Position { line: 27, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 8, }, }, }, ), Raw( PartRaw { content: "a", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 13, }, end: Position { line: 28, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 28, column: 17, }, end: Position { line: 28, column: 21, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 28, column: 22, }, end: Position { line: 28, column: 27, }, }, }, ), Identifier( Identifier { id: "null", span: Span { start: Position { line: 28, column: 28, }, end: Position { line: 28, column: 32, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "list", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 9, }, }, }, ), Raw( PartRaw { content: "a", span: Span { start: Position { line: 29, column: 10, }, end: Position { line: 29, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 29, column: 14, }, end: Position { line: 29, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 29, column: 18, }, end: Position { line: 29, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 29, column: 23, }, end: Position { line: 29, column: 28, }, }, }, ), Identifier( Identifier { id: "null", span: Span { start: Position { line: 29, column: 29, }, end: Position { line: 29, column: 33, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nonEmptyList", span: Span { start: Position { line: 30, column: 5, }, end: Position { line: 30, column: 17, }, }, }, ), Raw( PartRaw { content: "a", span: Span { start: Position { line: 30, column: 18, }, end: Position { line: 30, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 30, column: 22, }, end: Position { line: 30, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 30, column: 26, }, end: Position { line: 30, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 30, column: 31, }, end: Position { line: 30, column: 36, }, }, }, ), Identifier( Identifier { id: "null", span: Span { start: Position { line: 30, column: 37, }, end: Position { line: 30, column: 41, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 10, }, }, }, ), Raw( PartRaw { content: "a", span: Span { start: Position { line: 31, column: 11, }, end: Position { line: 31, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 31, column: 15, }, end: Position { line: 31, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 31, column: 24, }, end: Position { line: 31, column: 29, }, }, }, ), Identifier( Identifier { id: "null", span: Span { start: Position { line: 31, column: 30, }, end: Position { line: 31, column: 34, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "null", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 9, }, }, }, ), Raw( PartRaw { content: "a", span: Span { start: Position { line: 32, column: 10, }, end: Position { line: 32, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 32, column: 14, }, end: Position { line: 32, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 32, column: 18, }, end: Position { line: 32, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 32, column: 23, }, end: Position { line: 32, column: 28, }, }, }, ), Identifier( Identifier { id: "null", span: Span { start: Position { line: 32, column: 29, }, end: Position { line: 32, column: 33, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 14, }, }, }, ), Raw( PartRaw { content: "a", span: Span { start: Position { line: 33, column: 15, }, end: Position { line: 33, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 33, column: 19, }, end: Position { line: 33, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 33, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 33, column: 28, }, end: Position { line: 33, column: 33, }, }, }, ), Identifier( Identifier { id: "null", span: Span { start: Position { line: 33, column: 34, }, end: Position { line: 33, column: 38, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 27, column: 12, }, end: Position { line: 34, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 4, column: 4, }, end: Position { line: 36, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 36, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 36, column: 2, }, }, }, )