Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 3, column: 14, }, end: Position { line: 3, column: 22, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "head", span: Span { start: Position { line: 3, column: 24, }, end: Position { line: 3, column: 28, }, }, }, ), Raw( PartRaw { content: "tail", span: Span { start: Position { line: 3, column: 29, }, end: Position { line: 3, column: 33, }, }, }, ), Raw( PartRaw { content: "isList", span: Span { start: Position { line: 3, column: 34, }, end: Position { line: 3, column: 40, }, }, }, ), Raw( PartRaw { content: "isAttrs", span: Span { start: Position { line: 3, column: 41, }, end: Position { line: 3, column: 48, }, }, }, ), Raw( PartRaw { content: "isInt", span: Span { start: Position { line: 3, column: 49, }, end: Position { line: 3, column: 54, }, }, }, ), Raw( PartRaw { content: "attrNames", span: Span { start: Position { line: 3, column: 55, }, end: Position { line: 3, column: 64, }, }, }, ), ], span: Span { start: Position { line: 2, column: 4, }, end: Position { line: 3, column: 65, }, }, }, ), ], target: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 7, column: 6, }, end: Position { line: 7, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lists", span: Span { start: Position { line: 7, column: 10, }, end: Position { line: 7, column: 15, }, }, }, ), ], default: None, }, ), target: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 8, column: 6, }, end: Position { line: 8, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsets", span: Span { start: Position { line: 8, column: 10, }, end: Position { line: 8, column: 18, }, }, }, ), ], default: None, }, ), target: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 6, }, end: Position { line: 9, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "strings", span: Span { start: Position { line: 9, column: 10, }, end: Position { line: 9, column: 17, }, }, }, ), ], default: None, }, ), target: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maybeEnv", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "default", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 15, column: 17, }, end: Position { line: 15, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getEnv", span: Span { start: Position { line: 15, column: 26, }, end: Position { line: 15, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 37, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "value", span: Span { start: Position { line: 16, column: 8, }, end: Position { line: 16, column: 13, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 19, }, }, }, ), }, ), then: Identifier( Identifier { id: "default", span: Span { start: Position { line: 16, column: 25, }, end: Position { line: 16, column: 32, }, }, }, ), else_: Identifier( Identifier { id: "value", span: Span { start: Position { line: 16, column: 38, }, end: Position { line: 16, column: 43, }, }, }, ), span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 43, }, }, }, ), span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 16, column: 43, }, }, }, ), span: Span { start: Position { line: 14, column: 20, }, end: Position { line: 16, column: 43, }, }, }, ), span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 16, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultMergeArg", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "y", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 18, column: 31, }, end: Position { line: 18, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isAttrs", span: Span { start: Position { line: 18, column: 40, }, end: Position { line: 18, column: 47, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "y", span: Span { start: Position { line: 18, column: 48, }, end: Position { line: 18, column: 49, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "y", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 6, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "y", span: Span { start: Position { line: 21, column: 6, }, end: Position { line: 21, column: 7, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 21, column: 8, }, end: Position { line: 21, column: 9, }, }, }, ), ], }, ), span: Span { start: Position { line: 18, column: 28, }, end: Position { line: 21, column: 10, }, }, }, ), span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 21, column: 10, }, }, }, ), span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 21, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultMerge", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "y", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 22, column: 24, }, end: Position { line: 22, column: 25, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "defaultMergeArg", span: Span { start: Position { line: 22, column: 30, }, end: Position { line: 22, column: 45, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 22, column: 46, }, end: Position { line: 22, column: 47, }, }, }, ), Identifier( Identifier { id: "y", span: Span { start: Position { line: 22, column: 48, }, end: Position { line: 22, column: 49, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 22, column: 21, }, end: Position { line: 22, column: 50, }, }, }, ), span: Span { start: Position { line: 22, column: 18, }, end: Position { line: 22, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "foldArgs", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "merger", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "init", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "arg", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "merger", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 22, }, }, }, ), arguments: [ Identifier( Identifier { id: "init", span: Span { start: Position { line: 24, column: 23, }, end: Position { line: 24, column: 27, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "defaultMergeArg", span: Span { start: Position { line: 24, column: 29, }, end: Position { line: 24, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "init", span: Span { start: Position { line: 24, column: 45, }, end: Position { line: 24, column: 49, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 24, column: 50, }, end: Position { line: 24, column: 51, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "base", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttrMerge", span: Span { start: Position { line: 26, column: 17, }, end: Position { line: 26, column: 29, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 26, column: 31, }, end: Position { line: 26, column: 39, }, }, }, ), ], span: Span { start: Position { line: 26, column: 30, }, end: Position { line: 26, column: 40, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 26, column: 41, }, end: Position { line: 26, column: 43, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 26, column: 45, }, end: Position { line: 26, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "arg", span: Span { start: Position { line: 26, column: 47, }, end: Position { line: 26, column: 50, }, }, }, ), ], }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "z", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "z", span: Span { start: Position { line: 27, column: 30, }, end: Position { line: 27, column: 31, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "function", span: Span { start: Position { line: 28, column: 29, }, end: Position { line: 28, column: 37, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldArgs", span: Span { start: Position { line: 28, column: 40, }, end: Position { line: 28, column: 48, }, }, }, ), arguments: [ Identifier( Identifier { id: "merger", span: Span { start: Position { line: 28, column: 49, }, end: Position { line: 28, column: 55, }, }, }, ), Identifier( Identifier { id: "f", span: Span { start: Position { line: 28, column: 56, }, end: Position { line: 28, column: 57, }, }, }, ), Identifier( Identifier { id: "arg", span: Span { start: Position { line: 28, column: 58, }, end: Position { line: 28, column: 61, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "args", span: Span { start: Position { line: 29, column: 29, }, end: Position { line: 29, column: 33, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 29, column: 37, }, end: Position { line: 29, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrByPath", span: Span { start: Position { line: 29, column: 41, }, end: Position { line: 29, column: 51, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 29, column: 54, }, end: Position { line: 29, column: 62, }, }, }, ), ], span: Span { start: Position { line: 29, column: 53, }, end: Position { line: 29, column: 63, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "args", span: Span { start: Position { line: 29, column: 65, }, end: Position { line: 29, column: 69, }, }, }, ), ], span: Span { start: Position { line: 29, column: 64, }, end: Position { line: 29, column: 70, }, }, }, ), ], span: Span { start: Position { line: 29, column: 52, }, end: Position { line: 29, column: 71, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 29, column: 72, }, end: Position { line: 29, column: 74, }, }, }, ), Identifier( Identifier { id: "z", span: Span { start: Position { line: 29, column: 75, }, end: Position { line: 29, column: 76, }, }, }, ), ], }, ), operator: Update, right: Identifier( Identifier { id: "x", span: Span { start: Position { line: 29, column: 81, }, end: Position { line: 29, column: 82, }, }, }, ), }, ), }, ), ], span: Span { start: Position { line: 27, column: 35, }, end: Position { line: 30, column: 28, }, }, }, ), }, ), span: Span { start: Position { line: 27, column: 27, }, end: Position { line: 30, column: 28, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withStdOverrides", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 25, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "base", span: Span { start: Position { line: 31, column: 28, }, end: Position { line: 31, column: 32, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "override", span: Span { start: Position { line: 32, column: 11, }, end: Position { line: 32, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "base", span: Span { start: Position { line: 32, column: 22, }, end: Position { line: 32, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 32, column: 27, }, end: Position { line: 32, column: 35, }, }, }, ), Raw( PartRaw { content: "function", span: Span { start: Position { line: 32, column: 36, }, end: Position { line: 32, column: 44, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 31, column: 36, }, end: Position { line: 33, column: 10, }, }, }, ), }, ), }, ), ], target: Identifier( Identifier { id: "withStdOverrides", span: Span { start: Position { line: 35, column: 11, }, end: Position { line: 35, column: 27, }, }, }, ), span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 35, column: 27, }, }, }, ), span: Span { start: Position { line: 23, column: 31, }, end: Position { line: 35, column: 27, }, }, }, ), span: Span { start: Position { line: 23, column: 25, }, end: Position { line: 35, column: 27, }, }, }, ), span: Span { start: Position { line: 23, column: 22, }, end: Position { line: 35, column: 27, }, }, }, ), span: Span { start: Position { line: 23, column: 14, }, end: Position { line: 35, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maybeAttrNullable", span: Span { start: Position { line: 39, column: 3, }, end: Position { line: 39, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "maybeAttr", span: Span { start: Position { line: 39, column: 23, }, end: Position { line: 39, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maybeAttr", span: Span { start: Position { line: 42, column: 3, }, end: Position { line: 42, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "default", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 42, column: 37, }, end: Position { line: 42, column: 42, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 42, column: 45, }, end: Position { line: 42, column: 49, }, }, }, ), }, ), ], default: Some( Identifier( Identifier { id: "default", span: Span { start: Position { line: 42, column: 54, }, end: Position { line: 42, column: 61, }, }, }, ), ), }, ), span: Span { start: Position { line: 42, column: 30, }, end: Position { line: 42, column: 61, }, }, }, ), span: Span { start: Position { line: 42, column: 21, }, end: Position { line: 42, column: 61, }, }, }, ), span: Span { start: Position { line: 42, column: 15, }, end: Position { line: 42, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ifEnable", span: Span { start: Position { line: 47, column: 3, }, end: Position { line: 47, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "cond", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "val", }, ), body: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "cond", span: Span { start: Position { line: 48, column: 8, }, end: Position { line: 48, column: 12, }, }, }, ), then: Identifier( Identifier { id: "val", span: Span { start: Position { line: 48, column: 18, }, end: Position { line: 48, column: 21, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 49, column: 13, }, end: Position { line: 49, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isList", span: Span { start: Position { line: 49, column: 22, }, end: Position { line: 49, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "val", span: Span { start: Position { line: 49, column: 29, }, end: Position { line: 49, column: 32, }, }, }, ), ], }, ), then: List( List { elements: [], span: Span { start: Position { line: 49, column: 38, }, end: Position { line: 49, column: 40, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 50, column: 13, }, end: Position { line: 50, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isAttrs", span: Span { start: Position { line: 50, column: 22, }, end: Position { line: 50, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "val", span: Span { start: Position { line: 50, column: 30, }, end: Position { line: 50, column: 33, }, }, }, ), ], }, ), then: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 50, column: 39, }, end: Position { line: 50, column: 41, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "val", span: Span { start: Position { line: 52, column: 13, }, end: Position { line: 52, column: 16, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "true", span: Span { start: Position { line: 52, column: 20, }, end: Position { line: 52, column: 24, }, }, }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "val", span: Span { start: Position { line: 52, column: 28, }, end: Position { line: 52, column: 31, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "false", span: Span { start: Position { line: 52, column: 35, }, end: Position { line: 52, column: 40, }, }, }, ), }, ), }, ), then: Identifier( Identifier { id: "false", span: Span { start: Position { line: 52, column: 46, }, end: Position { line: 52, column: 51, }, }, }, ), else_: Identifier( Identifier { id: "null", span: Span { start: Position { line: 53, column: 10, }, end: Position { line: 53, column: 14, }, }, }, ), span: Span { start: Position { line: 52, column: 10, }, end: Position { line: 53, column: 14, }, }, }, ), span: Span { start: Position { line: 50, column: 10, }, end: Position { line: 53, column: 14, }, }, }, ), span: Span { start: Position { line: 49, column: 10, }, end: Position { line: 53, column: 14, }, }, }, ), span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 53, column: 14, }, }, }, ), span: Span { start: Position { line: 47, column: 20, }, end: Position { line: 53, column: 14, }, }, }, ), span: Span { start: Position { line: 47, column: 14, }, end: Position { line: 53, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkFlag", span: Span { start: Position { line: 57, column: 3, }, end: Position { line: 57, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrSet", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 58, column: 12, }, end: Position { line: 58, column: 16, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "true", span: Span { start: Position { line: 58, column: 21, }, end: Position { line: 58, column: 25, }, }, }, ), ], span: Span { start: Position { line: 58, column: 20, }, end: Position { line: 58, column: 26, }, }, }, ), }, ), then: Identifier( Identifier { id: "true", span: Span { start: Position { line: 58, column: 32, }, end: Position { line: 58, column: 36, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 59, column: 12, }, end: Position { line: 59, column: 16, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "false", span: Span { start: Position { line: 59, column: 21, }, end: Position { line: 59, column: 26, }, }, }, ), ], span: Span { start: Position { line: 59, column: 20, }, end: Position { line: 59, column: 27, }, }, }, ), }, ), then: Identifier( Identifier { id: "false", span: Span { start: Position { line: 59, column: 33, }, end: Position { line: 59, column: 38, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 60, column: 13, }, end: Position { line: 60, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 60, column: 18, }, end: Position { line: 60, column: 22, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrByPath", span: Span { start: Position { line: 60, column: 24, }, end: Position { line: 60, column: 34, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "flags", span: Span { start: Position { line: 60, column: 37, }, end: Position { line: 60, column: 42, }, }, }, ), ], span: Span { start: Position { line: 60, column: 36, }, end: Position { line: 60, column: 43, }, }, }, ), ], span: Span { start: Position { line: 60, column: 35, }, end: Position { line: 60, column: 44, }, }, }, ), List( List { elements: [], span: Span { start: Position { line: 60, column: 45, }, end: Position { line: 60, column: 47, }, }, }, ), Identifier( Identifier { id: "attrSet", span: Span { start: Position { line: 60, column: 48, }, end: Position { line: 60, column: 55, }, }, }, ), ], }, ), ], }, ), then: Identifier( Identifier { id: "true", span: Span { start: Position { line: 60, column: 63, }, end: Position { line: 60, column: 67, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrByPath", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 19, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 61, column: 21, }, end: Position { line: 61, column: 25, }, }, }, ), ], span: Span { start: Position { line: 61, column: 20, }, end: Position { line: 61, column: 26, }, }, }, ), Identifier( Identifier { id: "false", span: Span { start: Position { line: 61, column: 27, }, end: Position { line: 61, column: 32, }, }, }, ), Identifier( Identifier { id: "attrSet", span: Span { start: Position { line: 61, column: 33, }, end: Position { line: 61, column: 40, }, }, }, ), ], }, ), span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 61, column: 40, }, }, }, ), span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 61, column: 40, }, }, }, ), span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 61, column: 40, }, }, }, ), span: Span { start: Position { line: 57, column: 24, }, end: Position { line: 61, column: 40, }, }, }, ), span: Span { start: Position { line: 57, column: 15, }, end: Position { line: 61, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "getValue", span: Span { start: Position { line: 66, column: 3, }, end: Position { line: 66, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrSet", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "argList", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrByPath", span: Span { start: Position { line: 67, column: 5, }, end: Position { line: 67, column: 15, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 67, column: 17, }, end: Position { line: 67, column: 21, }, }, }, ), ], span: Span { start: Position { line: 67, column: 16, }, end: Position { line: 67, column: 22, }, }, }, ), IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "checkFlag", span: Span { start: Position { line: 67, column: 27, }, end: Position { line: 67, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrSet", span: Span { start: Position { line: 67, column: 37, }, end: Position { line: 67, column: 44, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 67, column: 45, }, end: Position { line: 67, column: 49, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "true", span: Span { start: Position { line: 67, column: 55, }, end: Position { line: 67, column: 59, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "argList", span: Span { start: Position { line: 68, column: 12, }, end: Position { line: 68, column: 19, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 68, column: 23, }, end: Position { line: 68, column: 25, }, }, }, ), }, ), then: Identifier( Identifier { id: "null", span: Span { start: Position { line: 68, column: 31, }, end: Position { line: 68, column: 35, }, }, }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "x", span: Span { start: Position { line: 69, column: 13, }, end: Position { line: 69, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 69, column: 17, }, end: Position { line: 69, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "head", span: Span { start: Position { line: 69, column: 26, }, end: Position { line: 69, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "argList", span: Span { start: Position { line: 69, column: 31, }, end: Position { line: 69, column: 38, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 70, column: 21, }, end: Position { line: 70, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 70, column: 26, }, end: Position { line: 70, column: 27, }, }, }, ), ], }, ), operator: EqualTo, right: Identifier( Identifier { id: "name", span: Span { start: Position { line: 70, column: 32, }, end: Position { line: 70, column: 36, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 71, column: 26, }, end: Position { line: 71, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 71, column: 32, }, end: Position { line: 71, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 71, column: 37, }, end: Position { line: 71, column: 38, }, }, }, ), ], }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getValue", span: Span { start: Position { line: 72, column: 23, }, end: Position { line: 72, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrSet", span: Span { start: Position { line: 72, column: 32, }, end: Position { line: 72, column: 39, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 73, column: 26, }, end: Position { line: 73, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "argList", span: Span { start: Position { line: 73, column: 31, }, end: Position { line: 73, column: 38, }, }, }, ), ], }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 73, column: 40, }, end: Position { line: 73, column: 44, }, }, }, ), ], }, ), span: Span { start: Position { line: 70, column: 17, }, end: Position { line: 73, column: 45, }, }, }, ), span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 73, column: 45, }, }, }, ), span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 73, column: 45, }, }, }, ), span: Span { start: Position { line: 67, column: 24, }, end: Position { line: 73, column: 45, }, }, }, ), Identifier( Identifier { id: "attrSet", span: Span { start: Position { line: 73, column: 47, }, end: Position { line: 73, column: 54, }, }, }, ), ], }, ), span: Span { start: Position { line: 66, column: 32, }, end: Position { line: 73, column: 56, }, }, }, ), span: Span { start: Position { line: 66, column: 23, }, end: Position { line: 73, column: 56, }, }, }, ), span: Span { start: Position { line: 66, column: 14, }, end: Position { line: 73, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkReqs", span: Span { start: Position { line: 78, column: 3, }, end: Position { line: 78, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrSet", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "argList", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "condList", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldr", span: Span { start: Position { line: 80, column: 5, }, end: Position { line: 80, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 80, column: 11, }, end: Position { line: 80, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "and", span: Span { start: Position { line: 80, column: 15, }, end: Position { line: 80, column: 18, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "true", span: Span { start: Position { line: 80, column: 19, }, end: Position { line: 80, column: 23, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 81, column: 8, }, end: Position { line: 81, column: 11, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 81, column: 20, }, end: Position { line: 81, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 81, column: 28, }, end: Position { line: 81, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 81, column: 33, }, end: Position { line: 81, column: 34, }, }, }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "checkFlag", span: Span { start: Position { line: 83, column: 11, }, end: Position { line: 83, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrSet", span: Span { start: Position { line: 83, column: 21, }, end: Position { line: 83, column: 28, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 83, column: 29, }, end: Position { line: 83, column: 33, }, }, }, ), ], }, ), operator: Implication, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldr", span: Span { start: Position { line: 84, column: 10, }, end: Position { line: 84, column: 15, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 84, column: 16, }, end: Position { line: 84, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "and", span: Span { start: Position { line: 84, column: 20, }, end: Position { line: 84, column: 23, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "true", span: Span { start: Position { line: 84, column: 24, }, end: Position { line: 84, column: 28, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 85, column: 10, }, end: Position { line: 85, column: 13, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "y", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 85, column: 22, }, end: Position { line: 85, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getValue", span: Span { start: Position { line: 85, column: 27, }, end: Position { line: 85, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrSet", span: Span { start: Position { line: 85, column: 36, }, end: Position { line: 85, column: 43, }, }, }, ), Identifier( Identifier { id: "argList", span: Span { start: Position { line: 85, column: 44, }, end: Position { line: 85, column: 51, }, }, }, ), Identifier( Identifier { id: "y", span: Span { start: Position { line: 85, column: 52, }, end: Position { line: 85, column: 53, }, }, }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "val", span: Span { start: Position { line: 86, column: 18, }, end: Position { line: 86, column: 21, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 86, column: 23, }, end: Position { line: 86, column: 27, }, }, }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "val", span: Span { start: Position { line: 86, column: 33, }, end: Position { line: 86, column: 36, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "false", span: Span { start: Position { line: 86, column: 38, }, end: Position { line: 86, column: 43, }, }, }, ), }, ), }, ), span: Span { start: Position { line: 85, column: 18, }, end: Position { line: 86, column: 44, }, }, }, ), span: Span { start: Position { line: 85, column: 15, }, end: Position { line: 86, column: 44, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 87, column: 10, }, end: Position { line: 87, column: 14, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 87, column: 15, }, end: Position { line: 87, column: 16, }, }, }, ), ], }, ), ], }, ), ], }, ), }, ), span: Span { start: Position { line: 81, column: 16, }, end: Position { line: 87, column: 20, }, }, }, ), span: Span { start: Position { line: 81, column: 13, }, end: Position { line: 87, column: 20, }, }, }, ), Identifier( Identifier { id: "condList", span: Span { start: Position { line: 87, column: 22, }, end: Position { line: 87, column: 30, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 78, column: 33, }, end: Position { line: 87, column: 32, }, }, }, ), span: Span { start: Position { line: 78, column: 24, }, end: Position { line: 87, column: 32, }, }, }, ), span: Span { start: Position { line: 78, column: 15, }, end: Position { line: 87, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uniqList", span: Span { start: Position { line: 91, column: 3, }, end: Position { line: 91, column: 11, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "inputList", default: None, }, FunctionHeadDestructuredArgument { identifier: "acc", default: Some( List( List { elements: [], span: Span { start: Position { line: 91, column: 33, }, end: Position { line: 91, column: 35, }, }, }, ), ), }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "go", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "xs", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "acc", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "xs", span: Span { start: Position { line: 93, column: 17, }, end: Position { line: 93, column: 19, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 93, column: 23, }, end: Position { line: 93, column: 25, }, }, }, ), }, ), then: List( List { elements: [], span: Span { start: Position { line: 94, column: 19, }, end: Position { line: 94, column: 21, }, }, }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "x", span: Span { start: Position { line: 95, column: 23, }, end: Position { line: 95, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 95, column: 27, }, end: Position { line: 95, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "xs", span: Span { start: Position { line: 95, column: 32, }, end: Position { line: 95, column: 34, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "y", span: Span { start: Position { line: 96, column: 23, }, end: Position { line: 96, column: 24, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 96, column: 30, }, end: Position { line: 96, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 96, column: 35, }, end: Position { line: 96, column: 36, }, }, }, ), Identifier( Identifier { id: "acc", span: Span { start: Position { line: 96, column: 37, }, end: Position { line: 96, column: 40, }, }, }, ), ], }, ), then: List( List { elements: [], span: Span { start: Position { line: 96, column: 46, }, end: Position { line: 96, column: 48, }, }, }, ), else_: List( List { elements: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 96, column: 55, }, end: Position { line: 96, column: 56, }, }, }, ), ], span: Span { start: Position { line: 96, column: 54, }, end: Position { line: 96, column: 57, }, }, }, ), span: Span { start: Position { line: 96, column: 27, }, end: Position { line: 96, column: 57, }, }, }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "y", span: Span { start: Position { line: 97, column: 22, }, end: Position { line: 97, column: 23, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "go", span: Span { start: Position { line: 97, column: 27, }, end: Position { line: 97, column: 29, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 97, column: 31, }, end: Position { line: 97, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "xs", span: Span { start: Position { line: 97, column: 36, }, end: Position { line: 97, column: 38, }, }, }, ), ], }, ), BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "y", span: Span { start: Position { line: 97, column: 41, }, end: Position { line: 97, column: 42, }, }, }, ), operator: Concatenation, right: Identifier( Identifier { id: "acc", span: Span { start: Position { line: 97, column: 46, }, end: Position { line: 97, column: 49, }, }, }, ), }, ), ], }, ), }, ), span: Span { start: Position { line: 95, column: 19, }, end: Position { line: 97, column: 50, }, }, }, ), span: Span { start: Position { line: 93, column: 14, }, end: Position { line: 97, column: 50, }, }, }, ), span: Span { start: Position { line: 92, column: 18, }, end: Position { line: 97, column: 50, }, }, }, ), span: Span { start: Position { line: 92, column: 14, }, end: Position { line: 97, column: 50, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "go", span: Span { start: Position { line: 98, column: 8, }, end: Position { line: 98, column: 10, }, }, }, ), arguments: [ Identifier( Identifier { id: "inputList", span: Span { start: Position { line: 98, column: 11, }, end: Position { line: 98, column: 20, }, }, }, ), Identifier( Identifier { id: "acc", span: Span { start: Position { line: 98, column: 21, }, end: Position { line: 98, column: 24, }, }, }, ), ], }, ), span: Span { start: Position { line: 92, column: 5, }, end: Position { line: 98, column: 24, }, }, }, ), span: Span { start: Position { line: 91, column: 14, }, end: Position { line: 98, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uniqListExt", span: Span { start: Position { line: 100, column: 3, }, end: Position { line: 100, column: 14, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "inputList", default: None, }, FunctionHeadDestructuredArgument { identifier: "outputList", default: Some( List( List { elements: [], span: Span { start: Position { line: 101, column: 32, }, end: Position { line: 101, column: 34, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "getter", default: Some( Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Identifier( Identifier { id: "x", span: Span { start: Position { line: 102, column: 32, }, end: Position { line: 102, column: 33, }, }, }, ), span: Span { start: Position { line: 102, column: 29, }, end: Position { line: 102, column: 33, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "compare", default: Some( Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "y", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 103, column: 36, }, end: Position { line: 103, column: 37, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "y", span: Span { start: Position { line: 103, column: 39, }, end: Position { line: 103, column: 40, }, }, }, ), }, ), span: Span { start: Position { line: 103, column: 33, }, end: Position { line: 103, column: 40, }, }, }, ), span: Span { start: Position { line: 103, column: 30, }, end: Position { line: 103, column: 40, }, }, }, ), ), }, ], }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "inputList", span: Span { start: Position { line: 104, column: 12, }, end: Position { line: 104, column: 21, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 104, column: 25, }, end: Position { line: 104, column: 27, }, }, }, ), }, ), then: Identifier( Identifier { id: "outputList", span: Span { start: Position { line: 104, column: 33, }, end: Position { line: 104, column: 43, }, }, }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "x", span: Span { start: Position { line: 105, column: 13, }, end: Position { line: 105, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 105, column: 17, }, end: Position { line: 105, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "inputList", span: Span { start: Position { line: 105, column: 22, }, end: Position { line: 105, column: 31, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isX", span: Span { start: Position { line: 106, column: 13, }, end: Position { line: 106, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "y", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "compare", span: Span { start: Position { line: 106, column: 23, }, end: Position { line: 106, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getter", span: Span { start: Position { line: 106, column: 32, }, end: Position { line: 106, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "y", span: Span { start: Position { line: 106, column: 39, }, end: Position { line: 106, column: 40, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getter", span: Span { start: Position { line: 106, column: 43, }, end: Position { line: 106, column: 49, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 106, column: 50, }, end: Position { line: 106, column: 51, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 106, column: 19, }, end: Position { line: 106, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "newOutputList", span: Span { start: Position { line: 107, column: 13, }, end: Position { line: 107, column: 26, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "outputList", span: Span { start: Position { line: 107, column: 29, }, end: Position { line: 107, column: 39, }, }, }, ), operator: Concatenation, right: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "any", span: Span { start: Position { line: 108, column: 21, }, end: Position { line: 108, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "isX", span: Span { start: Position { line: 108, column: 25, }, end: Position { line: 108, column: 28, }, }, }, ), Identifier( Identifier { id: "outputList", span: Span { start: Position { line: 108, column: 29, }, end: Position { line: 108, column: 39, }, }, }, ), ], }, ), then: List( List { elements: [], span: Span { start: Position { line: 108, column: 45, }, end: Position { line: 108, column: 47, }, }, }, ), else_: List( List { elements: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 108, column: 54, }, end: Position { line: 108, column: 55, }, }, }, ), ], span: Span { start: Position { line: 108, column: 53, }, end: Position { line: 108, column: 56, }, }, }, ), span: Span { start: Position { line: 108, column: 18, }, end: Position { line: 108, column: 56, }, }, }, ), }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "uniqListExt", span: Span { start: Position { line: 109, column: 12, }, end: Position { line: 109, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputList", span: Span { start: Position { line: 109, column: 26, }, end: Position { line: 109, column: 36, }, }, }, ), ], to: Identifier( Identifier { id: "newOutputList", span: Span { start: Position { line: 109, column: 39, }, end: Position { line: 109, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "inputList", span: Span { start: Position { line: 110, column: 26, }, end: Position { line: 110, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 110, column: 39, }, end: Position { line: 110, column: 43, }, }, }, ), arguments: [ Identifier( Identifier { id: "inputList", span: Span { start: Position { line: 110, column: 44, }, end: Position { line: 110, column: 53, }, }, }, ), ], }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "getter", span: Span { start: Position { line: 111, column: 34, }, end: Position { line: 111, column: 40, }, }, }, ), Raw( PartRaw { content: "compare", span: Span { start: Position { line: 111, column: 41, }, end: Position { line: 111, column: 48, }, }, }, ), ], span: Span { start: Position { line: 109, column: 25, }, end: Position { line: 111, column: 49, }, }, }, ), ], span: Span { start: Position { line: 109, column: 24, }, end: Position { line: 112, column: 25, }, }, }, ), ], }, ), span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 112, column: 25, }, }, }, ), span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 112, column: 25, }, }, }, ), span: Span { start: Position { line: 100, column: 17, }, end: Position { line: 112, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "condConcat", span: Span { start: Position { line: 114, column: 3, }, end: Position { line: 114, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "list", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "checker", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "list", span: Span { start: Position { line: 115, column: 12, }, end: Position { line: 115, column: 16, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 115, column: 20, }, end: Position { line: 115, column: 22, }, }, }, ), }, ), then: Identifier( Identifier { id: "name", span: Span { start: Position { line: 115, column: 28, }, end: Position { line: 115, column: 32, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "checker", span: Span { start: Position { line: 116, column: 12, }, end: Position { line: 116, column: 19, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 116, column: 21, }, end: Position { line: 116, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "list", span: Span { start: Position { line: 116, column: 26, }, end: Position { line: 116, column: 30, }, }, }, ), ], }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "condConcat", span: Span { start: Position { line: 117, column: 17, }, end: Position { line: 117, column: 27, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 118, column: 26, }, end: Position { line: 118, column: 30, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 118, column: 34, }, end: Position { line: 118, column: 38, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 118, column: 40, }, end: Position { line: 118, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "list", span: Span { start: Position { line: 118, column: 45, }, end: Position { line: 118, column: 49, }, }, }, ), ], }, ), ], }, ), }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 119, column: 26, }, end: Position { line: 119, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 119, column: 32, }, end: Position { line: 119, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "list", span: Span { start: Position { line: 119, column: 37, }, end: Position { line: 119, column: 41, }, }, }, ), ], }, ), ], }, ), Identifier( Identifier { id: "checker", span: Span { start: Position { line: 120, column: 25, }, end: Position { line: 120, column: 32, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "condConcat", span: Span { start: Position { line: 121, column: 14, }, end: Position { line: 121, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 122, column: 17, }, end: Position { line: 122, column: 21, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 122, column: 23, }, end: Position { line: 122, column: 27, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 122, column: 29, }, end: Position { line: 122, column: 33, }, }, }, ), arguments: [ Identifier( Identifier { id: "list", span: Span { start: Position { line: 122, column: 34, }, end: Position { line: 122, column: 38, }, }, }, ), ], }, ), ], }, ), Identifier( Identifier { id: "checker", span: Span { start: Position { line: 122, column: 41, }, end: Position { line: 122, column: 48, }, }, }, ), ], }, ), span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 122, column: 48, }, }, }, ), span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 122, column: 48, }, }, }, ), span: Span { start: Position { line: 114, column: 28, }, end: Position { line: 122, column: 48, }, }, }, ), span: Span { start: Position { line: 114, column: 22, }, end: Position { line: 122, column: 48, }, }, }, ), span: Span { start: Position { line: 114, column: 16, }, end: Position { line: 122, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "lazyGenericClosure", span: Span { start: Position { line: 124, column: 3, }, end: Position { line: 124, column: 21, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "startSet", default: None, }, FunctionHeadDestructuredArgument { identifier: "operator", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "work", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "list", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "doneKeys", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "result", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "list", span: Span { start: Position { line: 127, column: 12, }, end: Position { line: 127, column: 16, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 127, column: 20, }, end: Position { line: 127, column: 22, }, }, }, ), }, ), then: Identifier( Identifier { id: "result", span: Span { start: Position { line: 128, column: 11, }, end: Position { line: 128, column: 17, }, }, }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "x", span: Span { start: Position { line: 130, column: 15, }, end: Position { line: 130, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 130, column: 19, }, end: Position { line: 130, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "list", span: Span { start: Position { line: 130, column: 24, }, end: Position { line: 130, column: 28, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 130, column: 30, }, end: Position { line: 130, column: 33, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 130, column: 36, }, end: Position { line: 130, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 130, column: 38, }, end: Position { line: 130, column: 41, }, }, }, ), ], default: None, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 131, column: 14, }, end: Position { line: 131, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "key", span: Span { start: Position { line: 131, column: 19, }, end: Position { line: 131, column: 22, }, }, }, ), Identifier( Identifier { id: "doneKeys", span: Span { start: Position { line: 131, column: 23, }, end: Position { line: 131, column: 31, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "work", span: Span { start: Position { line: 132, column: 13, }, end: Position { line: 132, column: 17, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 132, column: 19, }, end: Position { line: 132, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "list", span: Span { start: Position { line: 132, column: 24, }, end: Position { line: 132, column: 28, }, }, }, ), ], }, ), Identifier( Identifier { id: "doneKeys", span: Span { start: Position { line: 132, column: 30, }, end: Position { line: 132, column: 38, }, }, }, ), Identifier( Identifier { id: "result", span: Span { start: Position { line: 132, column: 39, }, end: Position { line: 132, column: 45, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "work", span: Span { start: Position { line: 134, column: 13, }, end: Position { line: 134, column: 17, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 134, column: 19, }, end: Position { line: 134, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "list", span: Span { start: Position { line: 134, column: 24, }, end: Position { line: 134, column: 28, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "operator", span: Span { start: Position { line: 134, column: 32, }, end: Position { line: 134, column: 40, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 134, column: 41, }, end: Position { line: 134, column: 42, }, }, }, ), ], }, ), }, ), BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "key", span: Span { start: Position { line: 134, column: 46, }, end: Position { line: 134, column: 49, }, }, }, ), ], span: Span { start: Position { line: 134, column: 45, }, end: Position { line: 134, column: 50, }, }, }, ), operator: Concatenation, right: Identifier( Identifier { id: "doneKeys", span: Span { start: Position { line: 134, column: 54, }, end: Position { line: 134, column: 62, }, }, }, ), }, ), BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 134, column: 66, }, end: Position { line: 134, column: 67, }, }, }, ), ], span: Span { start: Position { line: 134, column: 65, }, end: Position { line: 134, column: 68, }, }, }, ), operator: Concatenation, right: Identifier( Identifier { id: "result", span: Span { start: Position { line: 134, column: 72, }, end: Position { line: 134, column: 78, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 131, column: 11, }, end: Position { line: 134, column: 79, }, }, }, ), span: Span { start: Position { line: 130, column: 11, }, end: Position { line: 134, column: 79, }, }, }, ), span: Span { start: Position { line: 127, column: 9, }, end: Position { line: 134, column: 79, }, }, }, ), span: Span { start: Position { line: 126, column: 30, }, end: Position { line: 134, column: 79, }, }, }, ), span: Span { start: Position { line: 126, column: 20, }, end: Position { line: 134, column: 79, }, }, }, ), span: Span { start: Position { line: 126, column: 14, }, end: Position { line: 134, column: 79, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "work", span: Span { start: Position { line: 136, column: 7, }, end: Position { line: 136, column: 11, }, }, }, ), arguments: [ Identifier( Identifier { id: "startSet", span: Span { start: Position { line: 136, column: 12, }, end: Position { line: 136, column: 20, }, }, }, ), List( List { elements: [], span: Span { start: Position { line: 136, column: 21, }, end: Position { line: 136, column: 23, }, }, }, ), List( List { elements: [], span: Span { start: Position { line: 136, column: 24, }, end: Position { line: 136, column: 26, }, }, }, ), ], }, ), span: Span { start: Position { line: 125, column: 5, }, end: Position { line: 136, column: 26, }, }, }, ), span: Span { start: Position { line: 124, column: 24, }, end: Position { line: 136, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "innerModifySumArgs", span: Span { start: Position { line: 138, column: 3, }, end: Position { line: 138, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "b", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "b", span: Span { start: Position { line: 138, column: 39, }, end: Position { line: 138, column: 40, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 138, column: 44, }, end: Position { line: 138, column: 48, }, }, }, ), }, ), then: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 138, column: 55, }, end: Position { line: 138, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "a", span: Span { start: Position { line: 138, column: 57, }, end: Position { line: 138, column: 58, }, }, }, ), Identifier( Identifier { id: "b", span: Span { start: Position { line: 138, column: 59, }, end: Position { line: 138, column: 60, }, }, }, ), ], }, ), operator: Update, right: Identifier( Identifier { id: "x", span: Span { start: Position { line: 138, column: 65, }, end: Position { line: 138, column: 66, }, }, }, ), }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "innerModifySumArgs", span: Span { start: Position { line: 139, column: 9, }, end: Position { line: 139, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 139, column: 28, }, end: Position { line: 139, column: 29, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 139, column: 30, }, end: Position { line: 139, column: 31, }, }, }, ), BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "a", span: Span { start: Position { line: 139, column: 33, }, end: Position { line: 139, column: 34, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "b", span: Span { start: Position { line: 139, column: 38, }, end: Position { line: 139, column: 39, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 138, column: 36, }, end: Position { line: 139, column: 40, }, }, }, ), span: Span { start: Position { line: 138, column: 33, }, end: Position { line: 139, column: 40, }, }, }, ), span: Span { start: Position { line: 138, column: 30, }, end: Position { line: 139, column: 40, }, }, }, ), span: Span { start: Position { line: 138, column: 27, }, end: Position { line: 139, column: 40, }, }, }, ), span: Span { start: Position { line: 138, column: 24, }, end: Position { line: 139, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modifySumArgs", span: Span { start: Position { line: 140, column: 3, }, end: Position { line: 140, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "innerModifySumArgs", span: Span { start: Position { line: 140, column: 25, }, end: Position { line: 140, column: 43, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 140, column: 44, }, end: Position { line: 140, column: 45, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 140, column: 46, }, end: Position { line: 140, column: 47, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 140, column: 48, }, end: Position { line: 140, column: 50, }, }, }, ), ], }, ), span: Span { start: Position { line: 140, column: 22, }, end: Position { line: 140, column: 50, }, }, }, ), span: Span { start: Position { line: 140, column: 19, }, end: Position { line: 140, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "innerClosePropagation", span: Span { start: Position { line: 143, column: 3, }, end: Position { line: 143, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "acc", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "xs", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "xs", span: Span { start: Position { line: 144, column: 8, }, end: Position { line: 144, column: 10, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 144, column: 14, }, end: Position { line: 144, column: 16, }, }, }, ), }, ), then: Identifier( Identifier { id: "acc", span: Span { start: Position { line: 145, column: 10, }, end: Position { line: 145, column: 13, }, }, }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "y", span: Span { start: Position { line: 146, column: 14, }, end: Position { line: 146, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 146, column: 19, }, end: Position { line: 146, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "xs", span: Span { start: Position { line: 146, column: 24, }, end: Position { line: 146, column: 26, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ys", span: Span { start: Position { line: 147, column: 14, }, end: Position { line: 147, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 147, column: 19, }, end: Position { line: 147, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "xs", span: Span { start: Position { line: 147, column: 24, }, end: Position { line: 147, column: 26, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 148, column: 18, }, end: Position { line: 148, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "y", span: Span { start: Position { line: 148, column: 26, }, end: Position { line: 148, column: 27, }, }, }, ), ], }, ), span: Span { start: Position { line: 148, column: 16, }, end: Position { line: 148, column: 27, }, }, }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "innerClosePropagation", span: Span { start: Position { line: 149, column: 18, }, end: Position { line: 149, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "acc", span: Span { start: Position { line: 149, column: 40, }, end: Position { line: 149, column: 43, }, }, }, ), Identifier( Identifier { id: "ys", span: Span { start: Position { line: 149, column: 44, }, end: Position { line: 149, column: 46, }, }, }, ), ], }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "acc'", span: Span { start: Position { line: 150, column: 22, }, end: Position { line: 150, column: 26, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "y", span: Span { start: Position { line: 150, column: 30, }, end: Position { line: 150, column: 31, }, }, }, ), ], span: Span { start: Position { line: 150, column: 29, }, end: Position { line: 150, column: 32, }, }, }, ), operator: Concatenation, right: Identifier( Identifier { id: "acc", span: Span { start: Position { line: 150, column: 36, }, end: Position { line: 150, column: 39, }, }, }, ), }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "innerClosePropagation", span: Span { start: Position { line: 151, column: 21, }, end: Position { line: 151, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "acc'", span: Span { start: Position { line: 152, column: 23, }, end: Position { line: 152, column: 27, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "uniqList", span: Span { start: Position { line: 153, column: 24, }, end: Position { line: 153, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "inputList", span: Span { start: Position { line: 153, column: 35, }, end: Position { line: 153, column: 44, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeAttrNullable", span: Span { start: Position { line: 153, column: 48, }, end: Position { line: 153, column: 65, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "propagatedBuildInputs", span: Span { start: Position { line: 153, column: 67, }, end: Position { line: 153, column: 88, }, }, }, ), ], span: Span { start: Position { line: 153, column: 66, }, end: Position { line: 153, column: 89, }, }, }, ), List( List { elements: [], span: Span { start: Position { line: 153, column: 90, }, end: Position { line: 153, column: 92, }, }, }, ), Identifier( Identifier { id: "y", span: Span { start: Position { line: 153, column: 93, }, end: Position { line: 153, column: 94, }, }, }, ), ], }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeAttrNullable", span: Span { start: Position { line: 154, column: 48, }, end: Position { line: 154, column: 65, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "propagatedNativeBuildInputs", span: Span { start: Position { line: 154, column: 67, }, end: Position { line: 154, column: 94, }, }, }, ), ], span: Span { start: Position { line: 154, column: 66, }, end: Position { line: 154, column: 95, }, }, }, ), List( List { elements: [], span: Span { start: Position { line: 154, column: 96, }, end: Position { line: 154, column: 98, }, }, }, ), Identifier( Identifier { id: "y", span: Span { start: Position { line: 154, column: 99, }, end: Position { line: 154, column: 100, }, }, }, ), ], }, ), operator: Concatenation, right: Identifier( Identifier { id: "ys", span: Span { start: Position { line: 155, column: 47, }, end: Position { line: 155, column: 49, }, }, }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "acc", span: Span { start: Position { line: 156, column: 35, }, end: Position { line: 156, column: 38, }, }, }, ), ], to: Identifier( Identifier { id: "acc'", span: Span { start: Position { line: 156, column: 41, }, end: Position { line: 156, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 153, column: 33, }, end: Position { line: 157, column: 34, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 150, column: 18, }, end: Position { line: 158, column: 24, }, }, }, ), span: Span { start: Position { line: 148, column: 13, }, end: Position { line: 158, column: 24, }, }, }, ), span: Span { start: Position { line: 146, column: 10, }, end: Position { line: 158, column: 24, }, }, }, ), span: Span { start: Position { line: 144, column: 5, }, end: Position { line: 158, column: 24, }, }, }, ), span: Span { start: Position { line: 143, column: 32, }, end: Position { line: 158, column: 24, }, }, }, ), span: Span { start: Position { line: 143, column: 27, }, end: Position { line: 158, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "closePropagationSlow", span: Span { start: Position { line: 160, column: 3, }, end: Position { line: 160, column: 23, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "list", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "uniqList", span: Span { start: Position { line: 160, column: 33, }, end: Position { line: 160, column: 41, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "inputList", span: Span { start: Position { line: 160, column: 43, }, end: Position { line: 160, column: 52, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "innerClosePropagation", span: Span { start: Position { line: 160, column: 56, }, end: Position { line: 160, column: 77, }, }, }, ), arguments: [ List( List { elements: [], span: Span { start: Position { line: 160, column: 78, }, end: Position { line: 160, column: 80, }, }, }, ), Identifier( Identifier { id: "list", span: Span { start: Position { line: 160, column: 81, }, end: Position { line: 160, column: 85, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 160, column: 42, }, end: Position { line: 160, column: 88, }, }, }, ), ], }, ), span: Span { start: Position { line: 160, column: 26, }, end: Position { line: 160, column: 89, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "closePropagationFast", span: Span { start: Position { line: 168, column: 3, }, end: Position { line: 168, column: 23, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "list", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 169, column: 5, }, end: Position { line: 169, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "map", span: Span { start: Position { line: 169, column: 14, }, end: Position { line: 169, column: 17, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 169, column: 22, }, end: Position { line: 169, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 169, column: 24, }, end: Position { line: 169, column: 27, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 169, column: 19, }, end: Position { line: 169, column: 27, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 169, column: 30, }, end: Position { line: 169, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "genericClosure", span: Span { start: Position { line: 169, column: 39, }, end: Position { line: 169, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startSet", span: Span { start: Position { line: 170, column: 7, }, end: Position { line: 170, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 170, column: 18, }, end: Position { line: 170, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "map", span: Span { start: Position { line: 170, column: 27, }, end: Position { line: 170, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 171, column: 9, }, end: Position { line: 171, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 171, column: 15, }, end: Position { line: 171, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 171, column: 17, }, end: Position { line: 171, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 172, column: 9, }, end: Position { line: 172, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "x", span: Span { start: Position { line: 172, column: 15, }, end: Position { line: 172, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 170, column: 35, }, end: Position { line: 173, column: 8, }, }, }, ), span: Span { start: Position { line: 170, column: 32, }, end: Position { line: 173, column: 8, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 173, column: 11, }, end: Position { line: 173, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filter", span: Span { start: Position { line: 173, column: 20, }, end: Position { line: 173, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 173, column: 31, }, end: Position { line: 173, column: 32, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 173, column: 36, }, end: Position { line: 173, column: 40, }, }, }, ), }, ), span: Span { start: Position { line: 173, column: 28, }, end: Position { line: 173, column: 40, }, }, }, ), Identifier( Identifier { id: "list", span: Span { start: Position { line: 173, column: 42, }, end: Position { line: 173, column: 46, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "operator", span: Span { start: Position { line: 174, column: 7, }, end: Position { line: 174, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "item", }, ), body: IfThenElse( IfThenElse { predicate: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 175, column: 13, }, end: Position { line: 175, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isAttrs", span: Span { start: Position { line: 175, column: 22, }, end: Position { line: 175, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "item", span: Span { start: Position { line: 175, column: 30, }, end: Position { line: 175, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 175, column: 35, }, end: Position { line: 175, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 175, column: 12, }, end: Position { line: 175, column: 38, }, }, }, ), then: List( List { elements: [], span: Span { start: Position { line: 176, column: 11, }, end: Position { line: 176, column: 14, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 178, column: 11, }, end: Position { line: 178, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMap", span: Span { start: Position { line: 178, column: 20, }, end: Position { line: 178, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 179, column: 16, }, end: Position { line: 179, column: 17, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 179, column: 21, }, end: Position { line: 179, column: 25, }, }, }, ), }, ), then: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 180, column: 15, }, end: Position { line: 180, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 180, column: 21, }, end: Position { line: 180, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 180, column: 23, }, end: Position { line: 180, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 181, column: 15, }, end: Position { line: 181, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "x", span: Span { start: Position { line: 181, column: 21, }, end: Position { line: 181, column: 22, }, }, }, ), }, ), ], span: Span { start: Position { line: 179, column: 32, }, end: Position { line: 182, column: 14, }, }, }, ), ], span: Span { start: Position { line: 179, column: 31, }, end: Position { line: 182, column: 15, }, }, }, ), else_: List( List { elements: [], span: Span { start: Position { line: 183, column: 15, }, end: Position { line: 183, column: 18, }, }, }, ), span: Span { start: Position { line: 179, column: 13, }, end: Position { line: 183, column: 18, }, }, }, ), span: Span { start: Position { line: 178, column: 31, }, end: Position { line: 183, column: 18, }, }, }, ), BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "item", span: Span { start: Position { line: 183, column: 22, }, end: Position { line: 183, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 183, column: 27, }, end: Position { line: 183, column: 30, }, }, }, ), Raw( PartRaw { content: "propagatedBuildInputs", span: Span { start: Position { line: 183, column: 31, }, end: Position { line: 183, column: 52, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 183, column: 56, }, end: Position { line: 183, column: 59, }, }, }, ), ), }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "item", span: Span { start: Position { line: 184, column: 21, }, end: Position { line: 184, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 184, column: 26, }, end: Position { line: 184, column: 29, }, }, }, ), Raw( PartRaw { content: "propagatedNativeBuildInputs", span: Span { start: Position { line: 184, column: 30, }, end: Position { line: 184, column: 57, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 184, column: 61, }, end: Position { line: 184, column: 64, }, }, }, ), ), }, ), }, ), ], }, ), span: Span { start: Position { line: 175, column: 9, }, end: Position { line: 184, column: 66, }, }, }, ), span: Span { start: Position { line: 174, column: 18, }, end: Position { line: 184, column: 66, }, }, }, ), }, ), ], span: Span { start: Position { line: 169, column: 54, }, end: Position { line: 185, column: 6, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 168, column: 26, }, end: Position { line: 185, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "closePropagation", span: Span { start: Position { line: 187, column: 3, }, end: Position { line: 187, column: 19, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 187, column: 25, }, end: Position { line: 187, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "genericClosure", span: Span { start: Position { line: 187, column: 36, }, end: Position { line: 187, column: 50, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "closePropagationFast", span: Span { start: Position { line: 188, column: 10, }, end: Position { line: 188, column: 30, }, }, }, ), else_: Identifier( Identifier { id: "closePropagationSlow", span: Span { start: Position { line: 189, column: 10, }, end: Position { line: 189, column: 30, }, }, }, ), span: Span { start: Position { line: 187, column: 22, }, end: Position { line: 189, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mapAttrsFlatten", span: Span { start: Position { line: 192, column: 3, }, end: Position { line: 192, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "r", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 192, column: 27, }, end: Position { line: 192, column: 30, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "attr", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 192, column: 38, }, end: Position { line: 192, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "attr", span: Span { start: Position { line: 192, column: 40, }, end: Position { line: 192, column: 44, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "r", span: Span { start: Position { line: 192, column: 45, }, end: Position { line: 192, column: 46, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "attr", span: Span { start: Position { line: 192, column: 49, }, end: Position { line: 192, column: 53, }, }, }, ), }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 192, column: 32, }, end: Position { line: 192, column: 54, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 192, column: 57, }, end: Position { line: 192, column: 66, }, }, }, ), arguments: [ Identifier( Identifier { id: "r", span: Span { start: Position { line: 192, column: 67, }, end: Position { line: 192, column: 68, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 192, column: 24, }, end: Position { line: 192, column: 69, }, }, }, ), span: Span { start: Position { line: 192, column: 21, }, end: Position { line: 192, column: 69, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nvs", span: Span { start: Position { line: 195, column: 3, }, end: Position { line: 195, column: 6, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 195, column: 22, }, end: Position { line: 195, column: 33, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 195, column: 37, }, end: Position { line: 195, column: 50, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 195, column: 51, }, end: Position { line: 195, column: 55, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 195, column: 56, }, end: Position { line: 195, column: 61, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 195, column: 34, }, end: Position { line: 195, column: 64, }, }, }, ), ], }, ), span: Span { start: Position { line: 195, column: 15, }, end: Position { line: 195, column: 64, }, }, }, ), span: Span { start: Position { line: 195, column: 9, }, end: Position { line: 195, column: 64, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "setAttr", span: Span { start: Position { line: 197, column: 3, }, end: Position { line: 197, column: 10, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "set", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "set", span: Span { start: Position { line: 197, column: 27, }, end: Position { line: 197, column: 30, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nvs", span: Span { start: Position { line: 197, column: 35, }, end: Position { line: 197, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 197, column: 39, }, end: Position { line: 197, column: 43, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 197, column: 44, }, end: Position { line: 197, column: 45, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 197, column: 24, }, end: Position { line: 197, column: 46, }, }, }, ), span: Span { start: Position { line: 197, column: 18, }, end: Position { line: 197, column: 46, }, }, }, ), span: Span { start: Position { line: 197, column: 13, }, end: Position { line: 197, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "setAttrMerge", span: Span { start: Position { line: 202, column: 3, }, end: Position { line: 202, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "default", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttr", span: Span { start: Position { line: 203, column: 5, }, end: Position { line: 203, column: 12, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 203, column: 13, }, end: Position { line: 203, column: 18, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 203, column: 19, }, end: Position { line: 203, column: 23, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 203, column: 25, }, end: Position { line: 203, column: 26, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeAttr", span: Span { start: Position { line: 203, column: 28, }, end: Position { line: 203, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 203, column: 38, }, end: Position { line: 203, column: 42, }, }, }, ), Identifier( Identifier { id: "default", span: Span { start: Position { line: 203, column: 43, }, end: Position { line: 203, column: 50, }, }, }, ), Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 203, column: 51, }, end: Position { line: 203, column: 56, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 202, column: 40, }, end: Position { line: 203, column: 58, }, }, }, ), span: Span { start: Position { line: 202, column: 33, }, end: Position { line: 203, column: 58, }, }, }, ), span: Span { start: Position { line: 202, column: 24, }, end: Position { line: 203, column: 58, }, }, }, ), span: Span { start: Position { line: 202, column: 18, }, end: Position { line: 203, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrsWithFunc", span: Span { start: Position { line: 208, column: 3, }, end: Position { line: 208, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "set1", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "set2", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldr", span: Span { start: Position { line: 209, column: 5, }, end: Position { line: 209, column: 10, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "set", }, ), body: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "set", span: Span { start: Position { line: 209, column: 23, }, end: Position { line: 209, column: 26, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 209, column: 31, }, end: Position { line: 209, column: 32, }, }, }, ), }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttr", span: Span { start: Position { line: 210, column: 30, }, end: Position { line: 210, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "set", span: Span { start: Position { line: 210, column: 38, }, end: Position { line: 210, column: 41, }, }, }, ), Identifier( Identifier { id: "n", span: Span { start: Position { line: 210, column: 42, }, end: Position { line: 210, column: 43, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 210, column: 45, }, end: Position { line: 210, column: 46, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "set", span: Span { start: Position { line: 210, column: 47, }, end: Position { line: 210, column: 50, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 210, column: 53, }, end: Position { line: 210, column: 54, }, }, }, ), }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "set2", span: Span { start: Position { line: 210, column: 56, }, end: Position { line: 210, column: 60, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 210, column: 63, }, end: Position { line: 210, column: 64, }, }, }, ), }, ), ], default: None, }, ), ], }, ), ], }, ), else_: Identifier( Identifier { id: "set", span: Span { start: Position { line: 211, column: 30, }, end: Position { line: 211, column: 33, }, }, }, ), span: Span { start: Position { line: 209, column: 20, }, end: Position { line: 211, column: 33, }, }, }, ), span: Span { start: Position { line: 209, column: 15, }, end: Position { line: 211, column: 33, }, }, }, ), span: Span { start: Position { line: 209, column: 12, }, end: Position { line: 211, column: 33, }, }, }, ), BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "set2", span: Span { start: Position { line: 212, column: 13, }, end: Position { line: 212, column: 17, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "set1", span: Span { start: Position { line: 212, column: 21, }, end: Position { line: 212, column: 25, }, }, }, ), }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 212, column: 28, }, end: Position { line: 212, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "set2", span: Span { start: Position { line: 212, column: 38, }, end: Position { line: 212, column: 42, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 208, column: 33, }, end: Position { line: 212, column: 43, }, }, }, ), span: Span { start: Position { line: 208, column: 27, }, end: Position { line: 212, column: 43, }, }, }, ), span: Span { start: Position { line: 208, column: 24, }, end: Position { line: 212, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrsConcatenateValues", span: Span { start: Position { line: 216, column: 3, }, end: Position { line: 216, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeAttrsWithFunc", span: Span { start: Position { line: 216, column: 33, }, end: Position { line: 216, column: 51, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "b", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toList", span: Span { start: Position { line: 216, column: 61, }, end: Position { line: 216, column: 67, }, }, }, ), arguments: [ Identifier( Identifier { id: "a", span: Span { start: Position { line: 216, column: 68, }, end: Position { line: 216, column: 69, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toList", span: Span { start: Position { line: 216, column: 75, }, end: Position { line: 216, column: 81, }, }, }, ), arguments: [ Identifier( Identifier { id: "b", span: Span { start: Position { line: 216, column: 82, }, end: Position { line: 216, column: 83, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 216, column: 57, }, end: Position { line: 216, column: 84, }, }, }, ), span: Span { start: Position { line: 216, column: 54, }, end: Position { line: 216, column: 84, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrsNoOverride", span: Span { start: Position { line: 225, column: 3, }, end: Position { line: 225, column: 23, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "mergeLists", default: Some( List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "buildInputs", span: Span { start: Position { line: 225, column: 43, }, end: Position { line: 225, column: 54, }, }, }, ), ], span: Span { start: Position { line: 225, column: 42, }, end: Position { line: 225, column: 55, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "propagatedBuildInputs", span: Span { start: Position { line: 225, column: 57, }, end: Position { line: 225, column: 78, }, }, }, ), ], span: Span { start: Position { line: 225, column: 56, }, end: Position { line: 225, column: 79, }, }, }, ), ], span: Span { start: Position { line: 225, column: 41, }, end: Position { line: 225, column: 80, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "overrideSnd", default: Some( List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "buildPhase", span: Span { start: Position { line: 226, column: 45, }, end: Position { line: 226, column: 55, }, }, }, ), ], span: Span { start: Position { line: 226, column: 44, }, end: Position { line: 226, column: 56, }, }, }, ), ], span: Span { start: Position { line: 226, column: 42, }, end: Position { line: 226, column: 58, }, }, }, ), ), }, ], }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs1", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs2", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldr", span: Span { start: Position { line: 228, column: 5, }, end: Position { line: 228, column: 10, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "set", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttr", span: Span { start: Position { line: 229, column: 9, }, end: Position { line: 229, column: 16, }, }, }, ), arguments: [ Identifier( Identifier { id: "set", span: Span { start: Position { line: 229, column: 17, }, end: Position { line: 229, column: 20, }, }, }, ), Identifier( Identifier { id: "n", span: Span { start: Position { line: 229, column: 21, }, end: Position { line: 229, column: 22, }, }, }, ), IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "set", span: Span { start: Position { line: 229, column: 28, }, end: Position { line: 229, column: 31, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 229, column: 36, }, end: Position { line: 229, column: 37, }, }, }, ), }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 231, column: 18, }, end: Position { line: 231, column: 22, }, }, }, ), arguments: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 231, column: 23, }, end: Position { line: 231, column: 24, }, }, }, ), Identifier( Identifier { id: "mergeLists", span: Span { start: Position { line: 231, column: 25, }, end: Position { line: 231, column: 35, }, }, }, ), ], }, ), then: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs2", span: Span { start: Position { line: 232, column: 22, }, end: Position { line: 232, column: 28, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 232, column: 31, }, end: Position { line: 232, column: 32, }, }, }, ), }, ), ], default: None, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs1", span: Span { start: Position { line: 232, column: 37, }, end: Position { line: 232, column: 43, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 232, column: 46, }, end: Position { line: 232, column: 47, }, }, }, ), }, ), ], default: None, }, ), }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 233, column: 23, }, end: Position { line: 233, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 233, column: 28, }, end: Position { line: 233, column: 29, }, }, }, ), Identifier( Identifier { id: "overrideSnd", span: Span { start: Position { line: 233, column: 30, }, end: Position { line: 233, column: 41, }, }, }, ), ], }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs1", span: Span { start: Position { line: 234, column: 22, }, end: Position { line: 234, column: 28, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 234, column: 31, }, end: Position { line: 234, column: 32, }, }, }, ), }, ), ], default: None, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 235, column: 20, }, end: Position { line: 235, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "error mergeAttrsNoOverride, attribute ", span: Span { start: Position { line: 235, column: 27, }, end: Position { line: 235, column: 69, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 235, column: 67, }, end: Position { line: 235, column: 68, }, }, }, ), }, ), Raw( PartRaw { content: " given in both attributes - no merge func defined", span: Span { start: Position { line: 235, column: 27, }, end: Position { line: 235, column: 118, }, }, }, ), ], span: Span { start: Position { line: 235, column: 26, }, end: Position { line: 235, column: 119, }, }, }, ), ], }, ), span: Span { start: Position { line: 233, column: 20, }, end: Position { line: 235, column: 119, }, }, }, ), span: Span { start: Position { line: 231, column: 15, }, end: Position { line: 235, column: 119, }, }, }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs2", span: Span { start: Position { line: 236, column: 18, }, end: Position { line: 236, column: 24, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 236, column: 27, }, end: Position { line: 236, column: 28, }, }, }, ), }, ), ], default: None, }, ), span: Span { start: Position { line: 229, column: 25, }, end: Position { line: 236, column: 29, }, }, }, ), ], }, ), span: Span { start: Position { line: 228, column: 15, }, end: Position { line: 237, column: 13, }, }, }, ), span: Span { start: Position { line: 228, column: 12, }, end: Position { line: 237, column: 13, }, }, }, ), Identifier( Identifier { id: "attrs1", span: Span { start: Position { line: 237, column: 15, }, end: Position { line: 237, column: 21, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 237, column: 23, }, end: Position { line: 237, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrs2", span: Span { start: Position { line: 237, column: 33, }, end: Position { line: 237, column: 39, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 227, column: 37, }, end: Position { line: 237, column: 40, }, }, }, ), span: Span { start: Position { line: 227, column: 29, }, end: Position { line: 237, column: 40, }, }, }, ), span: Span { start: Position { line: 225, column: 26, }, end: Position { line: 237, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrByFunc", span: Span { start: Position { line: 251, column: 3, }, end: Position { line: 251, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "y", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrBy2", span: Span { start: Position { line: 253, column: 11, }, end: Position { line: 253, column: 23, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrBy", span: Span { start: Position { line: 253, column: 28, }, end: Position { line: 253, column: 39, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 253, column: 42, }, end: Position { line: 253, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mergeAttrs", span: Span { start: Position { line: 253, column: 46, }, end: Position { line: 253, column: 56, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 253, column: 26, }, end: Position { line: 253, column: 59, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeAttr", span: Span { start: Position { line: 254, column: 27, }, end: Position { line: 254, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "mergeAttrBy", span: Span { start: Position { line: 254, column: 38, }, end: Position { line: 254, column: 49, }, }, }, ), ], span: Span { start: Position { line: 254, column: 37, }, end: Position { line: 254, column: 50, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 254, column: 51, }, end: Position { line: 254, column: 53, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 254, column: 54, }, end: Position { line: 254, column: 55, }, }, }, ), ], }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeAttr", span: Span { start: Position { line: 255, column: 27, }, end: Position { line: 255, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "mergeAttrBy", span: Span { start: Position { line: 255, column: 38, }, end: Position { line: 255, column: 49, }, }, }, ), ], span: Span { start: Position { line: 255, column: 37, }, end: Position { line: 255, column: 50, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 255, column: 51, }, end: Position { line: 255, column: 53, }, }, }, ), Identifier( Identifier { id: "y", span: Span { start: Position { line: 255, column: 54, }, end: Position { line: 255, column: 55, }, }, }, ), ], }, ), }, ), }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldr", span: Span { start: Position { line: 256, column: 5, }, end: Position { line: 256, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 256, column: 11, }, end: Position { line: 256, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mergeAttrs", span: Span { start: Position { line: 256, column: 15, }, end: Position { line: 256, column: 25, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 256, column: 26, }, end: Position { line: 256, column: 28, }, }, }, ), List( List { elements: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 257, column: 7, }, end: Position { line: 257, column: 8, }, }, }, ), Identifier( Identifier { id: "y", span: Span { start: Position { line: 257, column: 9, }, end: Position { line: 257, column: 10, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 258, column: 8, }, end: Position { line: 258, column: 16, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 259, column: 14, }, end: Position { line: 259, column: 15, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 259, column: 20, }, end: Position { line: 259, column: 21, }, }, }, ), }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "y", span: Span { start: Position { line: 260, column: 22, }, end: Position { line: 260, column: 23, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 260, column: 28, }, end: Position { line: 260, column: 29, }, }, }, ), }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "v", span: Span { start: Position { line: 261, column: 21, }, end: Position { line: 261, column: 22, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 261, column: 23, }, end: Position { line: 261, column: 24, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 261, column: 27, }, end: Position { line: 261, column: 28, }, }, }, ), }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "y", span: Span { start: Position { line: 261, column: 30, }, end: Position { line: 261, column: 31, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 261, column: 34, }, end: Position { line: 261, column: 35, }, }, }, ), }, ), ], default: None, }, ), ], }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 262, column: 21, }, end: Position { line: 262, column: 22, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 262, column: 25, }, end: Position { line: 262, column: 26, }, }, }, ), }, ), ], default: None, }, ), span: Span { start: Position { line: 260, column: 19, }, end: Position { line: 262, column: 27, }, }, }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "y", span: Span { start: Position { line: 263, column: 19, }, end: Position { line: 263, column: 20, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 263, column: 23, }, end: Position { line: 263, column: 24, }, }, }, ), }, ), ], default: None, }, ), span: Span { start: Position { line: 259, column: 11, }, end: Position { line: 263, column: 25, }, }, }, ), span: Span { start: Position { line: 258, column: 22, }, end: Position { line: 263, column: 25, }, }, }, ), span: Span { start: Position { line: 258, column: 19, }, end: Position { line: 263, column: 25, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeAttrs", span: Span { start: Position { line: 264, column: 14, }, end: Position { line: 264, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "mergeAttrBy2", span: Span { start: Position { line: 264, column: 26, }, end: Position { line: 264, column: 38, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 266, column: 27, }, end: Position { line: 266, column: 33, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: BinaryOperation( BinaryOperation { left: UnaryOperation( UnaryOperation { operator: Not, operand: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 266, column: 40, }, end: Position { line: 266, column: 41, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 266, column: 46, }, end: Position { line: 266, column: 47, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 266, column: 38, }, end: Position { line: 266, column: 48, }, }, }, ), operator: LogicalAnd, right: UnaryOperation( UnaryOperation { operator: Not, operand: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "y", span: Span { start: Position { line: 266, column: 54, }, end: Position { line: 266, column: 55, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 266, column: 60, }, end: Position { line: 266, column: 61, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 266, column: 52, }, end: Position { line: 266, column: 62, }, }, }, ), }, ), span: Span { start: Position { line: 266, column: 35, }, end: Position { line: 266, column: 62, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 267, column: 35, }, end: Position { line: 267, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "mergeAttrBy2", span: Span { start: Position { line: 267, column: 45, }, end: Position { line: 267, column: 57, }, }, }, ), ], }, ), ], }, ), ], }, ), ], }, ), ], span: Span { start: Position { line: 256, column: 29, }, end: Position { line: 270, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 252, column: 5, }, end: Position { line: 270, column: 6, }, }, }, ), span: Span { start: Position { line: 251, column: 24, }, end: Position { line: 270, column: 6, }, }, }, ), span: Span { start: Position { line: 251, column: 21, }, end: Position { line: 270, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrsByFuncDefaults", span: Span { start: Position { line: 271, column: 3, }, end: Position { line: 271, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldl", span: Span { start: Position { line: 271, column: 30, }, end: Position { line: 271, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "mergeAttrByFunc", span: Span { start: Position { line: 271, column: 36, }, end: Position { line: 271, column: 51, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "mergeAttrBy", span: Span { start: Position { line: 271, column: 62, }, end: Position { line: 271, column: 73, }, }, }, ), ], span: Span { start: Position { line: 271, column: 53, }, end: Position { line: 271, column: 74, }, }, }, ), ], span: Span { start: Position { line: 271, column: 52, }, end: Position { line: 271, column: 76, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrsByFuncDefaultsClean", span: Span { start: Position { line: 272, column: 3, }, end: Position { line: 272, column: 32, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "list", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeAttrs", span: Span { start: Position { line: 272, column: 41, }, end: Position { line: 272, column: 52, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeAttrsByFuncDefaults", span: Span { start: Position { line: 272, column: 54, }, end: Position { line: 272, column: 78, }, }, }, ), arguments: [ Identifier( Identifier { id: "list", span: Span { start: Position { line: 272, column: 79, }, end: Position { line: 272, column: 83, }, }, }, ), ], }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "mergeAttrBy", span: Span { start: Position { line: 272, column: 87, }, end: Position { line: 272, column: 98, }, }, }, ), ], span: Span { start: Position { line: 272, column: 86, }, end: Position { line: 272, column: 99, }, }, }, ), ], span: Span { start: Position { line: 272, column: 85, }, end: Position { line: 272, column: 100, }, }, }, ), ], }, ), span: Span { start: Position { line: 272, column: 35, }, end: Position { line: 272, column: 100, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeAttrBy", span: Span { start: Position { line: 275, column: 3, }, end: Position { line: 275, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 276, column: 5, }, end: Position { line: 276, column: 16, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 276, column: 18, }, end: Position { line: 276, column: 21, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 276, column: 26, }, end: Position { line: 276, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 276, column: 40, }, end: Position { line: 276, column: 41, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 276, column: 42, }, end: Position { line: 276, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concat", span: Span { start: Position { line: 276, column: 46, }, end: Position { line: 276, column: 52, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 276, column: 23, }, end: Position { line: 276, column: 52, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "nativeBuildInputs", span: Span { start: Position { line: 277, column: 10, }, end: Position { line: 277, column: 27, }, }, }, ), ], span: Span { start: Position { line: 277, column: 9, }, end: Position { line: 277, column: 28, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "buildInputs", span: Span { start: Position { line: 277, column: 30, }, end: Position { line: 277, column: 41, }, }, }, ), ], span: Span { start: Position { line: 277, column: 29, }, end: Position { line: 277, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "propagatedBuildInputs", span: Span { start: Position { line: 277, column: 44, }, end: Position { line: 277, column: 65, }, }, }, ), ], span: Span { start: Position { line: 277, column: 43, }, end: Position { line: 277, column: 66, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "configureFlags", span: Span { start: Position { line: 277, column: 68, }, end: Position { line: 277, column: 82, }, }, }, ), ], span: Span { start: Position { line: 277, column: 67, }, end: Position { line: 277, column: 83, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "prePhases", span: Span { start: Position { line: 277, column: 85, }, end: Position { line: 277, column: 94, }, }, }, ), ], span: Span { start: Position { line: 277, column: 84, }, end: Position { line: 277, column: 95, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "postAll", span: Span { start: Position { line: 277, column: 97, }, end: Position { line: 277, column: 104, }, }, }, ), ], span: Span { start: Position { line: 277, column: 96, }, end: Position { line: 277, column: 105, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "patches", span: Span { start: Position { line: 277, column: 107, }, end: Position { line: 277, column: 114, }, }, }, ), ], span: Span { start: Position { line: 277, column: 106, }, end: Position { line: 277, column: 115, }, }, }, ), ], span: Span { start: Position { line: 277, column: 7, }, end: Position { line: 277, column: 117, }, }, }, ), ], }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 278, column: 8, }, end: Position { line: 278, column: 19, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 278, column: 21, }, end: Position { line: 278, column: 24, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 278, column: 29, }, end: Position { line: 278, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 278, column: 43, }, end: Position { line: 278, column: 44, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 278, column: 45, }, end: Position { line: 278, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mergeAttrs", span: Span { start: Position { line: 278, column: 49, }, end: Position { line: 278, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 278, column: 26, }, end: Position { line: 278, column: 59, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 278, column: 64, }, end: Position { line: 278, column: 72, }, }, }, ), ], span: Span { start: Position { line: 278, column: 63, }, end: Position { line: 278, column: 73, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 278, column: 75, }, end: Position { line: 278, column: 79, }, }, }, ), ], span: Span { start: Position { line: 278, column: 74, }, end: Position { line: 278, column: 80, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 278, column: 82, }, end: Position { line: 278, column: 85, }, }, }, ), ], span: Span { start: Position { line: 278, column: 81, }, end: Position { line: 278, column: 86, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "flags", span: Span { start: Position { line: 278, column: 88, }, end: Position { line: 278, column: 93, }, }, }, ), ], span: Span { start: Position { line: 278, column: 87, }, end: Position { line: 278, column: 94, }, }, }, ), ], span: Span { start: Position { line: 278, column: 61, }, end: Position { line: 278, column: 96, }, }, }, ), ], }, ), ], }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 279, column: 8, }, end: Position { line: 279, column: 19, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 279, column: 21, }, end: Position { line: 279, column: 24, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 279, column: 29, }, end: Position { line: 279, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 279, column: 43, }, end: Position { line: 279, column: 44, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "b", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 279, column: 55, }, end: Position { line: 279, column: 56, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 279, column: 53, }, end: Position { line: 279, column: 59, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "b", span: Span { start: Position { line: 279, column: 61, }, end: Position { line: 279, column: 62, }, }, }, ), }, ), ], span: Span { start: Position { line: 279, column: 52, }, end: Position { line: 279, column: 64, }, }, }, ), span: Span { start: Position { line: 279, column: 49, }, end: Position { line: 279, column: 64, }, }, }, ), span: Span { start: Position { line: 279, column: 46, }, end: Position { line: 279, column: 64, }, }, }, ), ], }, ), span: Span { start: Position { line: 279, column: 26, }, end: Position { line: 279, column: 65, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "preConfigure", span: Span { start: Position { line: 279, column: 71, }, end: Position { line: 279, column: 83, }, }, }, ), ], span: Span { start: Position { line: 279, column: 70, }, end: Position { line: 279, column: 84, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "postInstall", span: Span { start: Position { line: 279, column: 86, }, end: Position { line: 279, column: 97, }, }, }, ), ], span: Span { start: Position { line: 279, column: 85, }, end: Position { line: 279, column: 98, }, }, }, ), ], span: Span { start: Position { line: 279, column: 68, }, end: Position { line: 279, column: 100, }, }, }, ), ], }, ), ], }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixType", span: Span { start: Position { line: 282, column: 3, }, end: Position { line: 282, column: 10, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 283, column: 10, }, end: Position { line: 283, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 283, column: 18, }, end: Position { line: 283, column: 19, }, }, }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 284, column: 14, }, end: Position { line: 284, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 284, column: 18, }, end: Position { line: 284, column: 25, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "derivation", span: Span { start: Position { line: 284, column: 32, }, end: Position { line: 284, column: 42, }, }, }, ), ], span: Span { start: Position { line: 284, column: 31, }, end: Position { line: 284, column: 43, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 285, column: 17, }, end: Position { line: 285, column: 22, }, }, }, ), ], span: Span { start: Position { line: 285, column: 16, }, end: Position { line: 285, column: 23, }, }, }, ), span: Span { start: Position { line: 284, column: 11, }, end: Position { line: 285, column: 23, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 286, column: 15, }, end: Position { line: 286, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isFunction", span: Span { start: Position { line: 286, column: 19, }, end: Position { line: 286, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 286, column: 30, }, end: Position { line: 286, column: 31, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "function", span: Span { start: Position { line: 286, column: 38, }, end: Position { line: 286, column: 46, }, }, }, ), ], span: Span { start: Position { line: 286, column: 37, }, end: Position { line: 286, column: 47, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 287, column: 15, }, end: Position { line: 287, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 287, column: 22, }, end: Position { line: 287, column: 23, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "list", span: Span { start: Position { line: 287, column: 30, }, end: Position { line: 287, column: 34, }, }, }, ), ], span: Span { start: Position { line: 287, column: 29, }, end: Position { line: 287, column: 35, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 288, column: 15, }, end: Position { line: 288, column: 16, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "true", span: Span { start: Position { line: 288, column: 20, }, end: Position { line: 288, column: 24, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 288, column: 31, }, end: Position { line: 288, column: 35, }, }, }, ), ], span: Span { start: Position { line: 288, column: 30, }, end: Position { line: 288, column: 36, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 289, column: 15, }, end: Position { line: 289, column: 16, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "false", span: Span { start: Position { line: 289, column: 20, }, end: Position { line: 289, column: 25, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 289, column: 32, }, end: Position { line: 289, column: 36, }, }, }, ), ], span: Span { start: Position { line: 289, column: 31, }, end: Position { line: 289, column: 37, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 290, column: 15, }, end: Position { line: 290, column: 16, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 290, column: 20, }, end: Position { line: 290, column: 24, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "null", span: Span { start: Position { line: 290, column: 31, }, end: Position { line: 290, column: 35, }, }, }, ), ], span: Span { start: Position { line: 290, column: 30, }, end: Position { line: 290, column: 36, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isInt", span: Span { start: Position { line: 291, column: 15, }, end: Position { line: 291, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 291, column: 21, }, end: Position { line: 291, column: 22, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 291, column: 29, }, end: Position { line: 291, column: 32, }, }, }, ), ], span: Span { start: Position { line: 291, column: 28, }, end: Position { line: 291, column: 33, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "string", span: Span { start: Position { line: 292, column: 13, }, end: Position { line: 292, column: 19, }, }, }, ), ], span: Span { start: Position { line: 292, column: 12, }, end: Position { line: 292, column: 20, }, }, }, ), span: Span { start: Position { line: 291, column: 12, }, end: Position { line: 292, column: 20, }, }, }, ), span: Span { start: Position { line: 290, column: 12, }, end: Position { line: 292, column: 20, }, }, }, ), span: Span { start: Position { line: 289, column: 12, }, end: Position { line: 292, column: 20, }, }, }, ), span: Span { start: Position { line: 288, column: 12, }, end: Position { line: 292, column: 20, }, }, }, ), span: Span { start: Position { line: 287, column: 12, }, end: Position { line: 292, column: 20, }, }, }, ), span: Span { start: Position { line: 286, column: 12, }, end: Position { line: 292, column: 20, }, }, }, ), span: Span { start: Position { line: 283, column: 7, }, end: Position { line: 292, column: 20, }, }, }, ), span: Span { start: Position { line: 282, column: 13, }, end: Position { line: 292, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imap", span: Span { start: Position { line: 301, column: 3, }, end: Position { line: 301, column: 7, }, }, }, ), ], to: Identifier( Identifier { id: "imap1", span: Span { start: Position { line: 301, column: 10, }, end: Position { line: 301, column: 15, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fakeHash", span: Span { start: Position { line: 304, column: 3, }, end: Position { line: 304, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", span: Span { start: Position { line: 304, column: 15, }, end: Position { line: 304, column: 66, }, }, }, ), ], span: Span { start: Position { line: 304, column: 14, }, end: Position { line: 304, column: 67, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fakeSha256", span: Span { start: Position { line: 305, column: 3, }, end: Position { line: 305, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0000000000000000000000000000000000000000000000000000000000000000", span: Span { start: Position { line: 305, column: 17, }, end: Position { line: 305, column: 81, }, }, }, ), ], span: Span { start: Position { line: 305, column: 16, }, end: Position { line: 305, column: 82, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fakeSha512", span: Span { start: Position { line: 306, column: 3, }, end: Position { line: 306, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", span: Span { start: Position { line: 306, column: 17, }, end: Position { line: 306, column: 145, }, }, }, ), ], span: Span { start: Position { line: 306, column: 16, }, end: Position { line: 306, column: 146, }, }, }, ), }, ), ], span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 307, column: 2, }, }, }, ), span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 307, column: 2, }, }, }, ), span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 307, column: 2, }, }, }, ), span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 307, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 307, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 307, column: 2, }, }, }, )