Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrideDerivation", span: Span { start: Position { line: 31, column: 3, }, end: Position { line: 31, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "drv", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "newDrv", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "derivation", span: Span { start: Position { line: 33, column: 16, }, end: Position { line: 33, column: 26, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 33, column: 28, }, end: Position { line: 33, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "drvAttrs", span: Span { start: Position { line: 33, column: 32, }, end: Position { line: 33, column: 40, }, }, }, ), ], default: None, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 33, column: 45, }, end: Position { line: 33, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "drv", span: Span { start: Position { line: 33, column: 47, }, end: Position { line: 33, column: 50, }, }, }, ), ], }, ), }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 8, }, end: Position { line: 34, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flip", span: Span { start: Position { line: 34, column: 12, }, end: Position { line: 34, column: 16, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "extendDerivation", span: Span { start: Position { line: 34, column: 18, }, end: Position { line: 34, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 34, column: 35, }, end: Position { line: 34, column: 39, }, }, }, ), ], }, ), Identifier( Identifier { id: "newDrv", span: Span { start: Position { line: 34, column: 41, }, end: Position { line: 34, column: 47, }, }, }, ), BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 35, column: 16, }, end: Position { line: 35, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 35, column: 20, }, end: Position { line: 35, column: 24, }, }, }, ), ], default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 35, column: 28, }, end: Position { line: 35, column: 30, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 17, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 36, column: 23, }, end: Position { line: 36, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 36, column: 29, }, end: Position { line: 36, column: 37, }, }, }, ), ], }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 36, column: 43, }, end: Position { line: 36, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 36, column: 47, }, end: Position { line: 36, column: 55, }, }, }, ), ], default: None, }, ), else_: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 36, column: 61, }, end: Position { line: 36, column: 63, }, }, }, ), span: Span { start: Position { line: 36, column: 20, }, end: Position { line: 36, column: 63, }, }, }, ), }, ), ], span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 37, column: 8, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 39, column: 8, }, end: Position { line: 39, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 39, column: 12, }, end: Position { line: 39, column: 20, }, }, }, ), ], default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 39, column: 24, }, end: Position { line: 39, column: 26, }, }, }, ), ), }, ), operator: Update, right: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 41, column: 12, }, end: Position { line: 41, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "crossDrv", span: Span { start: Position { line: 41, column: 18, }, end: Position { line: 41, column: 26, }, }, }, ), ], }, ), operator: LogicalAnd, right: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 41, column: 30, }, end: Position { line: 41, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nativeDrv", span: Span { start: Position { line: 41, column: 36, }, end: Position { line: 41, column: 45, }, }, }, ), ], }, ), }, ), then: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "crossDrv", span: Span { start: Position { line: 43, column: 10, }, end: Position { line: 43, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "overrideDerivation", span: Span { start: Position { line: 43, column: 21, }, end: Position { line: 43, column: 39, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 43, column: 40, }, end: Position { line: 43, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "crossDrv", span: Span { start: Position { line: 43, column: 44, }, end: Position { line: 43, column: 52, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "f", span: Span { start: Position { line: 43, column: 53, }, end: Position { line: 43, column: 54, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nativeDrv", span: Span { start: Position { line: 44, column: 10, }, end: Position { line: 44, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "overrideDerivation", span: Span { start: Position { line: 44, column: 22, }, end: Position { line: 44, column: 40, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 44, column: 41, }, end: Position { line: 44, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nativeDrv", span: Span { start: Position { line: 44, column: 45, }, end: Position { line: 44, column: 54, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "f", span: Span { start: Position { line: 44, column: 55, }, end: Position { line: 44, column: 56, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 42, column: 13, }, end: Position { line: 45, column: 9, }, }, }, ), else_: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 46, column: 13, }, end: Position { line: 46, column: 16, }, }, }, ), span: Span { start: Position { line: 41, column: 8, }, end: Position { line: 46, column: 16, }, }, }, ), }, ), }, ), ], }, ), span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 46, column: 18, }, }, }, ), span: Span { start: Position { line: 31, column: 29, }, end: Position { line: 46, column: 18, }, }, }, ), span: Span { start: Position { line: 31, column: 24, }, end: Position { line: 46, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "makeOverridable", span: Span { start: Position { line: 67, column: 3, }, end: Position { line: 67, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "origArgs", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 69, column: 16, }, end: Position { line: 69, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "origArgs", span: Span { start: Position { line: 69, column: 18, }, end: Position { line: 69, column: 26, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "copyArgs", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "g", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 72, column: 21, }, end: Position { line: 72, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "setFunctionArgs", span: Span { start: Position { line: 72, column: 25, }, end: Position { line: 72, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "g", span: Span { start: Position { line: 72, column: 41, }, end: Position { line: 72, column: 42, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 72, column: 44, }, end: Position { line: 72, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionArgs", span: Span { start: Position { line: 72, column: 48, }, end: Position { line: 72, column: 60, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 72, column: 61, }, end: Position { line: 72, column: 62, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 72, column: 18, }, end: Position { line: 72, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrideWith", span: Span { start: Position { line: 74, column: 7, }, end: Position { line: 74, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "newArgs", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "origArgs", span: Span { start: Position { line: 74, column: 31, }, end: Position { line: 74, column: 39, }, }, }, ), operator: Update, right: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 74, column: 47, }, end: Position { line: 74, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isFunction", span: Span { start: Position { line: 74, column: 51, }, end: Position { line: 74, column: 61, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "newArgs", span: Span { start: Position { line: 74, column: 62, }, end: Position { line: 74, column: 69, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "newArgs", span: Span { start: Position { line: 74, column: 75, }, end: Position { line: 74, column: 82, }, }, }, ), arguments: [ Identifier( Identifier { id: "origArgs", span: Span { start: Position { line: 74, column: 83, }, end: Position { line: 74, column: 91, }, }, }, ), ], }, ), else_: Identifier( Identifier { id: "newArgs", span: Span { start: Position { line: 74, column: 97, }, end: Position { line: 74, column: 104, }, }, }, ), span: Span { start: Position { line: 74, column: 44, }, end: Position { line: 74, column: 104, }, }, }, ), }, ), span: Span { start: Position { line: 74, column: 22, }, end: Position { line: 74, column: 105, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrideArgs", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "copyArgs", span: Span { start: Position { line: 77, column: 22, }, end: Position { line: 77, column: 30, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "newArgs", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeOverridable", span: Span { start: Position { line: 77, column: 41, }, end: Position { line: 77, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 77, column: 57, }, end: Position { line: 77, column: 58, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "overrideWith", span: Span { start: Position { line: 77, column: 60, }, end: Position { line: 77, column: 72, }, }, }, ), arguments: [ Identifier( Identifier { id: "newArgs", span: Span { start: Position { line: 77, column: 73, }, end: Position { line: 77, column: 80, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 77, column: 32, }, end: Position { line: 77, column: 81, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrideResult", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "g", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeOverridable", span: Span { start: Position { line: 79, column: 27, }, end: Position { line: 79, column: 42, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "copyArgs", span: Span { start: Position { line: 79, column: 44, }, end: Position { line: 79, column: 52, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "args", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "g", span: Span { start: Position { line: 79, column: 60, }, end: Position { line: 79, column: 61, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 79, column: 63, }, end: Position { line: 79, column: 64, }, }, }, ), arguments: [ Identifier( Identifier { id: "args", span: Span { start: Position { line: 79, column: 65, }, end: Position { line: 79, column: 69, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 79, column: 54, }, end: Position { line: 79, column: 70, }, }, }, ), ], }, ), Identifier( Identifier { id: "origArgs", span: Span { start: Position { line: 79, column: 73, }, end: Position { line: 79, column: 81, }, }, }, ), ], }, ), span: Span { start: Position { line: 79, column: 24, }, end: Position { line: 79, column: 81, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 81, column: 10, }, end: Position { line: 81, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isAttrs", span: Span { start: Position { line: 81, column: 19, }, end: Position { line: 81, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "result", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 33, }, }, }, ), ], }, ), then: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "result", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 15, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "override", span: Span { start: Position { line: 83, column: 11, }, end: Position { line: 83, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "overrideArgs", span: Span { start: Position { line: 83, column: 22, }, end: Position { line: 83, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrideDerivation", span: Span { start: Position { line: 84, column: 11, }, end: Position { line: 84, column: 29, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "fdrv", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "overrideResult", span: Span { start: Position { line: 84, column: 38, }, end: Position { line: 84, column: 52, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "overrideDerivation", span: Span { start: Position { line: 84, column: 57, }, end: Position { line: 84, column: 75, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 84, column: 76, }, end: Position { line: 84, column: 77, }, }, }, ), Identifier( Identifier { id: "fdrv", span: Span { start: Position { line: 84, column: 78, }, end: Position { line: 84, column: 82, }, }, }, ), ], }, ), span: Span { start: Position { line: 84, column: 54, }, end: Position { line: 84, column: 82, }, }, }, ), ], }, ), span: Span { start: Position { line: 84, column: 32, }, end: Position { line: 84, column: 83, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "result", span: Span { start: Position { line: 85, column: 16, }, end: Position { line: 85, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "overrideAttrs", span: Span { start: Position { line: 85, column: 25, }, end: Position { line: 85, column: 38, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "overrideAttrs", span: Span { start: Position { line: 85, column: 45, }, end: Position { line: 85, column: 58, }, }, }, ), ], span: Span { start: Position { line: 85, column: 44, }, end: Position { line: 85, column: 59, }, }, }, ), else_: Identifier( Identifier { id: "null", span: Span { start: Position { line: 85, column: 65, }, end: Position { line: 85, column: 69, }, }, }, ), span: Span { start: Position { line: 85, column: 13, }, end: Position { line: 85, column: 69, }, }, }, ), }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "fdrv", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "overrideResult", span: Span { start: Position { line: 86, column: 13, }, end: Position { line: 86, column: 27, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 86, column: 32, }, end: Position { line: 86, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "overrideAttrs", span: Span { start: Position { line: 86, column: 34, }, end: Position { line: 86, column: 47, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "fdrv", span: Span { start: Position { line: 86, column: 48, }, end: Position { line: 86, column: 52, }, }, }, ), ], }, ), span: Span { start: Position { line: 86, column: 29, }, end: Position { line: 86, column: 52, }, }, }, ), ], }, ), span: Span { start: Position { line: 85, column: 73, }, end: Position { line: 86, column: 53, }, }, }, ), }, ), ], span: Span { start: Position { line: 82, column: 19, }, end: Position { line: 87, column: 10, }, }, }, ), }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 88, column: 15, }, end: Position { line: 88, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isFunction", span: Span { start: Position { line: 88, column: 19, }, end: Position { line: 88, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "result", span: Span { start: Position { line: 88, column: 30, }, end: Position { line: 88, column: 36, }, }, }, ), ], }, ), then: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "setFunctionArgs", span: Span { start: Position { line: 90, column: 13, }, end: Position { line: 90, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "result", span: Span { start: Position { line: 90, column: 29, }, end: Position { line: 90, column: 35, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 90, column: 37, }, end: Position { line: 90, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionArgs", span: Span { start: Position { line: 90, column: 41, }, end: Position { line: 90, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "result", span: Span { start: Position { line: 90, column: 54, }, end: Position { line: 90, column: 60, }, }, }, ), ], }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "override", span: Span { start: Position { line: 91, column: 11, }, end: Position { line: 91, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "overrideArgs", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 90, column: 65, }, end: Position { line: 92, column: 10, }, }, }, ), }, ), else_: Identifier( Identifier { id: "result", span: Span { start: Position { line: 93, column: 12, }, end: Position { line: 93, column: 18, }, }, }, ), span: Span { start: Position { line: 88, column: 12, }, end: Position { line: 93, column: 18, }, }, }, ), span: Span { start: Position { line: 81, column: 7, }, end: Position { line: 93, column: 18, }, }, }, ), span: Span { start: Position { line: 68, column: 5, }, end: Position { line: 93, column: 18, }, }, }, ), span: Span { start: Position { line: 67, column: 24, }, end: Position { line: 93, column: 18, }, }, }, ), span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 93, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "callPackageWith", span: Span { start: Position { line: 117, column: 3, }, end: Position { line: 117, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "autoArgs", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "fn", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "args", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "f", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 8, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 119, column: 14, }, end: Position { line: 119, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isFunction", span: Span { start: Position { line: 119, column: 18, }, end: Position { line: 119, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "fn", span: Span { start: Position { line: 119, column: 29, }, end: Position { line: 119, column: 31, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "fn", span: Span { start: Position { line: 119, column: 37, }, end: Position { line: 119, column: 39, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 119, column: 45, }, end: Position { line: 119, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "fn", span: Span { start: Position { line: 119, column: 52, }, end: Position { line: 119, column: 54, }, }, }, ), ], }, ), span: Span { start: Position { line: 119, column: 11, }, end: Position { line: 119, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fargs", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 120, column: 15, }, end: Position { line: 120, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionArgs", span: Span { start: Position { line: 120, column: 19, }, end: Position { line: 120, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 120, column: 32, }, end: Position { line: 120, column: 33, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allArgs", span: Span { start: Position { line: 124, column: 7, }, end: Position { line: 124, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 124, column: 17, }, end: Position { line: 124, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "intersectAttrs", span: Span { start: Position { line: 124, column: 26, }, end: Position { line: 124, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "fargs", span: Span { start: Position { line: 124, column: 41, }, end: Position { line: 124, column: 46, }, }, }, ), Identifier( Identifier { id: "autoArgs", span: Span { start: Position { line: 124, column: 47, }, end: Position { line: 124, column: 55, }, }, }, ), ], }, ), operator: Update, right: Identifier( Identifier { id: "args", span: Span { start: Position { line: 124, column: 59, }, end: Position { line: 124, column: 63, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "missingArgs", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 128, column: 21, }, end: Position { line: 128, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrNames", span: Span { start: Position { line: 128, column: 25, }, end: Position { line: 128, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 130, column: 10, }, end: Position { line: 130, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filterAttrs", span: Span { start: Position { line: 130, column: 14, }, end: Position { line: 130, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: Identifier( Identifier { id: "value", span: Span { start: Position { line: 130, column: 42, }, end: Position { line: 130, column: 47, }, }, }, ), span: Span { start: Position { line: 130, column: 40, }, end: Position { line: 130, column: 47, }, }, }, ), span: Span { start: Position { line: 130, column: 33, }, end: Position { line: 130, column: 47, }, }, }, ), span: Span { start: Position { line: 130, column: 27, }, end: Position { line: 130, column: 47, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeAttrs", span: Span { start: Position { line: 132, column: 10, }, end: Position { line: 132, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "fargs", span: Span { start: Position { line: 132, column: 22, }, end: Position { line: 132, column: 27, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 132, column: 29, }, end: Position { line: 132, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrNames", span: Span { start: Position { line: 132, column: 33, }, end: Position { line: 132, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "allArgs", span: Span { start: Position { line: 132, column: 43, }, end: Position { line: 132, column: 50, }, }, }, ), ], }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "getSuggestions", span: Span { start: Position { line: 135, column: 7, }, end: Position { line: 135, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "arg", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 135, column: 29, }, end: Position { line: 135, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pipe", span: Span { start: Position { line: 135, column: 33, }, end: Position { line: 135, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "autoArgs", span: Span { start: Position { line: 135, column: 39, }, end: Position { line: 135, column: 47, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "args", span: Span { start: Position { line: 135, column: 51, }, end: Position { line: 135, column: 55, }, }, }, ), }, ), List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 136, column: 9, }, end: Position { line: 136, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrNames", span: Span { start: Position { line: 136, column: 13, }, end: Position { line: 136, column: 22, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 139, column: 10, }, end: Position { line: 139, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filter", span: Span { start: Position { line: 139, column: 14, }, end: Position { line: 139, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 139, column: 22, }, end: Position { line: 139, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "strings", span: Span { start: Position { line: 139, column: 26, }, end: Position { line: 139, column: 33, }, }, }, ), Raw( PartRaw { content: "levenshteinAtMost", span: Span { start: Position { line: 139, column: 34, }, end: Position { line: 139, column: 51, }, }, }, ), ], default: None, }, ), arguments: [ Integer( Integer { value: "2", span: Span { start: Position { line: 139, column: 52, }, end: Position { line: 139, column: 53, }, }, }, ), Identifier( Identifier { id: "arg", span: Span { start: Position { line: 139, column: 54, }, end: Position { line: 139, column: 57, }, }, }, ), ], }, ), ], }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 141, column: 10, }, end: Position { line: 141, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sort", span: Span { start: Position { line: 141, column: 14, }, end: Position { line: 141, column: 18, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "y", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 141, column: 26, }, end: Position { line: 141, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "strings", span: Span { start: Position { line: 141, column: 30, }, end: Position { line: 141, column: 37, }, }, }, ), Raw( PartRaw { content: "levenshtein", span: Span { start: Position { line: 141, column: 38, }, end: Position { line: 141, column: 49, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 141, column: 50, }, end: Position { line: 141, column: 51, }, }, }, ), Identifier( Identifier { id: "arg", span: Span { start: Position { line: 141, column: 52, }, end: Position { line: 141, column: 55, }, }, }, ), ], }, ), operator: LessThan, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 141, column: 58, }, end: Position { line: 141, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "strings", span: Span { start: Position { line: 141, column: 62, }, end: Position { line: 141, column: 69, }, }, }, ), Raw( PartRaw { content: "levenshtein", span: Span { start: Position { line: 141, column: 70, }, end: Position { line: 141, column: 81, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "y", span: Span { start: Position { line: 141, column: 82, }, end: Position { line: 141, column: 83, }, }, }, ), Identifier( Identifier { id: "arg", span: Span { start: Position { line: 141, column: 84, }, end: Position { line: 141, column: 87, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 141, column: 23, }, end: Position { line: 141, column: 87, }, }, }, ), span: Span { start: Position { line: 141, column: 20, }, end: Position { line: 141, column: 87, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 143, column: 10, }, end: Position { line: 143, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "take", span: Span { start: Position { line: 143, column: 14, }, end: Position { line: 143, column: 18, }, }, }, ), ], default: None, }, ), arguments: [ Integer( Integer { value: "3", span: Span { start: Position { line: 143, column: 19, }, end: Position { line: 143, column: 20, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 145, column: 10, }, end: Position { line: 145, column: 13, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 145, column: 19, }, end: Position { line: 145, column: 21, }, }, }, ), ], span: Span { start: Position { line: 145, column: 18, }, end: Position { line: 145, column: 22, }, }, }, ), operator: Addition, right: Identifier( Identifier { id: "x", span: Span { start: Position { line: 145, column: 25, }, end: Position { line: 145, column: 26, }, }, }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 145, column: 30, }, end: Position { line: 145, column: 32, }, }, }, ), ], span: Span { start: Position { line: 145, column: 29, }, end: Position { line: 145, column: 33, }, }, }, ), }, ), span: Span { start: Position { line: 145, column: 15, }, end: Position { line: 145, column: 33, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 135, column: 57, }, end: Position { line: 146, column: 8, }, }, }, ), ], }, ), span: Span { start: Position { line: 135, column: 24, }, end: Position { line: 146, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prettySuggestions", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "suggestions", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "suggestions", span: Span { start: Position { line: 149, column: 12, }, end: Position { line: 149, column: 23, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 149, column: 27, }, end: Position { line: 149, column: 29, }, }, }, ), }, ), then: String( String_ { parts: [], span: Span { start: Position { line: 149, column: 35, }, end: Position { line: 149, column: 37, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 150, column: 17, }, end: Position { line: 150, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "length", span: Span { start: Position { line: 150, column: 21, }, end: Position { line: 150, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "suggestions", span: Span { start: Position { line: 150, column: 28, }, end: Position { line: 150, column: 39, }, }, }, ), ], }, ), operator: EqualTo, right: Integer( Integer { value: "1", span: Span { start: Position { line: 150, column: 43, }, end: Position { line: 150, column: 44, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: ", did you mean ", span: Span { start: Position { line: 150, column: 51, }, end: Position { line: 150, column: 93, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 150, column: 68, }, end: Position { line: 150, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "elemAt", span: Span { start: Position { line: 150, column: 72, }, end: Position { line: 150, column: 78, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "suggestions", span: Span { start: Position { line: 150, column: 79, }, end: Position { line: 150, column: 90, }, }, }, ), Integer( Integer { value: "0", span: Span { start: Position { line: 150, column: 91, }, end: Position { line: 150, column: 92, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "?", span: Span { start: Position { line: 150, column: 51, }, end: Position { line: 150, column: 94, }, }, }, ), ], span: Span { start: Position { line: 150, column: 50, }, end: Position { line: 150, column: 95, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: ", did you mean ", span: Span { start: Position { line: 151, column: 15, }, end: Position { line: 151, column: 81, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 151, column: 32, }, end: Position { line: 151, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 151, column: 36, }, end: Position { line: 151, column: 52, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ", ", span: Span { start: Position { line: 151, column: 54, }, end: Position { line: 151, column: 56, }, }, }, ), ], span: Span { start: Position { line: 151, column: 53, }, end: Position { line: 151, column: 57, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 151, column: 59, }, end: Position { line: 151, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "init", span: Span { start: Position { line: 151, column: 63, }, end: Position { line: 151, column: 67, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "suggestions", span: Span { start: Position { line: 151, column: 68, }, end: Position { line: 151, column: 79, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: " or ", span: Span { start: Position { line: 151, column: 15, }, end: Position { line: 151, column: 85, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 151, column: 87, }, end: Position { line: 151, column: 90, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "last", span: Span { start: Position { line: 151, column: 91, }, end: Position { line: 151, column: 95, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "suggestions", span: Span { start: Position { line: 151, column: 96, }, end: Position { line: 151, column: 107, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "?", span: Span { start: Position { line: 151, column: 15, }, end: Position { line: 151, column: 109, }, }, }, ), ], span: Span { start: Position { line: 151, column: 14, }, end: Position { line: 151, column: 110, }, }, }, ), span: Span { start: Position { line: 150, column: 14, }, end: Position { line: 151, column: 110, }, }, }, ), span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 151, column: 110, }, }, }, ), span: Span { start: Position { line: 148, column: 27, }, end: Position { line: 151, column: 110, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "errorForArg", span: Span { start: Position { line: 153, column: 7, }, end: Position { line: 153, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "arg", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loc", span: Span { start: Position { line: 155, column: 11, }, end: Position { line: 155, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 155, column: 17, }, end: Position { line: 155, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unsafeGetAttrPos", span: Span { start: Position { line: 155, column: 26, }, end: Position { line: 155, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "arg", span: Span { start: Position { line: 155, column: 43, }, end: Position { line: 155, column: 46, }, }, }, ), Identifier( Identifier { id: "fargs", span: Span { start: Position { line: 155, column: 47, }, end: Position { line: 155, column: 52, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loc'", span: Span { start: Position { line: 158, column: 11, }, end: Position { line: 158, column: 15, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "loc", span: Span { start: Position { line: 158, column: 21, }, end: Position { line: 158, column: 24, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 158, column: 28, }, end: Position { line: 158, column: 32, }, }, }, ), }, ), then: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "loc", span: Span { start: Position { line: 158, column: 38, }, end: Position { line: 158, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 158, column: 42, }, end: Position { line: 158, column: 46, }, }, }, ), ], default: None, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: ":", span: Span { start: Position { line: 158, column: 50, }, end: Position { line: 158, column: 51, }, }, }, ), ], span: Span { start: Position { line: 158, column: 49, }, end: Position { line: 158, column: 52, }, }, }, ), }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 158, column: 55, }, end: Position { line: 158, column: 63, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "loc", span: Span { start: Position { line: 158, column: 64, }, end: Position { line: 158, column: 67, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "line", span: Span { start: Position { line: 158, column: 68, }, end: Position { line: 158, column: 72, }, }, }, ), ], default: None, }, ), ], }, ), }, ), else_: IfThenElse( IfThenElse { predicate: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 159, column: 23, }, end: Position { line: 159, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isFunction", span: Span { start: Position { line: 159, column: 27, }, end: Position { line: 159, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "fn", span: Span { start: Position { line: 159, column: 38, }, end: Position { line: 159, column: 40, }, }, }, ), ], }, ), span: Span { start: Position { line: 159, column: 21, }, end: Position { line: 159, column: 40, }, }, }, ), then: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 160, column: 15, }, end: Position { line: 160, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "fn", span: Span { start: Position { line: 160, column: 24, }, end: Position { line: 160, column: 26, }, }, }, ), ], }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 160, column: 29, }, end: Position { line: 160, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 160, column: 33, }, end: Position { line: 160, column: 47, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 160, column: 49, }, end: Position { line: 160, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sources", span: Span { start: Position { line: 160, column: 53, }, end: Position { line: 160, column: 60, }, }, }, ), Raw( PartRaw { content: "pathIsDirectory", span: Span { start: Position { line: 160, column: 61, }, end: Position { line: 160, column: 76, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "fn", span: Span { start: Position { line: 160, column: 77, }, end: Position { line: 160, column: 79, }, }, }, ), ], }, ), String( String_ { parts: [ Raw( PartRaw { content: "/default.nix", span: Span { start: Position { line: 160, column: 82, }, end: Position { line: 160, column: 94, }, }, }, ), ], span: Span { start: Position { line: 160, column: 81, }, end: Position { line: 160, column: 95, }, }, }, ), ], }, ), }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 161, column: 19, }, end: Position { line: 161, column: 37, }, }, }, ), ], span: Span { start: Position { line: 161, column: 18, }, end: Position { line: 161, column: 38, }, }, }, ), span: Span { start: Position { line: 159, column: 18, }, end: Position { line: 161, column: 38, }, }, }, ), span: Span { start: Position { line: 158, column: 18, }, end: Position { line: 161, column: 38, }, }, }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "Function called without required argument \"", span: Span { start: Position { line: 162, column: 13, }, end: Position { line: 162, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "arg", span: Span { start: Position { line: 162, column: 59, }, end: Position { line: 162, column: 62, }, }, }, ), }, ), Raw( PartRaw { content: "\" at ", span: Span { start: Position { line: 162, column: 13, }, end: Position { line: 162, column: 69, }, }, }, ), ], span: Span { start: Position { line: 162, column: 12, }, end: Position { line: 162, column: 70, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "loc'", span: Span { start: Position { line: 163, column: 14, }, end: Position { line: 163, column: 18, }, }, }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "prettySuggestions", span: Span { start: Position { line: 163, column: 21, }, end: Position { line: 163, column: 38, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getSuggestions", span: Span { start: Position { line: 163, column: 40, }, end: Position { line: 163, column: 54, }, }, }, ), arguments: [ Identifier( Identifier { id: "arg", span: Span { start: Position { line: 163, column: 55, }, end: Position { line: 163, column: 58, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 163, column: 11, }, end: Position { line: 163, column: 61, }, }, }, ), }, ), span: Span { start: Position { line: 154, column: 9, }, end: Position { line: 163, column: 61, }, }, }, ), span: Span { start: Position { line: 153, column: 21, }, end: Position { line: 163, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "error", span: Span { start: Position { line: 166, column: 7, }, end: Position { line: 166, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "errorForArg", span: Span { start: Position { line: 166, column: 15, }, end: Position { line: 166, column: 26, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 166, column: 28, }, end: Position { line: 166, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "head", span: Span { start: Position { line: 166, column: 32, }, end: Position { line: 166, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "missingArgs", span: Span { start: Position { line: 166, column: 37, }, end: Position { line: 166, column: 48, }, }, }, ), ], }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "missingArgs", span: Span { start: Position { line: 168, column: 11, }, end: Position { line: 168, column: 22, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 168, column: 26, }, end: Position { line: 168, column: 28, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeOverridable", span: Span { start: Position { line: 168, column: 34, }, end: Position { line: 168, column: 49, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 168, column: 50, }, end: Position { line: 168, column: 51, }, }, }, ), Identifier( Identifier { id: "allArgs", span: Span { start: Position { line: 168, column: 52, }, end: Position { line: 168, column: 59, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 168, column: 65, }, end: Position { line: 168, column: 70, }, }, }, ), arguments: [ Identifier( Identifier { id: "error", span: Span { start: Position { line: 168, column: 71, }, end: Position { line: 168, column: 76, }, }, }, ), ], }, ), span: Span { start: Position { line: 168, column: 8, }, end: Position { line: 168, column: 76, }, }, }, ), span: Span { start: Position { line: 118, column: 5, }, end: Position { line: 168, column: 76, }, }, }, ), span: Span { start: Position { line: 117, column: 35, }, end: Position { line: 168, column: 76, }, }, }, ), span: Span { start: Position { line: 117, column: 31, }, end: Position { line: 168, column: 76, }, }, }, ), span: Span { start: Position { line: 117, column: 21, }, end: Position { line: 168, column: 76, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "callPackagesWith", span: Span { start: Position { line: 174, column: 3, }, end: Position { line: 174, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "autoArgs", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "fn", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "args", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "f", span: Span { start: Position { line: 176, column: 7, }, end: Position { line: 176, column: 8, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 176, column: 14, }, end: Position { line: 176, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isFunction", span: Span { start: Position { line: 176, column: 18, }, end: Position { line: 176, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "fn", span: Span { start: Position { line: 176, column: 29, }, end: Position { line: 176, column: 31, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "fn", span: Span { start: Position { line: 176, column: 37, }, end: Position { line: 176, column: 39, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 176, column: 45, }, end: Position { line: 176, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "fn", span: Span { start: Position { line: 176, column: 52, }, end: Position { line: 176, column: 54, }, }, }, ), ], }, ), span: Span { start: Position { line: 176, column: 11, }, end: Position { line: 176, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "auto", span: Span { start: Position { line: 177, column: 7, }, end: Position { line: 177, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 177, column: 14, }, end: Position { line: 177, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "intersectAttrs", span: Span { start: Position { line: 177, column: 23, }, end: Position { line: 177, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 177, column: 39, }, end: Position { line: 177, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionArgs", span: Span { start: Position { line: 177, column: 43, }, end: Position { line: 177, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 177, column: 56, }, end: Position { line: 177, column: 57, }, }, }, ), ], }, ), Identifier( Identifier { id: "autoArgs", span: Span { start: Position { line: 177, column: 59, }, end: Position { line: 177, column: 67, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "origArgs", span: Span { start: Position { line: 178, column: 7, }, end: Position { line: 178, column: 15, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "auto", span: Span { start: Position { line: 178, column: 18, }, end: Position { line: 178, column: 22, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "args", span: Span { start: Position { line: 178, column: 26, }, end: Position { line: 178, column: 30, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 179, column: 14, }, end: Position { line: 179, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "origArgs", span: Span { start: Position { line: 179, column: 16, }, end: Position { line: 179, column: 24, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkAttrOverridable", span: Span { start: Position { line: 180, column: 7, }, end: Position { line: 180, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "_", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeOverridable", span: Span { start: Position { line: 180, column: 36, }, end: Position { line: 180, column: 51, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "newArgs", }, ), body: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 180, column: 63, }, end: Position { line: 180, column: 64, }, }, }, ), arguments: [ Identifier( Identifier { id: "newArgs", span: Span { start: Position { line: 180, column: 65, }, end: Position { line: 180, column: 72, }, }, }, ), ], }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 180, column: 76, }, end: Position { line: 180, column: 80, }, }, }, ), }, ), ], default: None, }, ), span: Span { start: Position { line: 180, column: 53, }, end: Position { line: 180, column: 81, }, }, }, ), Identifier( Identifier { id: "origArgs", span: Span { start: Position { line: 180, column: 83, }, end: Position { line: 180, column: 91, }, }, }, ), ], }, ), span: Span { start: Position { line: 180, column: 33, }, end: Position { line: 180, column: 91, }, }, }, ), span: Span { start: Position { line: 180, column: 27, }, end: Position { line: 180, column: 91, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 182, column: 10, }, end: Position { line: 182, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isDerivation", span: Span { start: Position { line: 182, column: 14, }, end: Position { line: 182, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 182, column: 27, }, end: Position { line: 182, column: 31, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 182, column: 37, }, end: Position { line: 182, column: 42, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "function `callPackages` was called on a *single* derivation ", span: Span { start: Position { line: 183, column: 11, }, end: Position { line: 183, column: 71, }, }, }, ), ], span: Span { start: Position { line: 183, column: 10, }, end: Position { line: 183, column: 72, }, }, }, ), operator: Addition, right: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 184, column: 15, }, end: Position { line: 184, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 184, column: 18, }, end: Position { line: 184, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 184, column: 23, }, end: Position { line: 184, column: 27, }, }, }, ), ], default: Some( String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 184, column: 32, }, end: Position { line: 184, column: 46, }, }, }, ), ], span: Span { start: Position { line: 184, column: 31, }, end: Position { line: 184, column: 47, }, }, }, ), ), }, ), }, ), Raw( PartRaw { content: "\";", span: Span { start: Position { line: 184, column: 15, }, end: Position { line: 184, column: 50, }, }, }, ), ], span: Span { start: Position { line: 184, column: 13, }, end: Position { line: 184, column: 52, }, }, }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: " did you mean to use `callPackage` instead?", span: Span { start: Position { line: 185, column: 14, }, end: Position { line: 185, column: 57, }, }, }, ), ], span: Span { start: Position { line: 185, column: 13, }, end: Position { line: 185, column: 58, }, }, }, ), }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 186, column: 12, }, end: Position { line: 186, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrs", span: Span { start: Position { line: 186, column: 16, }, end: Position { line: 186, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "mkAttrOverridable", span: Span { start: Position { line: 186, column: 25, }, end: Position { line: 186, column: 42, }, }, }, ), Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 186, column: 43, }, end: Position { line: 186, column: 47, }, }, }, ), ], }, ), span: Span { start: Position { line: 182, column: 7, }, end: Position { line: 186, column: 47, }, }, }, ), span: Span { start: Position { line: 175, column: 5, }, end: Position { line: 186, column: 47, }, }, }, ), span: Span { start: Position { line: 174, column: 36, }, end: Position { line: 186, column: 47, }, }, }, ), span: Span { start: Position { line: 174, column: 32, }, end: Position { line: 186, column: 47, }, }, }, ), span: Span { start: Position { line: 174, column: 22, }, end: Position { line: 186, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extendDerivation", span: Span { start: Position { line: 191, column: 3, }, end: Position { line: 191, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "condition", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "passthru", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "drv", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputs", span: Span { start: Position { line: 193, column: 7, }, end: Position { line: 193, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 193, column: 17, }, end: Position { line: 193, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outputs", span: Span { start: Position { line: 193, column: 21, }, end: Position { line: 193, column: 28, }, }, }, ), ], default: Some( List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "out", span: Span { start: Position { line: 193, column: 35, }, end: Position { line: 193, column: 38, }, }, }, ), ], span: Span { start: Position { line: 193, column: 34, }, end: Position { line: 193, column: 39, }, }, }, ), ], span: Span { start: Position { line: 193, column: 32, }, end: Position { line: 193, column: 41, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "commonAttrs", span: Span { start: Position { line: 195, column: 7, }, end: Position { line: 195, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 195, column: 21, }, end: Position { line: 195, column: 24, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 195, column: 29, }, end: Position { line: 195, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listToAttrs", span: Span { start: Position { line: 195, column: 38, }, end: Position { line: 195, column: 49, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "outputsList", span: Span { start: Position { line: 195, column: 50, }, end: Position { line: 195, column: 61, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "all", span: Span { start: Position { line: 196, column: 12, }, end: Position { line: 196, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 196, column: 18, }, end: Position { line: 196, column: 21, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 196, column: 26, }, end: Position { line: 196, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 196, column: 28, }, end: Position { line: 196, column: 33, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 196, column: 23, }, end: Position { line: 196, column: 33, }, }, }, ), Identifier( Identifier { id: "outputsList", span: Span { start: Position { line: 196, column: 35, }, end: Position { line: 196, column: 46, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 196, column: 10, }, end: Position { line: 196, column: 49, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "passthru", span: Span { start: Position { line: 196, column: 54, }, end: Position { line: 196, column: 62, }, }, }, ), }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputToAttrListElement", span: Span { start: Position { line: 198, column: 7, }, end: Position { line: 198, column: 30, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "outputName", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 199, column: 11, }, end: Position { line: 199, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "outputName", span: Span { start: Position { line: 199, column: 18, }, end: Position { line: 199, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 200, column: 11, }, end: Position { line: 200, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "commonAttrs", span: Span { start: Position { line: 200, column: 19, }, end: Position { line: 200, column: 30, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 201, column: 22, }, end: Position { line: 201, column: 25, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "outputName", span: Span { start: Position { line: 201, column: 28, }, end: Position { line: 201, column: 38, }, }, }, ), }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 201, column: 41, }, end: Position { line: 201, column: 45, }, }, }, ), Raw( PartRaw { content: "outputName", span: Span { start: Position { line: 201, column: 46, }, end: Position { line: 201, column: 56, }, }, }, ), ], span: Span { start: Position { line: 200, column: 35, }, end: Position { line: 201, column: 57, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputSpecified", span: Span { start: Position { line: 202, column: 13, }, end: Position { line: 202, column: 28, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 202, column: 31, }, end: Position { line: 202, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "drvPath", span: Span { start: Position { line: 203, column: 13, }, end: Position { line: 203, column: 20, }, }, }, ), ], to: Assert( Assert { expression: Identifier( Identifier { id: "condition", span: Span { start: Position { line: 203, column: 30, }, end: Position { line: 203, column: 39, }, }, }, ), target: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 203, column: 41, }, end: Position { line: 203, column: 44, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "outputName", span: Span { start: Position { line: 203, column: 47, }, end: Position { line: 203, column: 57, }, }, }, ), }, ), Raw( PartRaw { content: "drvPath", span: Span { start: Position { line: 203, column: 59, }, end: Position { line: 203, column: 66, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 203, column: 23, }, end: Position { line: 203, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 204, column: 13, }, end: Position { line: 204, column: 20, }, }, }, ), ], to: Assert( Assert { expression: Identifier( Identifier { id: "condition", span: Span { start: Position { line: 204, column: 30, }, end: Position { line: 204, column: 39, }, }, }, ), target: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 204, column: 41, }, end: Position { line: 204, column: 44, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "outputName", span: Span { start: Position { line: 204, column: 47, }, end: Position { line: 204, column: 57, }, }, }, ), }, ), Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 204, column: 59, }, end: Position { line: 204, column: 66, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 204, column: 23, }, end: Position { line: 204, column: 66, }, }, }, ), }, ), ], span: Span { start: Position { line: 200, column: 34, }, end: Position { line: 205, column: 12, }, }, }, ), }, ), }, ), ], span: Span { start: Position { line: 199, column: 9, }, end: Position { line: 206, column: 10, }, }, }, ), span: Span { start: Position { line: 198, column: 33, }, end: Position { line: 206, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputsList", span: Span { start: Position { line: 208, column: 7, }, end: Position { line: 208, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 208, column: 21, }, end: Position { line: 208, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "outputToAttrListElement", span: Span { start: Position { line: 208, column: 25, }, end: Position { line: 208, column: 48, }, }, }, ), Identifier( Identifier { id: "outputs", span: Span { start: Position { line: 208, column: 49, }, end: Position { line: 208, column: 56, }, }, }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "commonAttrs", span: Span { start: Position { line: 209, column: 8, }, end: Position { line: 209, column: 19, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "drvPath", span: Span { start: Position { line: 210, column: 7, }, end: Position { line: 210, column: 14, }, }, }, ), ], to: Assert( Assert { expression: Identifier( Identifier { id: "condition", span: Span { start: Position { line: 210, column: 24, }, end: Position { line: 210, column: 33, }, }, }, ), target: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 210, column: 35, }, end: Position { line: 210, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "drvPath", span: Span { start: Position { line: 210, column: 39, }, end: Position { line: 210, column: 46, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 210, column: 17, }, end: Position { line: 210, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 211, column: 7, }, end: Position { line: 211, column: 14, }, }, }, ), ], to: Assert( Assert { expression: Identifier( Identifier { id: "condition", span: Span { start: Position { line: 211, column: 24, }, end: Position { line: 211, column: 33, }, }, }, ), target: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 211, column: 35, }, end: Position { line: 211, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 211, column: 39, }, end: Position { line: 211, column: 46, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 211, column: 17, }, end: Position { line: 211, column: 46, }, }, }, ), }, ), ], span: Span { start: Position { line: 209, column: 23, }, end: Position { line: 212, column: 6, }, }, }, ), }, ), span: Span { start: Position { line: 192, column: 5, }, end: Position { line: 212, column: 6, }, }, }, ), span: Span { start: Position { line: 191, column: 43, }, end: Position { line: 212, column: 6, }, }, }, ), span: Span { start: Position { line: 191, column: 33, }, end: Position { line: 212, column: 6, }, }, }, ), span: Span { start: Position { line: 191, column: 22, }, end: Position { line: 212, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hydraJob", span: Span { start: Position { line: 218, column: 3, }, end: Position { line: 218, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "drv", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputs", span: Span { start: Position { line: 220, column: 7, }, end: Position { line: 220, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 220, column: 17, }, end: Position { line: 220, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outputs", span: Span { start: Position { line: 220, column: 21, }, end: Position { line: 220, column: 28, }, }, }, ), ], default: Some( List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "out", span: Span { start: Position { line: 220, column: 34, }, end: Position { line: 220, column: 37, }, }, }, ), ], span: Span { start: Position { line: 220, column: 33, }, end: Position { line: 220, column: 38, }, }, }, ), ], span: Span { start: Position { line: 220, column: 32, }, end: Position { line: 220, column: 39, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "commonAttrs", span: Span { start: Position { line: 222, column: 7, }, end: Position { line: 222, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "drv", span: Span { start: Position { line: 223, column: 20, }, end: Position { line: 223, column: 23, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 223, column: 25, }, end: Position { line: 223, column: 29, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 223, column: 30, }, end: Position { line: 223, column: 36, }, }, }, ), Raw( PartRaw { content: "meta", span: Span { start: Position { line: 223, column: 37, }, end: Position { line: 223, column: 41, }, }, }, ), ], span: Span { start: Position { line: 223, column: 10, }, end: Position { line: 223, column: 42, }, }, }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "outputs", span: Span { start: Position { line: 223, column: 51, }, end: Position { line: 223, column: 58, }, }, }, ), ], span: Span { start: Position { line: 223, column: 10, }, end: Position { line: 223, column: 59, }, }, }, ), ], span: Span { start: Position { line: 223, column: 9, }, end: Position { line: 223, column: 61, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 224, column: 12, }, end: Position { line: 224, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalAttrs", span: Span { start: Position { line: 224, column: 16, }, end: Position { line: 224, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 224, column: 31, }, end: Position { line: 224, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_hydraAggregate", span: Span { start: Position { line: 224, column: 35, }, end: Position { line: 224, column: 50, }, }, }, ), ], default: Some( Identifier( Identifier { id: "false", span: Span { start: Position { line: 224, column: 54, }, end: Position { line: 224, column: 59, }, }, }, ), ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_hydraAggregate", span: Span { start: Position { line: 225, column: 11, }, end: Position { line: 225, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 225, column: 29, }, end: Position { line: 225, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "constituents", span: Span { start: Position { line: 226, column: 11, }, end: Position { line: 226, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 226, column: 26, }, end: Position { line: 226, column: 29, }, }, }, ), arguments: [ Identifier( Identifier { id: "hydraJob", span: Span { start: Position { line: 226, column: 30, }, end: Position { line: 226, column: 38, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 226, column: 40, }, end: Position { line: 226, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flatten", span: Span { start: Position { line: 226, column: 44, }, end: Position { line: 226, column: 51, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 226, column: 52, }, end: Position { line: 226, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "constituents", span: Span { start: Position { line: 226, column: 56, }, end: Position { line: 226, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 224, column: 61, }, end: Position { line: 227, column: 10, }, }, }, ), ], }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 228, column: 13, }, end: Position { line: 228, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listToAttrs", span: Span { start: Position { line: 228, column: 17, }, end: Position { line: 228, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "outputsList", span: Span { start: Position { line: 228, column: 29, }, end: Position { line: 228, column: 40, }, }, }, ), ], }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "makeOutput", span: Span { start: Position { line: 230, column: 7, }, end: Position { line: 230, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "outputName", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "output", span: Span { start: Position { line: 231, column: 13, }, end: Position { line: 231, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "drv", span: Span { start: Position { line: 231, column: 22, }, end: Position { line: 231, column: 25, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "outputName", span: Span { start: Position { line: 231, column: 28, }, end: Position { line: 231, column: 38, }, }, }, ), }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 232, column: 11, }, end: Position { line: 232, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "outputName", span: Span { start: Position { line: 232, column: 18, }, end: Position { line: 232, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 233, column: 11, }, end: Position { line: 233, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "commonAttrs", span: Span { start: Position { line: 233, column: 19, }, end: Position { line: 233, column: 30, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 234, column: 13, }, end: Position { line: 234, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "output", span: Span { start: Position { line: 234, column: 23, }, end: Position { line: 234, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 234, column: 30, }, end: Position { line: 234, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "drvPath", span: Span { start: Position { line: 235, column: 13, }, end: Position { line: 235, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "output", span: Span { start: Position { line: 235, column: 23, }, end: Position { line: 235, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "drvPath", span: Span { start: Position { line: 235, column: 30, }, end: Position { line: 235, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 236, column: 13, }, end: Position { line: 236, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "derivation", span: Span { start: Position { line: 236, column: 21, }, end: Position { line: 236, column: 31, }, }, }, ), ], span: Span { start: Position { line: 236, column: 20, }, end: Position { line: 236, column: 32, }, }, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "outputName", span: Span { start: Position { line: 237, column: 21, }, end: Position { line: 237, column: 31, }, }, }, ), ], span: Span { start: Position { line: 233, column: 35, }, end: Position { line: 237, column: 32, }, }, }, ), ], span: Span { start: Position { line: 233, column: 34, }, end: Position { line: 238, column: 12, }, }, }, ), }, ), }, ), ], span: Span { start: Position { line: 232, column: 9, }, end: Position { line: 239, column: 10, }, }, }, ), span: Span { start: Position { line: 231, column: 9, }, end: Position { line: 239, column: 10, }, }, }, ), span: Span { start: Position { line: 230, column: 20, }, end: Position { line: 239, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputsList", span: Span { start: Position { line: 241, column: 7, }, end: Position { line: 241, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 241, column: 21, }, end: Position { line: 241, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "makeOutput", span: Span { start: Position { line: 241, column: 25, }, end: Position { line: 241, column: 35, }, }, }, ), Identifier( Identifier { id: "outputs", span: Span { start: Position { line: 241, column: 36, }, end: Position { line: 241, column: 43, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "drv'", span: Span { start: Position { line: 243, column: 7, }, end: Position { line: 243, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 243, column: 15, }, end: Position { line: 243, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "head", span: Span { start: Position { line: 243, column: 19, }, end: Position { line: 243, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "outputsList", span: Span { start: Position { line: 243, column: 24, }, end: Position { line: 243, column: 35, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 243, column: 37, }, end: Position { line: 243, column: 42, }, }, }, ), ], default: None, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 244, column: 8, }, end: Position { line: 244, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "deepSeq", span: Span { start: Position { line: 244, column: 12, }, end: Position { line: 244, column: 19, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "drv'", span: Span { start: Position { line: 244, column: 20, }, end: Position { line: 244, column: 24, }, }, }, ), Identifier( Identifier { id: "drv'", span: Span { start: Position { line: 244, column: 25, }, end: Position { line: 244, column: 29, }, }, }, ), ], }, ), span: Span { start: Position { line: 219, column: 5, }, end: Position { line: 244, column: 29, }, }, }, ), span: Span { start: Position { line: 218, column: 14, }, end: Position { line: 244, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "makeScope", span: Span { start: Position { line: 255, column: 3, }, end: Position { line: 255, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "newScope", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "self", span: Span { start: Position { line: 256, column: 9, }, end: Position { line: 256, column: 13, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 256, column: 16, }, end: Position { line: 256, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "self", span: Span { start: Position { line: 256, column: 18, }, end: Position { line: 256, column: 22, }, }, }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "newScope", span: Span { start: Position { line: 257, column: 11, }, end: Position { line: 257, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "scope", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "newScope", span: Span { start: Position { line: 257, column: 29, }, end: Position { line: 257, column: 37, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "self", span: Span { start: Position { line: 257, column: 39, }, end: Position { line: 257, column: 43, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "scope", span: Span { start: Position { line: 257, column: 47, }, end: Position { line: 257, column: 52, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 257, column: 22, }, end: Position { line: 257, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "callPackage", span: Span { start: Position { line: 258, column: 11, }, end: Position { line: 258, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "self", span: Span { start: Position { line: 258, column: 25, }, end: Position { line: 258, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "newScope", span: Span { start: Position { line: 258, column: 30, }, end: Position { line: 258, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 258, column: 39, }, end: Position { line: 258, column: 41, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrideScope", span: Span { start: Position { line: 259, column: 11, }, end: Position { line: 259, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "g", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 259, column: 30, }, end: Position { line: 259, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 259, column: 34, }, end: Position { line: 259, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "`overrideScope` (from `lib.makeScope`) is deprecated. Do `overrideScope' (self: super: { … })` instead of `overrideScope (super: self: { … })`. All other overrides have the parameters in that order, including other definitions of `overrideScope`. This was the only definition violating the pattern.", span: Span { start: Position { line: 260, column: 14, }, end: Position { line: 260, column: 316, }, }, }, ), ], span: Span { start: Position { line: 260, column: 13, }, end: Position { line: 260, column: 317, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeScope", span: Span { start: Position { line: 261, column: 14, }, end: Position { line: 261, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "newScope", span: Span { start: Position { line: 261, column: 24, }, end: Position { line: 261, column: 32, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 261, column: 34, }, end: Position { line: 261, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fixedPoints", span: Span { start: Position { line: 261, column: 38, }, end: Position { line: 261, column: 49, }, }, }, ), Raw( PartRaw { content: "extends", span: Span { start: Position { line: 261, column: 50, }, end: Position { line: 261, column: 57, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 261, column: 59, }, end: Position { line: 261, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flip", span: Span { start: Position { line: 261, column: 63, }, end: Position { line: 261, column: 67, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "g", span: Span { start: Position { line: 261, column: 68, }, end: Position { line: 261, column: 69, }, }, }, ), ], }, ), Identifier( Identifier { id: "f", span: Span { start: Position { line: 261, column: 71, }, end: Position { line: 261, column: 72, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 259, column: 27, }, end: Position { line: 261, column: 74, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrideScope'", span: Span { start: Position { line: 262, column: 11, }, end: Position { line: 262, column: 25, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "g", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeScope", span: Span { start: Position { line: 262, column: 31, }, end: Position { line: 262, column: 40, }, }, }, ), arguments: [ Identifier( Identifier { id: "newScope", span: Span { start: Position { line: 262, column: 41, }, end: Position { line: 262, column: 49, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 262, column: 51, }, end: Position { line: 262, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fixedPoints", span: Span { start: Position { line: 262, column: 55, }, end: Position { line: 262, column: 66, }, }, }, ), Raw( PartRaw { content: "extends", span: Span { start: Position { line: 262, column: 67, }, end: Position { line: 262, column: 74, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "g", span: Span { start: Position { line: 262, column: 75, }, end: Position { line: 262, column: 76, }, }, }, ), Identifier( Identifier { id: "f", span: Span { start: Position { line: 262, column: 77, }, end: Position { line: 262, column: 78, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 262, column: 28, }, end: Position { line: 262, column: 79, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "packages", span: Span { start: Position { line: 263, column: 11, }, end: Position { line: 263, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "f", span: Span { start: Position { line: 263, column: 22, }, end: Position { line: 263, column: 23, }, }, }, ), }, ), ], span: Span { start: Position { line: 256, column: 26, }, end: Position { line: 264, column: 10, }, }, }, ), }, ), }, ), ], target: Identifier( Identifier { id: "self", span: Span { start: Position { line: 265, column: 8, }, end: Position { line: 265, column: 12, }, }, }, ), span: Span { start: Position { line: 256, column: 5, }, end: Position { line: 265, column: 12, }, }, }, ), span: Span { start: Position { line: 255, column: 25, }, end: Position { line: 265, column: 12, }, }, }, ), span: Span { start: Position { line: 255, column: 15, }, end: Position { line: 265, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "makeScopeWithSplicing", span: Span { start: Position { line: 269, column: 3, }, end: Position { line: 269, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "splicePackages", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "newScope", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "otherSplices", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "keep", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "extra", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "spliced0", span: Span { start: Position { line: 271, column: 7, }, end: Position { line: 271, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "splicePackages", span: Span { start: Position { line: 271, column: 18, }, end: Position { line: 271, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgsBuildBuild", span: Span { start: Position { line: 272, column: 9, }, end: Position { line: 272, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "otherSplices", span: Span { start: Position { line: 272, column: 26, }, end: Position { line: 272, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "selfBuildBuild", span: Span { start: Position { line: 272, column: 39, }, end: Position { line: 272, column: 53, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgsBuildHost", span: Span { start: Position { line: 273, column: 9, }, end: Position { line: 273, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "otherSplices", span: Span { start: Position { line: 273, column: 25, }, end: Position { line: 273, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "selfBuildHost", span: Span { start: Position { line: 273, column: 38, }, end: Position { line: 273, column: 51, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgsBuildTarget", span: Span { start: Position { line: 274, column: 9, }, end: Position { line: 274, column: 24, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "otherSplices", span: Span { start: Position { line: 274, column: 27, }, end: Position { line: 274, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "selfBuildTarget", span: Span { start: Position { line: 274, column: 40, }, end: Position { line: 274, column: 55, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgsHostHost", span: Span { start: Position { line: 275, column: 9, }, end: Position { line: 275, column: 21, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "otherSplices", span: Span { start: Position { line: 275, column: 24, }, end: Position { line: 275, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "selfHostHost", span: Span { start: Position { line: 275, column: 37, }, end: Position { line: 275, column: 49, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgsHostTarget", span: Span { start: Position { line: 276, column: 9, }, end: Position { line: 276, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "self", span: Span { start: Position { line: 276, column: 26, }, end: Position { line: 276, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgsTargetTarget", span: Span { start: Position { line: 277, column: 9, }, end: Position { line: 277, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "otherSplices", span: Span { start: Position { line: 277, column: 28, }, end: Position { line: 277, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "selfTargetTarget", span: Span { start: Position { line: 277, column: 41, }, end: Position { line: 277, column: 57, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 271, column: 33, }, end: Position { line: 278, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "spliced", span: Span { start: Position { line: 279, column: 7, }, end: Position { line: 279, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "extra", span: Span { start: Position { line: 279, column: 17, }, end: Position { line: 279, column: 22, }, }, }, ), arguments: [ Identifier( Identifier { id: "spliced0", span: Span { start: Position { line: 279, column: 23, }, end: Position { line: 279, column: 31, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "spliced0", span: Span { start: Position { line: 279, column: 35, }, end: Position { line: 279, column: 43, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "keep", span: Span { start: Position { line: 279, column: 47, }, end: Position { line: 279, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "self", span: Span { start: Position { line: 279, column: 52, }, end: Position { line: 279, column: 56, }, }, }, ), ], }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "self", span: Span { start: Position { line: 280, column: 7, }, end: Position { line: 280, column: 11, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 280, column: 14, }, end: Position { line: 280, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "self", span: Span { start: Position { line: 280, column: 16, }, end: Position { line: 280, column: 20, }, }, }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "newScope", span: Span { start: Position { line: 281, column: 9, }, end: Position { line: 281, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "scope", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "newScope", span: Span { start: Position { line: 281, column: 27, }, end: Position { line: 281, column: 35, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "spliced", span: Span { start: Position { line: 281, column: 37, }, end: Position { line: 281, column: 44, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "scope", span: Span { start: Position { line: 281, column: 48, }, end: Position { line: 281, column: 53, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 281, column: 20, }, end: Position { line: 281, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "callPackage", span: Span { start: Position { line: 282, column: 9, }, end: Position { line: 282, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "newScope", span: Span { start: Position { line: 282, column: 23, }, end: Position { line: 282, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "spliced", span: Span { start: Position { line: 282, column: 32, }, end: Position { line: 282, column: 39, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "overrideScope", span: Span { start: Position { line: 285, column: 9, }, end: Position { line: 285, column: 22, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "g", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "makeScopeWithSplicing", span: Span { start: Position { line: 285, column: 28, }, end: Position { line: 285, column: 49, }, }, }, ), arguments: [ Identifier( Identifier { id: "splicePackages", span: Span { start: Position { line: 286, column: 11, }, end: Position { line: 286, column: 25, }, }, }, ), Identifier( Identifier { id: "newScope", span: Span { start: Position { line: 287, column: 11, }, end: Position { line: 287, column: 19, }, }, }, ), Identifier( Identifier { id: "otherSplices", span: Span { start: Position { line: 288, column: 11, }, end: Position { line: 288, column: 23, }, }, }, ), Identifier( Identifier { id: "keep", span: Span { start: Position { line: 289, column: 11, }, end: Position { line: 289, column: 15, }, }, }, ), Identifier( Identifier { id: "extra", span: Span { start: Position { line: 290, column: 11, }, end: Position { line: 290, column: 16, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 291, column: 12, }, end: Position { line: 291, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fixedPoints", span: Span { start: Position { line: 291, column: 16, }, end: Position { line: 291, column: 27, }, }, }, ), Raw( PartRaw { content: "extends", span: Span { start: Position { line: 291, column: 28, }, end: Position { line: 291, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "g", span: Span { start: Position { line: 291, column: 36, }, end: Position { line: 291, column: 37, }, }, }, ), Identifier( Identifier { id: "f", span: Span { start: Position { line: 291, column: 38, }, end: Position { line: 291, column: 39, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 285, column: 25, }, end: Position { line: 291, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "packages", span: Span { start: Position { line: 292, column: 9, }, end: Position { line: 292, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "f", span: Span { start: Position { line: 292, column: 20, }, end: Position { line: 292, column: 21, }, }, }, ), }, ), ], span: Span { start: Position { line: 280, column: 24, }, end: Position { line: 293, column: 8, }, }, }, ), }, ), }, ), ], target: Identifier( Identifier { id: "self", span: Span { start: Position { line: 294, column: 8, }, end: Position { line: 294, column: 12, }, }, }, ), span: Span { start: Position { line: 270, column: 5, }, end: Position { line: 294, column: 12, }, }, }, ), span: Span { start: Position { line: 269, column: 80, }, end: Position { line: 294, column: 12, }, }, }, ), span: Span { start: Position { line: 269, column: 73, }, end: Position { line: 294, column: 12, }, }, }, ), span: Span { start: Position { line: 269, column: 67, }, end: Position { line: 294, column: 12, }, }, }, ), span: Span { start: Position { line: 269, column: 53, }, end: Position { line: 294, column: 12, }, }, }, ), span: Span { start: Position { line: 269, column: 43, }, end: Position { line: 294, column: 12, }, }, }, ), span: Span { start: Position { line: 269, column: 27, }, end: Position { line: 294, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 296, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 296, column: 2, }, }, }, )