Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "trivial", span: Span { start: Position { line: 17, column: 12, }, end: Position { line: 17, column: 19, }, }, }, ), ], default: None, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "libStr", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 9, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 19, column: 12, }, end: Position { line: 19, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "strings", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "libAttr", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 13, }, end: Position { line: 20, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsets", span: Span { start: Position { line: 20, column: 17, }, end: Position { line: 20, column: 25, }, }, }, ), ], default: None, }, ), }, ), Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 22, column: 12, }, end: Position { line: 22, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "isFunction", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 27, }, }, }, ), ], span: Span { start: Position { line: 18, column: 4, }, end: Position { line: 22, column: 28, }, }, }, ), ], target: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkValueStringDefault", span: Span { start: Position { line: 33, column: 3, }, end: Position { line: 33, column: 23, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [], }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 33, column: 38, }, end: Position { line: 33, column: 46, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "err", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "t", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "abort", span: Span { start: Position { line: 34, column: 21, }, end: Position { line: 34, column: 26, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "generators.mkValueStringDefault: ", span: Span { start: Position { line: 35, column: 13, }, end: Position { line: 35, column: 46, }, }, }, ), ], span: Span { start: Position { line: 35, column: 12, }, end: Position { line: 35, column: 47, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "t", span: Span { start: Position { line: 36, column: 15, }, end: Position { line: 36, column: 16, }, }, }, ), }, ), Raw( PartRaw { content: " not supported: ", span: Span { start: Position { line: 36, column: 13, }, end: Position { line: 36, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toPretty", span: Span { start: Position { line: 36, column: 35, }, end: Position { line: 36, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 36, column: 44, }, end: Position { line: 36, column: 46, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 36, column: 47, }, end: Position { line: 36, column: 48, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 36, column: 12, }, end: Position { line: 36, column: 50, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 34, column: 18, }, end: Position { line: 36, column: 51, }, }, }, ), span: Span { start: Position { line: 34, column: 15, }, end: Position { line: 36, column: 51, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isInt", span: Span { start: Position { line: 37, column: 13, }, end: Position { line: 37, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 37, column: 24, }, end: Position { line: 37, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 37, column: 31, }, end: Position { line: 37, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 37, column: 40, }, end: Position { line: 37, column: 41, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 39, column: 13, }, end: Position { line: 39, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isDerivation", span: Span { start: Position { line: 39, column: 17, }, end: Position { line: 39, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 39, column: 30, }, end: Position { line: 39, column: 31, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 39, column: 37, }, end: Position { line: 39, column: 45, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 39, column: 46, }, end: Position { line: 39, column: 47, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isString", span: Span { start: Position { line: 41, column: 13, }, end: Position { line: 41, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 41, column: 24, }, end: Position { line: 41, column: 25, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "v", span: Span { start: Position { line: 41, column: 31, }, end: Position { line: 41, column: 32, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "true", span: Span { start: Position { line: 43, column: 13, }, end: Position { line: 43, column: 17, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "v", span: Span { start: Position { line: 43, column: 24, }, end: Position { line: 43, column: 25, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "true", span: Span { start: Position { line: 43, column: 32, }, end: Position { line: 43, column: 36, }, }, }, ), ], span: Span { start: Position { line: 43, column: 31, }, end: Position { line: 43, column: 37, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "false", span: Span { start: Position { line: 45, column: 13, }, end: Position { line: 45, column: 18, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "v", span: Span { start: Position { line: 45, column: 24, }, end: Position { line: 45, column: 25, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "false", span: Span { start: Position { line: 45, column: 32, }, end: Position { line: 45, column: 37, }, }, }, ), ], span: Span { start: Position { line: 45, column: 31, }, end: Position { line: 45, column: 38, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "null", span: Span { start: Position { line: 46, column: 13, }, end: Position { line: 46, column: 17, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "v", span: Span { start: Position { line: 46, column: 24, }, end: Position { line: 46, column: 25, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "null", span: Span { start: Position { line: 46, column: 32, }, end: Position { line: 46, column: 36, }, }, }, ), ], span: Span { start: Position { line: 46, column: 31, }, end: Position { line: 46, column: 37, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 48, column: 13, }, end: Position { line: 48, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 48, column: 24, }, end: Position { line: 48, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "err", span: Span { start: Position { line: 48, column: 31, }, end: Position { line: 48, column: 34, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "lists", span: Span { start: Position { line: 48, column: 36, }, end: Position { line: 48, column: 41, }, }, }, ), ], span: Span { start: Position { line: 48, column: 35, }, end: Position { line: 48, column: 42, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 48, column: 43, }, end: Position { line: 48, column: 44, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 50, column: 13, }, end: Position { line: 50, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 50, column: 24, }, end: Position { line: 50, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "err", span: Span { start: Position { line: 50, column: 31, }, end: Position { line: 50, column: 34, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "attrsets", span: Span { start: Position { line: 50, column: 36, }, end: Position { line: 50, column: 44, }, }, }, ), ], span: Span { start: Position { line: 50, column: 35, }, end: Position { line: 50, column: 45, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 50, column: 46, }, end: Position { line: 50, column: 47, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isFunction", span: Span { start: Position { line: 52, column: 13, }, end: Position { line: 52, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 52, column: 24, }, end: Position { line: 52, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "err", span: Span { start: Position { line: 52, column: 31, }, end: Position { line: 52, column: 34, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "functions", span: Span { start: Position { line: 52, column: 36, }, end: Position { line: 52, column: 45, }, }, }, ), ], span: Span { start: Position { line: 52, column: 35, }, end: Position { line: 52, column: 46, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 52, column: 47, }, end: Position { line: 52, column: 48, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isFloat", span: Span { start: Position { line: 56, column: 13, }, end: Position { line: 56, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 56, column: 24, }, end: Position { line: 56, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 56, column: 31, }, end: Position { line: 56, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "floatToString", span: Span { start: Position { line: 56, column: 38, }, end: Position { line: 56, column: 51, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 56, column: 52, }, end: Position { line: 56, column: 53, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "err", span: Span { start: Position { line: 57, column: 10, }, end: Position { line: 57, column: 13, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "this value is", span: Span { start: Position { line: 57, column: 15, }, end: Position { line: 57, column: 28, }, }, }, ), ], span: Span { start: Position { line: 57, column: 14, }, end: Position { line: 57, column: 29, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 57, column: 31, }, end: Position { line: 57, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 57, column: 40, }, end: Position { line: 57, column: 41, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 56, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 52, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 50, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 48, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 46, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 45, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 43, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 41, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 39, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 37, column: 10, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 33, column: 33, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 33, column: 30, }, end: Position { line: 57, column: 42, }, }, }, ), span: Span { start: Position { line: 33, column: 26, }, end: Position { line: 57, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkKeyValueDefault", span: Span { start: Position { line: 69, column: 3, }, end: Position { line: 69, column: 20, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "mkValueString", default: Some( FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkValueStringDefault", span: Span { start: Position { line: 70, column: 21, }, end: Position { line: 70, column: 41, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 70, column: 42, }, end: Position { line: 70, column: 44, }, }, }, ), ], }, ), ), }, ], }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "sep", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 72, column: 8, }, end: Position { line: 72, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escape", span: Span { start: Position { line: 72, column: 15, }, end: Position { line: 72, column: 21, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "sep", span: Span { start: Position { line: 72, column: 23, }, end: Position { line: 72, column: 26, }, }, }, ), ], span: Span { start: Position { line: 72, column: 22, }, end: Position { line: 72, column: 27, }, }, }, ), Identifier( Identifier { id: "k", span: Span { start: Position { line: 72, column: 28, }, end: Position { line: 72, column: 29, }, }, }, ), ], }, ), }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "sep", span: Span { start: Position { line: 72, column: 32, }, end: Position { line: 72, column: 35, }, }, }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkValueString", span: Span { start: Position { line: 72, column: 38, }, end: Position { line: 72, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 72, column: 52, }, end: Position { line: 72, column: 53, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 72, column: 5, }, end: Position { line: 72, column: 55, }, }, }, ), span: Span { start: Position { line: 71, column: 14, }, end: Position { line: 72, column: 55, }, }, }, ), span: Span { start: Position { line: 71, column: 11, }, end: Position { line: 72, column: 55, }, }, }, ), span: Span { start: Position { line: 71, column: 6, }, end: Position { line: 72, column: 55, }, }, }, ), span: Span { start: Position { line: 69, column: 23, }, end: Position { line: 72, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toKeyValue", span: Span { start: Position { line: 82, column: 3, }, end: Position { line: 82, column: 13, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "mkKeyValue", default: Some( FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkKeyValueDefault", span: Span { start: Position { line: 83, column: 18, }, end: Position { line: 83, column: 35, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 83, column: 36, }, end: Position { line: 83, column: 38, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "=", span: Span { start: Position { line: 83, column: 40, }, end: Position { line: 83, column: 41, }, }, }, ), ], span: Span { start: Position { line: 83, column: 39, }, end: Position { line: 83, column: 42, }, }, }, ), ], }, ), ), }, FunctionHeadDestructuredArgument { identifier: "listsAsDuplicateKeys", default: Some( Identifier( Identifier { id: "false", span: Span { start: Position { line: 84, column: 28, }, end: Position { line: 84, column: 33, }, }, }, ), ), }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkLine", span: Span { start: Position { line: 86, column: 7, }, end: Position { line: 86, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkKeyValue", span: Span { start: Position { line: 86, column: 22, }, end: Position { line: 86, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "k", span: Span { start: Position { line: 86, column: 33, }, end: Position { line: 86, column: 34, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 86, column: 35, }, end: Position { line: 86, column: 36, }, }, }, ), ], }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 86, column: 40, }, end: Position { line: 86, column: 42, }, }, }, ), ], span: Span { start: Position { line: 86, column: 39, }, end: Position { line: 86, column: 43, }, }, }, ), }, ), span: Span { start: Position { line: 86, column: 19, }, end: Position { line: 86, column: 43, }, }, }, ), span: Span { start: Position { line: 86, column: 16, }, end: Position { line: 86, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkLines", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 14, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "listsAsDuplicateKeys", span: Span { start: Position { line: 87, column: 20, }, end: Position { line: 87, column: 40, }, }, }, ), then: Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 88, column: 20, }, end: Position { line: 88, column: 23, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkLine", span: Span { start: Position { line: 88, column: 25, }, end: Position { line: 88, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "k", span: Span { start: Position { line: 88, column: 32, }, end: Position { line: 88, column: 33, }, }, }, ), ], }, ), IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 88, column: 39, }, end: Position { line: 88, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isList", span: Span { start: Position { line: 88, column: 43, }, end: Position { line: 88, column: 49, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 88, column: 50, }, end: Position { line: 88, column: 51, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "v", span: Span { start: Position { line: 88, column: 57, }, end: Position { line: 88, column: 58, }, }, }, ), else_: List( List { elements: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 88, column: 65, }, end: Position { line: 88, column: 66, }, }, }, ), ], span: Span { start: Position { line: 88, column: 64, }, end: Position { line: 88, column: 67, }, }, }, ), span: Span { start: Position { line: 88, column: 36, }, end: Position { line: 88, column: 67, }, }, }, ), ], }, ), span: Span { start: Position { line: 88, column: 17, }, end: Position { line: 88, column: 68, }, }, }, ), span: Span { start: Position { line: 88, column: 14, }, end: Position { line: 88, column: 68, }, }, }, ), else_: Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkLine", span: Span { start: Position { line: 89, column: 23, }, end: Position { line: 89, column: 29, }, }, }, ), arguments: [ Identifier( Identifier { id: "k", span: Span { start: Position { line: 89, column: 30, }, end: Position { line: 89, column: 31, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 89, column: 32, }, end: Position { line: 89, column: 33, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 89, column: 20, }, end: Position { line: 89, column: 36, }, }, }, ), span: Span { start: Position { line: 89, column: 17, }, end: Position { line: 89, column: 36, }, }, }, ), span: Span { start: Position { line: 89, column: 14, }, end: Position { line: 89, column: 36, }, }, }, ), span: Span { start: Position { line: 87, column: 17, }, end: Position { line: 89, column: 36, }, }, }, ), }, ), ], target: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 90, column: 13, }, end: Position { line: 90, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStrings", span: Span { start: Position { line: 90, column: 20, }, end: Position { line: 90, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 90, column: 35, }, end: Position { line: 90, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatLists", span: Span { start: Position { line: 90, column: 39, }, end: Position { line: 90, column: 50, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libAttr", span: Span { start: Position { line: 90, column: 52, }, end: Position { line: 90, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 90, column: 60, }, end: Position { line: 90, column: 74, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "mkLines", span: Span { start: Position { line: 90, column: 75, }, end: Position { line: 90, column: 82, }, }, }, ), Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 90, column: 83, }, end: Position { line: 90, column: 88, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 90, column: 6, }, end: Position { line: 90, column: 90, }, }, }, ), span: Span { start: Position { line: 86, column: 3, }, end: Position { line: 90, column: 90, }, }, }, ), span: Span { start: Position { line: 82, column: 16, }, end: Position { line: 90, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toINI", span: Span { start: Position { line: 113, column: 3, }, end: Position { line: 113, column: 8, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "mkSectionName", default: Some( Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 115, column: 28, }, end: Position { line: 115, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escape", span: Span { start: Position { line: 115, column: 35, }, end: Position { line: 115, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "[", span: Span { start: Position { line: 115, column: 45, }, end: Position { line: 115, column: 46, }, }, }, ), ], span: Span { start: Position { line: 115, column: 44, }, end: Position { line: 115, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "]", span: Span { start: Position { line: 115, column: 49, }, end: Position { line: 115, column: 50, }, }, }, ), ], span: Span { start: Position { line: 115, column: 48, }, end: Position { line: 115, column: 51, }, }, }, ), ], span: Span { start: Position { line: 115, column: 42, }, end: Position { line: 115, column: 53, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 115, column: 54, }, end: Position { line: 115, column: 58, }, }, }, ), ], }, ), span: Span { start: Position { line: 115, column: 22, }, end: Position { line: 115, column: 58, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "mkKeyValue", default: Some( FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkKeyValueDefault", span: Span { start: Position { line: 117, column: 21, }, end: Position { line: 117, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 117, column: 39, }, end: Position { line: 117, column: 41, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "=", span: Span { start: Position { line: 117, column: 43, }, end: Position { line: 117, column: 44, }, }, }, ), ], span: Span { start: Position { line: 117, column: 42, }, end: Position { line: 117, column: 45, }, }, }, ), ], }, ), ), }, FunctionHeadDestructuredArgument { identifier: "listsAsDuplicateKeys", default: Some( Identifier( Identifier { id: "false", span: Span { start: Position { line: 119, column: 28, }, end: Position { line: 119, column: 33, }, }, }, ), ), }, ], }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrsOfAttrs", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mapAttrsToStringsSep", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 29, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "sep", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "mapFn", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 124, column: 11, }, end: Position { line: 124, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 124, column: 18, }, end: Position { line: 124, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "sep", span: Span { start: Position { line: 124, column: 35, }, end: Position { line: 124, column: 38, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libAttr", span: Span { start: Position { line: 125, column: 14, }, end: Position { line: 125, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 125, column: 22, }, end: Position { line: 125, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "mapFn", span: Span { start: Position { line: 125, column: 37, }, end: Position { line: 125, column: 42, }, }, }, ), Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 125, column: 43, }, end: Position { line: 125, column: 48, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 123, column: 44, }, end: Position { line: 125, column: 49, }, }, }, ), span: Span { start: Position { line: 123, column: 37, }, end: Position { line: 125, column: 49, }, }, }, ), span: Span { start: Position { line: 123, column: 32, }, end: Position { line: 125, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkSection", span: Span { start: Position { line: 126, column: 9, }, end: Position { line: 126, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "sectName", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "sectValues", }, ), body: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 127, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkSectionName", span: Span { start: Position { line: 127, column: 14, }, end: Position { line: 127, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "sectName", span: Span { start: Position { line: 127, column: 28, }, end: Position { line: 127, column: 36, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "]\n", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 128, column: 9, }, }, }, ), ], span: Span { start: Position { line: 126, column: 43, }, end: Position { line: 128, column: 11, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toKeyValue", span: Span { start: Position { line: 128, column: 14, }, end: Position { line: 128, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "mkKeyValue", span: Span { start: Position { line: 128, column: 35, }, end: Position { line: 128, column: 45, }, }, }, ), Raw( PartRaw { content: "listsAsDuplicateKeys", span: Span { start: Position { line: 128, column: 46, }, end: Position { line: 128, column: 66, }, }, }, ), ], span: Span { start: Position { line: 128, column: 26, }, end: Position { line: 128, column: 67, }, }, }, ), ], span: Span { start: Position { line: 128, column: 25, }, end: Position { line: 128, column: 69, }, }, }, ), Identifier( Identifier { id: "sectValues", span: Span { start: Position { line: 128, column: 70, }, end: Position { line: 128, column: 80, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 126, column: 31, }, end: Position { line: 128, column: 80, }, }, }, ), span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 128, column: 80, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToStringsSep", span: Span { start: Position { line: 131, column: 7, }, end: Position { line: 131, column: 27, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 131, column: 29, }, end: Position { line: 131, column: 31, }, }, }, ), ], span: Span { start: Position { line: 131, column: 28, }, end: Position { line: 131, column: 32, }, }, }, ), Identifier( Identifier { id: "mkSection", span: Span { start: Position { line: 131, column: 33, }, end: Position { line: 131, column: 42, }, }, }, ), Identifier( Identifier { id: "attrsOfAttrs", span: Span { start: Position { line: 131, column: 43, }, end: Position { line: 131, column: 55, }, }, }, ), ], }, ), span: Span { start: Position { line: 121, column: 5, }, end: Position { line: 131, column: 55, }, }, }, ), span: Span { start: Position { line: 120, column: 6, }, end: Position { line: 131, column: 55, }, }, }, ), span: Span { start: Position { line: 113, column: 11, }, end: Position { line: 131, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toINIWithGlobalSection", span: Span { start: Position { line: 164, column: 3, }, end: Position { line: 164, column: 25, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "mkSectionName", default: Some( Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 166, column: 28, }, end: Position { line: 166, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escape", span: Span { start: Position { line: 166, column: 35, }, end: Position { line: 166, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "[", span: Span { start: Position { line: 166, column: 45, }, end: Position { line: 166, column: 46, }, }, }, ), ], span: Span { start: Position { line: 166, column: 44, }, end: Position { line: 166, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "]", span: Span { start: Position { line: 166, column: 49, }, end: Position { line: 166, column: 50, }, }, }, ), ], span: Span { start: Position { line: 166, column: 48, }, end: Position { line: 166, column: 51, }, }, }, ), ], span: Span { start: Position { line: 166, column: 42, }, end: Position { line: 166, column: 53, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 166, column: 54, }, end: Position { line: 166, column: 58, }, }, }, ), ], }, ), span: Span { start: Position { line: 166, column: 22, }, end: Position { line: 166, column: 58, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "mkKeyValue", default: Some( FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkKeyValueDefault", span: Span { start: Position { line: 168, column: 21, }, end: Position { line: 168, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 168, column: 39, }, end: Position { line: 168, column: 41, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "=", span: Span { start: Position { line: 168, column: 43, }, end: Position { line: 168, column: 44, }, }, }, ), ], span: Span { start: Position { line: 168, column: 42, }, end: Position { line: 168, column: 45, }, }, }, ), ], }, ), ), }, FunctionHeadDestructuredArgument { identifier: "listsAsDuplicateKeys", default: Some( Identifier( Identifier { id: "false", span: Span { start: Position { line: 170, column: 28, }, end: Position { line: 170, column: 33, }, }, }, ), ), }, ], }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "globalSection", default: None, }, FunctionHeadDestructuredArgument { identifier: "sections", default: None, }, ], }, ), body: BinaryOperation( BinaryOperation { left: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "globalSection", span: Span { start: Position { line: 172, column: 10, }, end: Position { line: 172, column: 23, }, }, }, ), operator: EqualTo, right: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 172, column: 27, }, end: Position { line: 172, column: 29, }, }, }, ), }, ), then: String( String_ { parts: [], span: Span { start: Position { line: 173, column: 12, }, end: Position { line: 173, column: 14, }, }, }, ), else_: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toKeyValue", span: Span { start: Position { line: 174, column: 13, }, end: Position { line: 174, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "mkKeyValue", span: Span { start: Position { line: 174, column: 34, }, end: Position { line: 174, column: 44, }, }, }, ), Raw( PartRaw { content: "listsAsDuplicateKeys", span: Span { start: Position { line: 174, column: 45, }, end: Position { line: 174, column: 65, }, }, }, ), ], span: Span { start: Position { line: 174, column: 25, }, end: Position { line: 174, column: 66, }, }, }, ), ], span: Span { start: Position { line: 174, column: 24, }, end: Position { line: 174, column: 68, }, }, }, ), Identifier( Identifier { id: "globalSection", span: Span { start: Position { line: 174, column: 69, }, end: Position { line: 174, column: 82, }, }, }, ), ], }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 175, column: 15, }, end: Position { line: 175, column: 17, }, }, }, ), ], span: Span { start: Position { line: 175, column: 14, }, end: Position { line: 175, column: 18, }, }, }, ), }, ), span: Span { start: Position { line: 172, column: 7, }, end: Position { line: 175, column: 18, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toINI", span: Span { start: Position { line: 176, column: 8, }, end: Position { line: 176, column: 13, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "mkSectionName", span: Span { start: Position { line: 176, column: 24, }, end: Position { line: 176, column: 37, }, }, }, ), Raw( PartRaw { content: "mkKeyValue", span: Span { start: Position { line: 176, column: 38, }, end: Position { line: 176, column: 48, }, }, }, ), Raw( PartRaw { content: "listsAsDuplicateKeys", span: Span { start: Position { line: 176, column: 49, }, end: Position { line: 176, column: 69, }, }, }, ), ], span: Span { start: Position { line: 176, column: 15, }, end: Position { line: 176, column: 70, }, }, }, ), ], span: Span { start: Position { line: 176, column: 14, }, end: Position { line: 176, column: 72, }, }, }, ), Identifier( Identifier { id: "sections", span: Span { start: Position { line: 176, column: 73, }, end: Position { line: 176, column: 81, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 171, column: 6, }, end: Position { line: 176, column: 82, }, }, }, ), span: Span { start: Position { line: 164, column: 28, }, end: Position { line: 176, column: 82, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toGitINI", span: Span { start: Position { line: 196, column: 3, }, end: Position { line: 196, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 197, column: 10, }, end: Position { line: 197, column: 18, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkSectionName", span: Span { start: Position { line: 199, column: 7, }, end: Position { line: 199, column: 20, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "containsQuote", span: Span { start: Position { line: 201, column: 11, }, end: Position { line: 201, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 201, column: 27, }, end: Position { line: 201, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hasInfix", span: Span { start: Position { line: 201, column: 34, }, end: Position { line: 201, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 201, column: 45, }, end: Position { line: 201, column: 46, }, }, }, ), ], span: Span { start: Position { line: 201, column: 43, }, end: Position { line: 201, column: 48, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 201, column: 49, }, end: Position { line: 201, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sections", span: Span { start: Position { line: 202, column: 11, }, end: Position { line: 202, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 202, column: 22, }, end: Position { line: 202, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "splitString", span: Span { start: Position { line: 202, column: 29, }, end: Position { line: 202, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 202, column: 42, }, end: Position { line: 202, column: 43, }, }, }, ), ], span: Span { start: Position { line: 202, column: 41, }, end: Position { line: 202, column: 44, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 202, column: 45, }, end: Position { line: 202, column: 49, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "section", span: Span { start: Position { line: 203, column: 11, }, end: Position { line: 203, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 203, column: 21, }, end: Position { line: 203, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "sections", span: Span { start: Position { line: 203, column: 26, }, end: Position { line: 203, column: 34, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "subsections", span: Span { start: Position { line: 204, column: 11, }, end: Position { line: 204, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 204, column: 25, }, end: Position { line: 204, column: 29, }, }, }, ), arguments: [ Identifier( Identifier { id: "sections", span: Span { start: Position { line: 204, column: 30, }, end: Position { line: 204, column: 38, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "subsection", span: Span { start: Position { line: 205, column: 11, }, end: Position { line: 205, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 205, column: 24, }, end: Position { line: 205, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 205, column: 42, }, end: Position { line: 205, column: 43, }, }, }, ), ], span: Span { start: Position { line: 205, column: 41, }, end: Position { line: 205, column: 44, }, }, }, ), Identifier( Identifier { id: "subsections", span: Span { start: Position { line: 205, column: 45, }, end: Position { line: 205, column: 56, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "containsQuote", span: Span { start: Position { line: 206, column: 15, }, end: Position { line: 206, column: 28, }, }, }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "subsections", span: Span { start: Position { line: 206, column: 32, }, end: Position { line: 206, column: 43, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 206, column: 47, }, end: Position { line: 206, column: 50, }, }, }, ), }, ), }, ), then: Identifier( Identifier { id: "name", span: Span { start: Position { line: 207, column: 11, }, end: Position { line: 207, column: 15, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "section", span: Span { start: Position { line: 209, column: 15, }, end: Position { line: 209, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: " \"", span: Span { start: Position { line: 209, column: 13, }, end: Position { line: 209, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "subsection", span: Span { start: Position { line: 209, column: 27, }, end: Position { line: 209, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 209, column: 13, }, end: Position { line: 209, column: 39, }, }, }, ), ], span: Span { start: Position { line: 209, column: 11, }, end: Position { line: 209, column: 41, }, }, }, ), span: Span { start: Position { line: 206, column: 12, }, end: Position { line: 209, column: 41, }, }, }, ), span: Span { start: Position { line: 200, column: 9, }, end: Position { line: 209, column: 41, }, }, }, ), span: Span { start: Position { line: 199, column: 23, }, end: Position { line: 209, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkKeyValue", span: Span { start: Position { line: 212, column: 7, }, end: Position { line: 212, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkKeyValue", span: Span { start: Position { line: 213, column: 13, }, end: Position { line: 213, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkKeyValueDefault", span: Span { start: Position { line: 213, column: 26, }, end: Position { line: 213, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 213, column: 44, }, end: Position { line: 213, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: " = ", span: Span { start: Position { line: 213, column: 49, }, end: Position { line: 213, column: 52, }, }, }, ), ], span: Span { start: Position { line: 213, column: 48, }, end: Position { line: 213, column: 53, }, }, }, ), Identifier( Identifier { id: "k", span: Span { start: Position { line: 213, column: 54, }, end: Position { line: 213, column: 55, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 214, column: 12, }, end: Position { line: 214, column: 28, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 214, column: 30, }, end: Position { line: 214, column: 32, }, }, }, ), ], span: Span { start: Position { line: 214, column: 29, }, end: Position { line: 214, column: 33, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 214, column: 35, }, end: Position { line: 214, column: 38, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "kv", }, ), body: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "\t", span: Span { start: Position { line: 214, column: 45, }, end: Position { line: 214, column: 47, }, }, }, ), ], span: Span { start: Position { line: 214, column: 44, }, end: Position { line: 214, column: 48, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkKeyValue", span: Span { start: Position { line: 214, column: 51, }, end: Position { line: 214, column: 61, }, }, }, ), arguments: [ Identifier( Identifier { id: "kv", span: Span { start: Position { line: 214, column: 62, }, end: Position { line: 214, column: 64, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 214, column: 40, }, end: Position { line: 214, column: 64, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 214, column: 67, }, end: Position { line: 214, column: 70, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toList", span: Span { start: Position { line: 214, column: 71, }, end: Position { line: 214, column: 77, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 214, column: 78, }, end: Position { line: 214, column: 79, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 213, column: 9, }, end: Position { line: 214, column: 81, }, }, }, ), span: Span { start: Position { line: 212, column: 23, }, end: Position { line: 214, column: 81, }, }, }, ), span: Span { start: Position { line: 212, column: 20, }, end: Position { line: 214, column: 81, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gitFlattenAttrs", span: Span { start: Position { line: 217, column: 7, }, end: Position { line: 217, column: 22, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "recurse", span: Span { start: Position { line: 218, column: 9, }, end: Position { line: 218, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "path", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 219, column: 14, }, end: Position { line: 219, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 219, column: 22, }, end: Position { line: 219, column: 27, }, }, }, ), ], }, ), operator: LogicalAnd, right: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 219, column: 32, }, end: Position { line: 219, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isDerivation", span: Span { start: Position { line: 219, column: 36, }, end: Position { line: 219, column: 48, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 219, column: 49, }, end: Position { line: 219, column: 54, }, }, }, ), ], }, ), span: Span { start: Position { line: 219, column: 31, }, end: Position { line: 219, column: 54, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 220, column: 13, }, end: Position { line: 220, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 220, column: 17, }, end: Position { line: 220, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recurse", span: Span { start: Position { line: 220, column: 46, }, end: Position { line: 220, column: 53, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 220, column: 57, }, end: Position { line: 220, column: 61, }, }, }, ), ], span: Span { start: Position { line: 220, column: 55, }, end: Position { line: 220, column: 63, }, }, }, ), operator: Concatenation, right: Identifier( Identifier { id: "path", span: Span { start: Position { line: 220, column: 67, }, end: Position { line: 220, column: 71, }, }, }, ), }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 220, column: 73, }, end: Position { line: 220, column: 78, }, }, }, ), ], }, ), span: Span { start: Position { line: 220, column: 39, }, end: Position { line: 220, column: 78, }, }, }, ), span: Span { start: Position { line: 220, column: 33, }, end: Position { line: 220, column: 78, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 220, column: 80, }, end: Position { line: 220, column: 85, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 221, column: 19, }, end: Position { line: 221, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 221, column: 26, }, end: Position { line: 221, column: 30, }, }, }, ), ], }, ), operator: GreaterThan, right: Integer( Integer { value: "1", span: Span { start: Position { line: 221, column: 33, }, end: Position { line: 221, column: 34, }, }, }, ), }, ), then: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 222, column: 15, }, end: Position { line: 222, column: 31, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 222, column: 33, }, end: Position { line: 222, column: 34, }, }, }, ), ], span: Span { start: Position { line: 222, column: 32, }, end: Position { line: 222, column: 35, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 222, column: 37, }, end: Position { line: 222, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "reverseList", span: Span { start: Position { line: 222, column: 41, }, end: Position { line: 222, column: 52, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 222, column: 54, }, end: Position { line: 222, column: 58, }, }, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 222, column: 59, }, end: Position { line: 222, column: 63, }, }, }, ), ], }, ), ], }, ), ], }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 222, column: 69, }, end: Position { line: 222, column: 73, }, }, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 222, column: 74, }, end: Position { line: 222, column: 78, }, }, }, ), ], }, ), }, ), ], to: Identifier( Identifier { id: "value", span: Span { start: Position { line: 222, column: 82, }, end: Position { line: 222, column: 87, }, }, }, ), }, ), ], span: Span { start: Position { line: 221, column: 40, }, end: Position { line: 223, column: 12, }, }, }, ), else_: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 224, column: 15, }, end: Position { line: 224, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 224, column: 20, }, end: Position { line: 224, column: 24, }, }, }, ), ], }, ), }, ), ], to: Identifier( Identifier { id: "value", span: Span { start: Position { line: 224, column: 28, }, end: Position { line: 224, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 223, column: 18, }, end: Position { line: 225, column: 12, }, }, }, ), span: Span { start: Position { line: 221, column: 16, }, end: Position { line: 225, column: 12, }, }, }, ), span: Span { start: Position { line: 219, column: 11, }, end: Position { line: 225, column: 12, }, }, }, ), span: Span { start: Position { line: 218, column: 25, }, end: Position { line: 225, column: 12, }, }, }, ), span: Span { start: Position { line: 218, column: 19, }, end: Position { line: 225, column: 12, }, }, }, ), }, ), ], target: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 226, column: 17, }, end: Position { line: 226, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "foldl", span: Span { start: Position { line: 226, column: 21, }, end: Position { line: 226, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 226, column: 27, }, end: Position { line: 226, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "recursiveUpdate", span: Span { start: Position { line: 226, column: 31, }, end: Position { line: 226, column: 46, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 226, column: 47, }, end: Position { line: 226, column: 50, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 226, column: 52, }, end: Position { line: 226, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flatten", span: Span { start: Position { line: 226, column: 56, }, end: Position { line: 226, column: 63, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recurse", span: Span { start: Position { line: 226, column: 65, }, end: Position { line: 226, column: 72, }, }, }, ), arguments: [ List( List { elements: [], span: Span { start: Position { line: 226, column: 73, }, end: Position { line: 226, column: 76, }, }, }, ), Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 226, column: 77, }, end: Position { line: 226, column: 82, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 226, column: 10, }, end: Position { line: 226, column: 84, }, }, }, ), span: Span { start: Position { line: 217, column: 25, }, end: Position { line: 226, column: 84, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toINI_", span: Span { start: Position { line: 228, column: 7, }, end: Position { line: 228, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toINI", span: Span { start: Position { line: 228, column: 16, }, end: Position { line: 228, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "mkKeyValue", span: Span { start: Position { line: 228, column: 32, }, end: Position { line: 228, column: 42, }, }, }, ), Raw( PartRaw { content: "mkSectionName", span: Span { start: Position { line: 228, column: 43, }, end: Position { line: 228, column: 56, }, }, }, ), ], span: Span { start: Position { line: 228, column: 23, }, end: Position { line: 228, column: 57, }, }, }, ), ], span: Span { start: Position { line: 228, column: 22, }, end: Position { line: 228, column: 59, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toINI_", span: Span { start: Position { line: 230, column: 7, }, end: Position { line: 230, column: 13, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "gitFlattenAttrs", span: Span { start: Position { line: 230, column: 15, }, end: Position { line: 230, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 230, column: 31, }, end: Position { line: 230, column: 36, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 198, column: 5, }, end: Position { line: 230, column: 37, }, }, }, ), span: Span { start: Position { line: 197, column: 5, }, end: Position { line: 230, column: 37, }, }, }, ), span: Span { start: Position { line: 196, column: 14, }, end: Position { line: 230, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 235, column: 3, }, end: Position { line: 235, column: 9, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [], }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 235, column: 16, }, end: Position { line: 235, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 235, column: 25, }, end: Position { line: 235, column: 31, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 235, column: 12, }, end: Position { line: 235, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toYAML", span: Span { start: Position { line: 243, column: 3, }, end: Position { line: 243, column: 9, }, }, }, ), ], to: Identifier( Identifier { id: "toJSON", span: Span { start: Position { line: 243, column: 12, }, end: Position { line: 243, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withRecursion", span: Span { start: Position { line: 245, column: 3, }, end: Position { line: 245, column: 16, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "depthLimit", default: None, }, FunctionHeadDestructuredArgument { identifier: "throwOnDepthLimit", default: Some( Identifier( Identifier { id: "true", span: Span { start: Position { line: 250, column: 27, }, end: Position { line: 250, column: 31, }, }, }, ), ), }, ], }, ), body: Assert( Assert { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 252, column: 14, }, end: Position { line: 252, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isInt", span: Span { start: Position { line: 252, column: 23, }, end: Position { line: 252, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "depthLimit", span: Span { start: Position { line: 252, column: 29, }, end: Position { line: 252, column: 39, }, }, }, ), ], }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "specialAttrs", span: Span { start: Position { line: 254, column: 9, }, end: Position { line: 254, column: 21, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "__functor", span: Span { start: Position { line: 255, column: 12, }, end: Position { line: 255, column: 21, }, }, }, ), ], span: Span { start: Position { line: 255, column: 11, }, end: Position { line: 255, column: 22, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "__functionArgs", span: Span { start: Position { line: 256, column: 12, }, end: Position { line: 256, column: 26, }, }, }, ), ], span: Span { start: Position { line: 256, column: 11, }, end: Position { line: 256, column: 27, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "__toString", span: Span { start: Position { line: 257, column: 12, }, end: Position { line: 257, column: 22, }, }, }, ), ], span: Span { start: Position { line: 257, column: 11, }, end: Position { line: 257, column: 23, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "__pretty", span: Span { start: Position { line: 258, column: 12, }, end: Position { line: 258, column: 20, }, }, }, ), ], span: Span { start: Position { line: 258, column: 11, }, end: Position { line: 258, column: 21, }, }, }, ), ], span: Span { start: Position { line: 254, column: 24, }, end: Position { line: 259, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "stepIntoAttr", span: Span { start: Position { line: 260, column: 9, }, end: Position { line: 260, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "evalNext", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 261, column: 14, }, end: Position { line: 261, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "elem", span: Span { start: Position { line: 261, column: 23, }, end: Position { line: 261, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 261, column: 28, }, end: Position { line: 261, column: 32, }, }, }, ), Identifier( Identifier { id: "specialAttrs", span: Span { start: Position { line: 261, column: 33, }, end: Position { line: 261, column: 45, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "id", span: Span { start: Position { line: 262, column: 18, }, end: Position { line: 262, column: 20, }, }, }, ), else_: Identifier( Identifier { id: "evalNext", span: Span { start: Position { line: 263, column: 18, }, end: Position { line: 263, column: 26, }, }, }, ), span: Span { start: Position { line: 261, column: 11, }, end: Position { line: 263, column: 26, }, }, }, ), span: Span { start: Position { line: 260, column: 34, }, end: Position { line: 263, column: 26, }, }, }, ), span: Span { start: Position { line: 260, column: 24, }, end: Position { line: 263, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "transform", span: Span { start: Position { line: 264, column: 9, }, end: Position { line: 264, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "depth", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "depthLimit", span: Span { start: Position { line: 265, column: 14, }, end: Position { line: 265, column: 24, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 265, column: 28, }, end: Position { line: 265, column: 32, }, }, }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "depth", span: Span { start: Position { line: 265, column: 36, }, end: Position { line: 265, column: 41, }, }, }, ), operator: GreaterThan, right: Identifier( Identifier { id: "depthLimit", span: Span { start: Position { line: 265, column: 44, }, end: Position { line: 265, column: 54, }, }, }, ), }, ), }, ), then: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "throwOnDepthLimit", span: Span { start: Position { line: 266, column: 16, }, end: Position { line: 266, column: 33, }, }, }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 267, column: 20, }, end: Position { line: 267, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Exceeded maximum eval-depth limit of ", span: Span { start: Position { line: 267, column: 27, }, end: Position { line: 267, column: 86, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 267, column: 66, }, end: Position { line: 267, column: 74, }, }, }, ), arguments: [ Identifier( Identifier { id: "depthLimit", span: Span { start: Position { line: 267, column: 75, }, end: Position { line: 267, column: 85, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " while trying to evaluate with `generators.withRecursion'!", span: Span { start: Position { line: 267, column: 27, }, end: Position { line: 267, column: 144, }, }, }, ), ], span: Span { start: Position { line: 267, column: 26, }, end: Position { line: 267, column: 145, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "const", span: Span { start: Position { line: 268, column: 20, }, end: Position { line: 268, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 268, column: 27, }, end: Position { line: 268, column: 40, }, }, }, ), ], span: Span { start: Position { line: 268, column: 26, }, end: Position { line: 268, column: 41, }, }, }, ), ], }, ), span: Span { start: Position { line: 266, column: 13, }, end: Position { line: 268, column: 41, }, }, }, ), else_: Identifier( Identifier { id: "id", span: Span { start: Position { line: 269, column: 16, }, end: Position { line: 269, column: 18, }, }, }, ), span: Span { start: Position { line: 265, column: 11, }, end: Position { line: 269, column: 18, }, }, }, ), span: Span { start: Position { line: 264, column: 21, }, end: Position { line: 269, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mapAny", span: Span { start: Position { line: 270, column: 9, }, end: Position { line: 270, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 270, column: 23, }, end: Position { line: 270, column: 31, }, }, }, ), target: Function( Function { head: Simple( FunctionHeadSimple { identifier: "depth", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "evalNext", span: Span { start: Position { line: 272, column: 13, }, end: Position { line: 272, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAny", span: Span { start: Position { line: 272, column: 27, }, end: Position { line: 272, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "depth", span: Span { start: Position { line: 272, column: 35, }, end: Position { line: 272, column: 40, }, }, }, ), operator: Addition, right: Integer( Integer { value: "1", span: Span { start: Position { line: 272, column: 43, }, end: Position { line: 272, column: 44, }, }, }, ), }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "transform", span: Span { start: Position { line: 272, column: 47, }, end: Position { line: 272, column: 56, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "depth", span: Span { start: Position { line: 272, column: 58, }, end: Position { line: 272, column: 63, }, }, }, ), operator: Addition, right: Integer( Integer { value: "1", span: Span { start: Position { line: 272, column: 66, }, end: Position { line: 272, column: 67, }, }, }, ), }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 272, column: 69, }, end: Position { line: 272, column: 70, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 272, column: 24, }, end: Position { line: 272, column: 71, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 274, column: 16, }, end: Position { line: 274, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 274, column: 24, }, end: Position { line: 274, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 274, column: 31, }, end: Position { line: 274, column: 39, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "stepIntoAttr", span: Span { start: Position { line: 274, column: 41, }, end: Position { line: 274, column: 53, }, }, }, ), arguments: [ Identifier( Identifier { id: "evalNext", span: Span { start: Position { line: 274, column: 54, }, end: Position { line: 274, column: 62, }, }, }, ), ], }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 274, column: 64, }, end: Position { line: 274, column: 65, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 275, column: 21, }, end: Position { line: 275, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 275, column: 28, }, end: Position { line: 275, column: 29, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 275, column: 35, }, end: Position { line: 275, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "evalNext", span: Span { start: Position { line: 275, column: 39, }, end: Position { line: 275, column: 47, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 275, column: 48, }, end: Position { line: 275, column: 49, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "transform", span: Span { start: Position { line: 276, column: 18, }, end: Position { line: 276, column: 27, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "depth", span: Span { start: Position { line: 276, column: 29, }, end: Position { line: 276, column: 34, }, }, }, ), operator: Addition, right: Integer( Integer { value: "1", span: Span { start: Position { line: 276, column: 37, }, end: Position { line: 276, column: 38, }, }, }, ), }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 276, column: 40, }, end: Position { line: 276, column: 41, }, }, }, ), ], }, ), span: Span { start: Position { line: 275, column: 18, }, end: Position { line: 276, column: 41, }, }, }, ), span: Span { start: Position { line: 274, column: 13, }, end: Position { line: 276, column: 41, }, }, }, ), span: Span { start: Position { line: 271, column: 11, }, end: Position { line: 276, column: 41, }, }, }, ), span: Span { start: Position { line: 270, column: 40, }, end: Position { line: 276, column: 41, }, }, }, ), span: Span { start: Position { line: 270, column: 33, }, end: Position { line: 276, column: 41, }, }, }, ), span: Span { start: Position { line: 270, column: 18, }, end: Position { line: 276, column: 41, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAny", span: Span { start: Position { line: 278, column: 9, }, end: Position { line: 278, column: 15, }, }, }, ), arguments: [ Integer( Integer { value: "0", span: Span { start: Position { line: 278, column: 16, }, end: Position { line: 278, column: 17, }, }, }, ), ], }, ), span: Span { start: Position { line: 253, column: 7, }, end: Position { line: 278, column: 17, }, }, }, ), span: Span { start: Position { line: 252, column: 7, }, end: Position { line: 278, column: 17, }, }, }, ), span: Span { start: Position { line: 246, column: 5, }, end: Position { line: 278, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toPretty", span: Span { start: Position { line: 283, column: 3, }, end: Position { line: 283, column: 11, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "allowPrettyValues", default: Some( Identifier( Identifier { id: "false", span: Span { start: Position { line: 287, column: 25, }, end: Position { line: 287, column: 30, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "multiline", default: Some( Identifier( Identifier { id: "true", span: Span { start: Position { line: 289, column: 17, }, end: Position { line: 289, column: 21, }, }, }, ), ), }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "go", span: Span { start: Position { line: 292, column: 5, }, end: Position { line: 292, column: 7, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "indent", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 292, column: 26, }, end: Position { line: 292, column: 34, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isPath", span: Span { start: Position { line: 293, column: 13, }, end: Position { line: 293, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "typeOf", span: Span { start: Position { line: 293, column: 27, }, end: Position { line: 293, column: 33, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 293, column: 34, }, end: Position { line: 293, column: 35, }, }, }, ), ], }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 293, column: 40, }, end: Position { line: 293, column: 44, }, }, }, ), ], span: Span { start: Position { line: 293, column: 39, }, end: Position { line: 293, column: 45, }, }, }, ), }, ), span: Span { start: Position { line: 293, column: 24, }, end: Position { line: 293, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "introSpace", span: Span { start: Position { line: 294, column: 13, }, end: Position { line: 294, column: 23, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "multiline", span: Span { start: Position { line: 294, column: 29, }, end: Position { line: 294, column: 38, }, }, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 294, column: 45, }, end: Position { line: 294, column: 56, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "indent", span: Span { start: Position { line: 294, column: 49, }, end: Position { line: 294, column: 55, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 294, column: 45, }, end: Position { line: 294, column: 58, }, }, }, ), ], span: Span { start: Position { line: 294, column: 44, }, end: Position { line: 294, column: 59, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 294, column: 66, }, end: Position { line: 294, column: 67, }, }, }, ), ], span: Span { start: Position { line: 294, column: 65, }, end: Position { line: 294, column: 68, }, }, }, ), span: Span { start: Position { line: 294, column: 26, }, end: Position { line: 294, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outroSpace", span: Span { start: Position { line: 295, column: 13, }, end: Position { line: 295, column: 23, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "multiline", span: Span { start: Position { line: 295, column: 29, }, end: Position { line: 295, column: 38, }, }, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 295, column: 45, }, end: Position { line: 295, column: 56, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "indent", span: Span { start: Position { line: 295, column: 49, }, end: Position { line: 295, column: 55, }, }, }, ), }, ), ], span: Span { start: Position { line: 295, column: 44, }, end: Position { line: 295, column: 57, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 295, column: 64, }, end: Position { line: 295, column: 65, }, }, }, ), ], span: Span { start: Position { line: 295, column: 63, }, end: Position { line: 295, column: 66, }, }, }, ), span: Span { start: Position { line: 295, column: 26, }, end: Position { line: 295, column: 66, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isInt", span: Span { start: Position { line: 296, column: 13, }, end: Position { line: 296, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 296, column: 24, }, end: Position { line: 296, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 296, column: 31, }, end: Position { line: 296, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 296, column: 40, }, end: Position { line: 296, column: 41, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isFloat", span: Span { start: Position { line: 297, column: 13, }, end: Position { line: 297, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 297, column: 24, }, end: Position { line: 297, column: 25, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "~", span: Span { start: Position { line: 297, column: 32, }, end: Position { line: 297, column: 46, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 297, column: 35, }, end: Position { line: 297, column: 43, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 297, column: 44, }, end: Position { line: 297, column: 45, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 297, column: 31, }, end: Position { line: 297, column: 47, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isString", span: Span { start: Position { line: 298, column: 13, }, end: Position { line: 298, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 298, column: 24, }, end: Position { line: 298, column: 25, }, }, }, ), ], }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "newlineSplits", span: Span { start: Position { line: 301, column: 9, }, end: Position { line: 301, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 301, column: 25, }, end: Position { line: 301, column: 31, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 301, column: 38, }, end: Position { line: 301, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 301, column: 45, }, end: Position { line: 301, column: 46, }, }, }, ), ], }, ), span: Span { start: Position { line: 301, column: 36, }, end: Position { line: 301, column: 46, }, }, }, ), span: Span { start: Position { line: 301, column: 33, }, end: Position { line: 301, column: 46, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 301, column: 49, }, end: Position { line: 301, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "split", span: Span { start: Position { line: 301, column: 58, }, end: Position { line: 301, column: 63, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 301, column: 65, }, end: Position { line: 301, column: 67, }, }, }, ), ], span: Span { start: Position { line: 301, column: 64, }, end: Position { line: 301, column: 68, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 301, column: 69, }, end: Position { line: 301, column: 70, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "multilineResult", span: Span { start: Position { line: 303, column: 9, }, end: Position { line: 303, column: 24, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "''", span: Span { start: Position { line: 303, column: 28, }, end: Position { line: 303, column: 30, }, }, }, ), ], span: Span { start: Position { line: 303, column: 27, }, end: Position { line: 303, column: 31, }, }, }, ), operator: Addition, right: Identifier( Identifier { id: "introSpace", span: Span { start: Position { line: 303, column: 34, }, end: Position { line: 303, column: 44, }, }, }, ), }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 303, column: 47, }, end: Position { line: 303, column: 63, }, }, }, ), arguments: [ Identifier( Identifier { id: "introSpace", span: Span { start: Position { line: 303, column: 64, }, end: Position { line: 303, column: 74, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 303, column: 76, }, end: Position { line: 303, column: 79, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "init", span: Span { start: Position { line: 303, column: 80, }, end: Position { line: 303, column: 84, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "newlineSplits", span: Span { start: Position { line: 303, column: 85, }, end: Position { line: 303, column: 98, }, }, }, ), ], }, ), ], }, ), }, ), operator: Addition, right: Identifier( Identifier { id: "outroSpace", span: Span { start: Position { line: 303, column: 102, }, end: Position { line: 303, column: 112, }, }, }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "''", span: Span { start: Position { line: 303, column: 116, }, end: Position { line: 303, column: 118, }, }, }, ), ], span: Span { start: Position { line: 303, column: 115, }, end: Position { line: 303, column: 119, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "multilineResult'", span: Span { start: Position { line: 305, column: 9, }, end: Position { line: 305, column: 25, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "''", span: Span { start: Position { line: 305, column: 29, }, end: Position { line: 305, column: 31, }, }, }, ), ], span: Span { start: Position { line: 305, column: 28, }, end: Position { line: 305, column: 32, }, }, }, ), operator: Addition, right: Identifier( Identifier { id: "introSpace", span: Span { start: Position { line: 305, column: 35, }, end: Position { line: 305, column: 45, }, }, }, ), }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 305, column: 48, }, end: Position { line: 305, column: 64, }, }, }, ), arguments: [ Identifier( Identifier { id: "introSpace", span: Span { start: Position { line: 305, column: 65, }, end: Position { line: 305, column: 75, }, }, }, ), Identifier( Identifier { id: "newlineSplits", span: Span { start: Position { line: 305, column: 76, }, end: Position { line: 305, column: 89, }, }, }, ), ], }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "''", span: Span { start: Position { line: 305, column: 93, }, end: Position { line: 305, column: 95, }, }, }, ), ], span: Span { start: Position { line: 305, column: 92, }, end: Position { line: 305, column: 96, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "singlelineResult", span: Span { start: Position { line: 307, column: 9, }, end: Position { line: 307, column: 25, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 307, column: 29, }, end: Position { line: 307, column: 31, }, }, }, ), ], span: Span { start: Position { line: 307, column: 28, }, end: Position { line: 307, column: 32, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 307, column: 35, }, end: Position { line: 307, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escape", span: Span { start: Position { line: 307, column: 42, }, end: Position { line: 307, column: 48, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 307, column: 52, }, end: Position { line: 307, column: 54, }, }, }, ), ], span: Span { start: Position { line: 307, column: 51, }, end: Position { line: 307, column: 55, }, }, }, ), ], span: Span { start: Position { line: 307, column: 49, }, end: Position { line: 307, column: 57, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 307, column: 59, }, end: Position { line: 307, column: 75, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\\n", span: Span { start: Position { line: 307, column: 77, }, end: Position { line: 307, column: 80, }, }, }, ), ], span: Span { start: Position { line: 307, column: 76, }, end: Position { line: 307, column: 81, }, }, }, ), Identifier( Identifier { id: "newlineSplits", span: Span { start: Position { line: 307, column: 82, }, end: Position { line: 307, column: 95, }, }, }, ), ], }, ), ], }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 307, column: 100, }, end: Position { line: 307, column: 102, }, }, }, ), ], span: Span { start: Position { line: 307, column: 99, }, end: Position { line: 307, column: 103, }, }, }, ), }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "multiline", span: Span { start: Position { line: 308, column: 13, }, end: Position { line: 308, column: 22, }, }, }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 308, column: 26, }, end: Position { line: 308, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "newlineSplits", span: Span { start: Position { line: 308, column: 33, }, end: Position { line: 308, column: 46, }, }, }, ), ], }, ), operator: GreaterThan, right: Integer( Integer { value: "1", span: Span { start: Position { line: 308, column: 49, }, end: Position { line: 308, column: 50, }, }, }, ), }, ), }, ), then: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 309, column: 12, }, end: Position { line: 309, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "last", span: Span { start: Position { line: 309, column: 16, }, end: Position { line: 309, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "newlineSplits", span: Span { start: Position { line: 309, column: 21, }, end: Position { line: 309, column: 34, }, }, }, ), ], }, ), operator: EqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 309, column: 38, }, end: Position { line: 309, column: 40, }, }, }, ), }, ), then: Identifier( Identifier { id: "multilineResult", span: Span { start: Position { line: 309, column: 46, }, end: Position { line: 309, column: 61, }, }, }, ), else_: Identifier( Identifier { id: "multilineResult'", span: Span { start: Position { line: 309, column: 67, }, end: Position { line: 309, column: 83, }, }, }, ), span: Span { start: Position { line: 309, column: 9, }, end: Position { line: 309, column: 83, }, }, }, ), else_: Identifier( Identifier { id: "singlelineResult", span: Span { start: Position { line: 310, column: 12, }, end: Position { line: 310, column: 28, }, }, }, ), span: Span { start: Position { line: 308, column: 10, }, end: Position { line: 310, column: 28, }, }, }, ), span: Span { start: Position { line: 299, column: 7, }, end: Position { line: 310, column: 28, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "true", span: Span { start: Position { line: 311, column: 13, }, end: Position { line: 311, column: 17, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "v", span: Span { start: Position { line: 311, column: 24, }, end: Position { line: 311, column: 25, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "true", span: Span { start: Position { line: 311, column: 32, }, end: Position { line: 311, column: 36, }, }, }, ), ], span: Span { start: Position { line: 311, column: 31, }, end: Position { line: 311, column: 37, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "false", span: Span { start: Position { line: 312, column: 13, }, end: Position { line: 312, column: 18, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "v", span: Span { start: Position { line: 312, column: 24, }, end: Position { line: 312, column: 25, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "false", span: Span { start: Position { line: 312, column: 32, }, end: Position { line: 312, column: 37, }, }, }, ), ], span: Span { start: Position { line: 312, column: 31, }, end: Position { line: 312, column: 38, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "null", span: Span { start: Position { line: 313, column: 13, }, end: Position { line: 313, column: 17, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "v", span: Span { start: Position { line: 313, column: 24, }, end: Position { line: 313, column: 25, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "null", span: Span { start: Position { line: 313, column: 32, }, end: Position { line: 313, column: 36, }, }, }, ), ], span: Span { start: Position { line: 313, column: 31, }, end: Position { line: 313, column: 37, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isPath", span: Span { start: Position { line: 314, column: 13, }, end: Position { line: 314, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 314, column: 24, }, end: Position { line: 314, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 314, column: 31, }, end: Position { line: 314, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 314, column: 40, }, end: Position { line: 314, column: 41, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 315, column: 13, }, end: Position { line: 315, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 315, column: 24, }, end: Position { line: 315, column: 25, }, }, }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "v", span: Span { start: Position { line: 316, column: 10, }, end: Position { line: 316, column: 11, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 316, column: 15, }, end: Position { line: 316, column: 17, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "[ ]", span: Span { start: Position { line: 316, column: 24, }, end: Position { line: 316, column: 27, }, }, }, ), ], span: Span { start: Position { line: 316, column: 23, }, end: Position { line: 316, column: 28, }, }, }, ), else_: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "[", span: Span { start: Position { line: 317, column: 13, }, end: Position { line: 317, column: 14, }, }, }, ), ], span: Span { start: Position { line: 317, column: 12, }, end: Position { line: 317, column: 15, }, }, }, ), operator: Addition, right: Identifier( Identifier { id: "introSpace", span: Span { start: Position { line: 317, column: 18, }, end: Position { line: 317, column: 28, }, }, }, ), }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 318, column: 11, }, end: Position { line: 318, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMapStringsSep", span: Span { start: Position { line: 318, column: 18, }, end: Position { line: 318, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "introSpace", span: Span { start: Position { line: 318, column: 38, }, end: Position { line: 318, column: 48, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "go", span: Span { start: Position { line: 318, column: 50, }, end: Position { line: 318, column: 52, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "indent", span: Span { start: Position { line: 318, column: 54, }, end: Position { line: 318, column: 60, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 318, column: 64, }, end: Position { line: 318, column: 66, }, }, }, ), ], span: Span { start: Position { line: 318, column: 63, }, end: Position { line: 318, column: 67, }, }, }, ), }, ), ], }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 318, column: 70, }, end: Position { line: 318, column: 71, }, }, }, ), ], }, ), }, ), operator: Addition, right: Identifier( Identifier { id: "outroSpace", span: Span { start: Position { line: 319, column: 11, }, end: Position { line: 319, column: 21, }, }, }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "]", span: Span { start: Position { line: 319, column: 25, }, end: Position { line: 319, column: 26, }, }, }, ), ], span: Span { start: Position { line: 319, column: 24, }, end: Position { line: 319, column: 27, }, }, }, ), }, ), span: Span { start: Position { line: 316, column: 7, }, end: Position { line: 319, column: 27, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isFunction", span: Span { start: Position { line: 320, column: 13, }, end: Position { line: 320, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 320, column: 24, }, end: Position { line: 320, column: 25, }, }, }, ), ], }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fna", span: Span { start: Position { line: 321, column: 11, }, end: Position { line: 321, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 321, column: 17, }, end: Position { line: 321, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionArgs", span: Span { start: Position { line: 321, column: 21, }, end: Position { line: 321, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 321, column: 34, }, end: Position { line: 321, column: 35, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "showFnas", span: Span { start: Position { line: 322, column: 11, }, end: Position { line: 322, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 322, column: 22, }, end: Position { line: 322, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ", ", span: Span { start: Position { line: 322, column: 40, }, end: Position { line: 322, column: 42, }, }, }, ), ], span: Span { start: Position { line: 322, column: 39, }, end: Position { line: 322, column: 43, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libAttr", span: Span { start: Position { line: 322, column: 45, }, end: Position { line: 322, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 322, column: 53, }, end: Position { line: 322, column: 67, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "hasDefVal", }, ), body: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "hasDefVal", span: Span { start: Position { line: 323, column: 45, }, end: Position { line: 323, column: 54, }, }, }, ), then: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 323, column: 60, }, end: Position { line: 323, column: 64, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "?", span: Span { start: Position { line: 323, column: 68, }, end: Position { line: 323, column: 69, }, }, }, ), ], span: Span { start: Position { line: 323, column: 67, }, end: Position { line: 323, column: 70, }, }, }, ), }, ), else_: Identifier( Identifier { id: "name", span: Span { start: Position { line: 323, column: 76, }, end: Position { line: 323, column: 80, }, }, }, ), span: Span { start: Position { line: 323, column: 42, }, end: Position { line: 323, column: 80, }, }, }, ), span: Span { start: Position { line: 323, column: 31, }, end: Position { line: 323, column: 80, }, }, }, ), span: Span { start: Position { line: 323, column: 25, }, end: Position { line: 323, column: 80, }, }, }, ), Identifier( Identifier { id: "fna", span: Span { start: Position { line: 324, column: 24, }, end: Position { line: 324, column: 27, }, }, }, ), ], }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "fna", span: Span { start: Position { line: 325, column: 13, }, end: Position { line: 325, column: 16, }, }, }, ), operator: EqualTo, right: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 325, column: 20, }, end: Position { line: 325, column: 22, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 325, column: 32, }, end: Position { line: 325, column: 42, }, }, }, ), ], span: Span { start: Position { line: 325, column: 31, }, end: Position { line: 325, column: 43, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 326, column: 32, }, end: Position { line: 326, column: 63, }, }, }, ), ], span: Span { start: Position { line: 326, column: 31, }, end: Position { line: 326, column: 64, }, }, }, ), span: Span { start: Position { line: 325, column: 10, }, end: Position { line: 326, column: 64, }, }, }, ), span: Span { start: Position { line: 321, column: 7, }, end: Position { line: 326, column: 64, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 327, column: 13, }, end: Position { line: 327, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 327, column: 24, }, end: Position { line: 327, column: 25, }, }, }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 329, column: 10, }, end: Position { line: 329, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 329, column: 20, }, end: Position { line: 329, column: 21, }, }, }, ), ], }, ), operator: EqualTo, right: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "__pretty", span: Span { start: Position { line: 329, column: 28, }, end: Position { line: 329, column: 36, }, }, }, ), ], span: Span { start: Position { line: 329, column: 27, }, end: Position { line: 329, column: 37, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 329, column: 39, }, end: Position { line: 329, column: 42, }, }, }, ), ], span: Span { start: Position { line: 329, column: 38, }, end: Position { line: 329, column: 43, }, }, }, ), ], span: Span { start: Position { line: 329, column: 25, }, end: Position { line: 329, column: 45, }, }, }, ), }, ), operator: LogicalAnd, right: Identifier( Identifier { id: "allowPrettyValues", span: Span { start: Position { line: 329, column: 49, }, end: Position { line: 329, column: 66, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 330, column: 15, }, end: Position { line: 330, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "__pretty", span: Span { start: Position { line: 330, column: 17, }, end: Position { line: 330, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 330, column: 26, }, end: Position { line: 330, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 330, column: 28, }, end: Position { line: 330, column: 31, }, }, }, ), ], default: None, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "v", span: Span { start: Position { line: 331, column: 15, }, end: Position { line: 331, column: 16, }, }, }, ), operator: EqualTo, right: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 331, column: 20, }, end: Position { line: 331, column: 22, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "{ }", span: Span { start: Position { line: 331, column: 29, }, end: Position { line: 331, column: 32, }, }, }, ), ], span: Span { start: Position { line: 331, column: 28, }, end: Position { line: 331, column: 33, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 332, column: 15, }, end: Position { line: 332, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 332, column: 19, }, end: Position { line: 332, column: 23, }, }, }, ), ], }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 332, column: 27, }, end: Position { line: 332, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 332, column: 29, }, end: Position { line: 332, column: 33, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "derivation", span: Span { start: Position { line: 332, column: 38, }, end: Position { line: 332, column: 48, }, }, }, ), ], span: Span { start: Position { line: 332, column: 37, }, end: Position { line: 332, column: 49, }, }, }, ), }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 333, column: 10, }, end: Position { line: 333, column: 44, }, }, }, ), ], span: Span { start: Position { line: 333, column: 9, }, end: Position { line: 333, column: 45, }, }, }, ), else_: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "{", span: Span { start: Position { line: 334, column: 13, }, end: Position { line: 334, column: 14, }, }, }, ), ], span: Span { start: Position { line: 334, column: 12, }, end: Position { line: 334, column: 15, }, }, }, ), operator: Addition, right: Identifier( Identifier { id: "introSpace", span: Span { start: Position { line: 334, column: 18, }, end: Position { line: 334, column: 28, }, }, }, ), }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 335, column: 13, }, end: Position { line: 335, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 335, column: 20, }, end: Position { line: 335, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "introSpace", span: Span { start: Position { line: 335, column: 37, }, end: Position { line: 335, column: 47, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libAttr", span: Span { start: Position { line: 335, column: 49, }, end: Position { line: 335, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 335, column: 57, }, end: Position { line: 335, column: 71, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 337, column: 20, }, end: Position { line: 337, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeNixIdentifier", span: Span { start: Position { line: 337, column: 27, }, end: Position { line: 337, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 337, column: 47, }, end: Position { line: 337, column: 51, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " = ", span: Span { start: Position { line: 337, column: 18, }, end: Position { line: 337, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "go", span: Span { start: Position { line: 337, column: 57, }, end: Position { line: 337, column: 59, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "indent", span: Span { start: Position { line: 337, column: 61, }, end: Position { line: 337, column: 67, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 337, column: 71, }, end: Position { line: 337, column: 73, }, }, }, ), ], span: Span { start: Position { line: 337, column: 70, }, end: Position { line: 337, column: 74, }, }, }, ), }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 337, column: 76, }, end: Position { line: 337, column: 81, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ";", span: Span { start: Position { line: 337, column: 18, }, end: Position { line: 337, column: 83, }, }, }, ), ], span: Span { start: Position { line: 337, column: 17, }, end: Position { line: 337, column: 84, }, }, }, ), span: Span { start: Position { line: 336, column: 22, }, end: Position { line: 337, column: 84, }, }, }, ), span: Span { start: Position { line: 336, column: 16, }, end: Position { line: 337, column: 84, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 337, column: 86, }, end: Position { line: 337, column: 87, }, }, }, ), ], }, ), ], }, ), }, ), operator: Addition, right: Identifier( Identifier { id: "outroSpace", span: Span { start: Position { line: 338, column: 11, }, end: Position { line: 338, column: 21, }, }, }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "}", span: Span { start: Position { line: 338, column: 25, }, end: Position { line: 338, column: 26, }, }, }, ), ], span: Span { start: Position { line: 338, column: 24, }, end: Position { line: 338, column: 27, }, }, }, ), }, ), span: Span { start: Position { line: 332, column: 12, }, end: Position { line: 338, column: 27, }, }, }, ), span: Span { start: Position { line: 331, column: 12, }, end: Position { line: 338, column: 27, }, }, }, ), span: Span { start: Position { line: 329, column: 7, }, end: Position { line: 338, column: 27, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "abort", span: Span { start: Position { line: 339, column: 10, }, end: Position { line: 339, column: 15, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "generators.toPretty: should never happen (v = ", span: Span { start: Position { line: 339, column: 17, }, end: Position { line: 339, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 339, column: 65, }, end: Position { line: 339, column: 66, }, }, }, ), }, ), Raw( PartRaw { content: ")", span: Span { start: Position { line: 339, column: 17, }, end: Position { line: 339, column: 68, }, }, }, ), ], span: Span { start: Position { line: 339, column: 16, }, end: Position { line: 339, column: 69, }, }, }, ), ], }, ), span: Span { start: Position { line: 327, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 320, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 315, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 314, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 313, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 312, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 311, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 298, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 297, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 296, column: 8, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 293, column: 5, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 292, column: 21, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 292, column: 18, }, end: Position { line: 339, column: 69, }, }, }, ), span: Span { start: Position { line: 292, column: 10, }, end: Position { line: 339, column: 69, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "go", span: Span { start: Position { line: 340, column: 6, }, end: Position { line: 340, column: 8, }, }, }, ), arguments: [ String( String_ { parts: [], span: Span { start: Position { line: 340, column: 9, }, end: Position { line: 340, column: 11, }, }, }, ), ], }, ), span: Span { start: Position { line: 291, column: 5, }, end: Position { line: 340, column: 11, }, }, }, ), span: Span { start: Position { line: 283, column: 14, }, end: Position { line: 340, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toPlist", span: Span { start: Position { line: 343, column: 3, }, end: Position { line: 343, column: 10, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [], }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isFloat", span: Span { start: Position { line: 344, column: 5, }, end: Position { line: 344, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 344, column: 15, }, end: Position { line: 344, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isFloat", span: Span { start: Position { line: 344, column: 24, }, end: Position { line: 344, column: 31, }, }, }, ), ], default: Some( Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Identifier( Identifier { id: "false", span: Span { start: Position { line: 344, column: 39, }, end: Position { line: 344, column: 44, }, }, }, ), span: Span { start: Position { line: 344, column: 36, }, end: Position { line: 344, column: 44, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "expr", span: Span { start: Position { line: 345, column: 5, }, end: Position { line: 345, column: 9, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 345, column: 26, }, end: Position { line: 345, column: 34, }, }, }, ), target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 346, column: 10, }, end: Position { line: 346, column: 11, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 346, column: 15, }, end: Position { line: 346, column: 19, }, }, }, ), }, ), then: String( String_ { parts: [], span: Span { start: Position { line: 346, column: 26, }, end: Position { line: 346, column: 28, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isBool", span: Span { start: Position { line: 347, column: 10, }, end: Position { line: 347, column: 16, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 347, column: 17, }, end: Position { line: 347, column: 18, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "bool", span: Span { start: Position { line: 347, column: 26, }, end: Position { line: 347, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 347, column: 31, }, end: Position { line: 347, column: 34, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 347, column: 35, }, end: Position { line: 347, column: 36, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isInt", span: Span { start: Position { line: 348, column: 10, }, end: Position { line: 348, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 348, column: 16, }, end: Position { line: 348, column: 17, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "int", span: Span { start: Position { line: 348, column: 26, }, end: Position { line: 348, column: 29, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 348, column: 30, }, end: Position { line: 348, column: 33, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 348, column: 34, }, end: Position { line: 348, column: 35, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isString", span: Span { start: Position { line: 349, column: 10, }, end: Position { line: 349, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 349, column: 19, }, end: Position { line: 349, column: 20, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "str", span: Span { start: Position { line: 349, column: 26, }, end: Position { line: 349, column: 29, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 349, column: 30, }, end: Position { line: 349, column: 33, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 349, column: 34, }, end: Position { line: 349, column: 35, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 350, column: 10, }, end: Position { line: 350, column: 16, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 350, column: 17, }, end: Position { line: 350, column: 18, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "list", span: Span { start: Position { line: 350, column: 26, }, end: Position { line: 350, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 350, column: 31, }, end: Position { line: 350, column: 34, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 350, column: 35, }, end: Position { line: 350, column: 36, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 351, column: 10, }, end: Position { line: 351, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 351, column: 18, }, end: Position { line: 351, column: 19, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 351, column: 26, }, end: Position { line: 351, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 351, column: 32, }, end: Position { line: 351, column: 35, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 351, column: 36, }, end: Position { line: 351, column: 37, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isFloat", span: Span { start: Position { line: 352, column: 10, }, end: Position { line: 352, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 352, column: 18, }, end: Position { line: 352, column: 19, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "float", span: Span { start: Position { line: 352, column: 26, }, end: Position { line: 352, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 352, column: 32, }, end: Position { line: 352, column: 35, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 352, column: 36, }, end: Position { line: 352, column: 37, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "abort", span: Span { start: Position { line: 353, column: 7, }, end: Position { line: 353, column: 12, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "generators.toPlist: should never happen (v = ", span: Span { start: Position { line: 353, column: 14, }, end: Position { line: 353, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 353, column: 61, }, end: Position { line: 353, column: 62, }, }, }, ), }, ), Raw( PartRaw { content: ")", span: Span { start: Position { line: 353, column: 14, }, end: Position { line: 353, column: 64, }, }, }, ), ], span: Span { start: Position { line: 353, column: 13, }, end: Position { line: 353, column: 65, }, }, }, ), ], }, ), span: Span { start: Position { line: 352, column: 7, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 351, column: 7, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 350, column: 7, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 349, column: 7, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 348, column: 7, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 347, column: 7, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 346, column: 7, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 345, column: 21, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 345, column: 17, }, end: Position { line: 353, column: 65, }, }, }, ), span: Span { start: Position { line: 345, column: 12, }, end: Position { line: 353, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "literal", span: Span { start: Position { line: 355, column: 5, }, end: Position { line: 355, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "ind", span: Span { start: Position { line: 355, column: 23, }, end: Position { line: 355, column: 26, }, }, }, ), operator: Addition, right: Identifier( Identifier { id: "x", span: Span { start: Position { line: 355, column: 29, }, end: Position { line: 355, column: 30, }, }, }, ), }, ), span: Span { start: Position { line: 355, column: 20, }, end: Position { line: 355, column: 30, }, }, }, ), span: Span { start: Position { line: 355, column: 15, }, end: Position { line: 355, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 357, column: 5, }, end: Position { line: 357, column: 9, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 357, column: 20, }, end: Position { line: 357, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 357, column: 28, }, end: Position { line: 357, column: 31, }, }, }, ), IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "x", span: Span { start: Position { line: 357, column: 37, }, end: Position { line: 357, column: 38, }, }, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 357, column: 45, }, end: Position { line: 357, column: 52, }, }, }, ), ], span: Span { start: Position { line: 357, column: 44, }, end: Position { line: 357, column: 53, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 357, column: 60, }, end: Position { line: 357, column: 68, }, }, }, ), ], span: Span { start: Position { line: 357, column: 59, }, end: Position { line: 357, column: 69, }, }, }, ), span: Span { start: Position { line: 357, column: 34, }, end: Position { line: 357, column: 69, }, }, }, ), ], }, ), span: Span { start: Position { line: 357, column: 17, }, end: Position { line: 357, column: 70, }, }, }, ), span: Span { start: Position { line: 357, column: 12, }, end: Position { line: 357, column: 70, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 358, column: 5, }, end: Position { line: 358, column: 8, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 358, column: 19, }, end: Position { line: 358, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 358, column: 27, }, end: Position { line: 358, column: 30, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 358, column: 32, }, end: Position { line: 358, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 358, column: 43, }, end: Position { line: 358, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 358, column: 52, }, end: Position { line: 358, column: 53, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "", span: Span { start: Position { line: 358, column: 32, }, end: Position { line: 358, column: 64, }, }, }, ), ], span: Span { start: Position { line: 358, column: 31, }, end: Position { line: 358, column: 65, }, }, }, ), ], }, ), span: Span { start: Position { line: 358, column: 16, }, end: Position { line: 358, column: 65, }, }, }, ), span: Span { start: Position { line: 358, column: 11, }, end: Position { line: 358, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 359, column: 5, }, end: Position { line: 359, column: 8, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 359, column: 19, }, end: Position { line: 359, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 359, column: 27, }, end: Position { line: 359, column: 30, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 359, column: 32, }, end: Position { line: 359, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 359, column: 42, }, end: Position { line: 359, column: 43, }, }, }, ), }, ), Raw( PartRaw { content: "", span: Span { start: Position { line: 359, column: 32, }, end: Position { line: 359, column: 53, }, }, }, ), ], span: Span { start: Position { line: 359, column: 31, }, end: Position { line: 359, column: 54, }, }, }, ), ], }, ), span: Span { start: Position { line: 359, column: 16, }, end: Position { line: 359, column: 54, }, }, }, ), span: Span { start: Position { line: 359, column: 11, }, end: Position { line: 359, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 360, column: 5, }, end: Position { line: 360, column: 8, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 360, column: 19, }, end: Position { line: 360, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 360, column: 27, }, end: Position { line: 360, column: 30, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 360, column: 32, }, end: Position { line: 360, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 360, column: 39, }, end: Position { line: 360, column: 40, }, }, }, ), }, ), Raw( PartRaw { content: "", span: Span { start: Position { line: 360, column: 32, }, end: Position { line: 360, column: 47, }, }, }, ), ], span: Span { start: Position { line: 360, column: 31, }, end: Position { line: 360, column: 48, }, }, }, ), ], }, ), span: Span { start: Position { line: 360, column: 16, }, end: Position { line: 360, column: 48, }, }, }, ), span: Span { start: Position { line: 360, column: 11, }, end: Position { line: 360, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "float", span: Span { start: Position { line: 361, column: 5, }, end: Position { line: 361, column: 10, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 361, column: 21, }, end: Position { line: 361, column: 28, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 361, column: 29, }, end: Position { line: 361, column: 32, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 361, column: 34, }, end: Position { line: 361, column: 53, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 361, column: 42, }, end: Position { line: 361, column: 50, }, }, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 361, column: 51, }, end: Position { line: 361, column: 52, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "", span: Span { start: Position { line: 361, column: 34, }, end: Position { line: 361, column: 60, }, }, }, ), ], span: Span { start: Position { line: 361, column: 33, }, end: Position { line: 361, column: 61, }, }, }, ), ], }, ), span: Span { start: Position { line: 361, column: 18, }, end: Position { line: 361, column: 61, }, }, }, ), span: Span { start: Position { line: 361, column: 13, }, end: Position { line: 361, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "indent", span: Span { start: Position { line: 363, column: 5, }, end: Position { line: 363, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "expr", span: Span { start: Position { line: 363, column: 19, }, end: Position { line: 363, column: 23, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\t", span: Span { start: Position { line: 363, column: 25, }, end: Position { line: 363, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "ind", span: Span { start: Position { line: 363, column: 29, }, end: Position { line: 363, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 363, column: 24, }, end: Position { line: 363, column: 34, }, }, }, ), ], }, ), span: Span { start: Position { line: 363, column: 14, }, end: Position { line: 363, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "item", span: Span { start: Position { line: 365, column: 5, }, end: Position { line: 365, column: 9, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 365, column: 17, }, end: Position { line: 365, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMapStringsSep", span: Span { start: Position { line: 365, column: 24, }, end: Position { line: 365, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 365, column: 45, }, end: Position { line: 365, column: 47, }, }, }, ), ], span: Span { start: Position { line: 365, column: 44, }, end: Position { line: 365, column: 48, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "indent", span: Span { start: Position { line: 365, column: 50, }, end: Position { line: 365, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 365, column: 57, }, end: Position { line: 365, column: 60, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 365, column: 12, }, end: Position { line: 365, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "list", span: Span { start: Position { line: 367, column: 5, }, end: Position { line: 367, column: 9, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 367, column: 20, }, end: Position { line: 367, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 367, column: 27, }, end: Position { line: 367, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 367, column: 45, }, end: Position { line: 367, column: 47, }, }, }, ), ], span: Span { start: Position { line: 367, column: 44, }, end: Position { line: 367, column: 48, }, }, }, ), List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 368, column: 8, }, end: Position { line: 368, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 368, column: 16, }, end: Position { line: 368, column: 19, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 368, column: 21, }, end: Position { line: 368, column: 28, }, }, }, ), ], span: Span { start: Position { line: 368, column: 20, }, end: Position { line: 368, column: 29, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "item", span: Span { start: Position { line: 369, column: 8, }, end: Position { line: 369, column: 12, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 369, column: 13, }, end: Position { line: 369, column: 16, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 369, column: 17, }, end: Position { line: 369, column: 18, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 370, column: 8, }, end: Position { line: 370, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 370, column: 16, }, end: Position { line: 370, column: 19, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 370, column: 21, }, end: Position { line: 370, column: 29, }, }, }, ), ], span: Span { start: Position { line: 370, column: 20, }, end: Position { line: 370, column: 30, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 367, column: 49, }, end: Position { line: 371, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 367, column: 17, }, end: Position { line: 371, column: 6, }, }, }, ), span: Span { start: Position { line: 367, column: 12, }, end: Position { line: 371, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 373, column: 5, }, end: Position { line: 373, column: 10, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 373, column: 21, }, end: Position { line: 373, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 373, column: 28, }, end: Position { line: 373, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 373, column: 46, }, end: Position { line: 373, column: 48, }, }, }, ), ], span: Span { start: Position { line: 373, column: 45, }, end: Position { line: 373, column: 49, }, }, }, ), List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 374, column: 8, }, end: Position { line: 374, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 374, column: 16, }, end: Position { line: 374, column: 19, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 374, column: 21, }, end: Position { line: 374, column: 27, }, }, }, ), ], span: Span { start: Position { line: 374, column: 20, }, end: Position { line: 374, column: 28, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attr", span: Span { start: Position { line: 375, column: 8, }, end: Position { line: 375, column: 12, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 375, column: 13, }, end: Position { line: 375, column: 16, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 375, column: 17, }, end: Position { line: 375, column: 18, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literal", span: Span { start: Position { line: 376, column: 8, }, end: Position { line: 376, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "ind", span: Span { start: Position { line: 376, column: 16, }, end: Position { line: 376, column: 19, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 376, column: 21, }, end: Position { line: 376, column: 28, }, }, }, ), ], span: Span { start: Position { line: 376, column: 20, }, end: Position { line: 376, column: 29, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 373, column: 50, }, end: Position { line: 377, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 373, column: 18, }, end: Position { line: 377, column: 6, }, }, }, ), span: Span { start: Position { line: 373, column: 13, }, end: Position { line: 377, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "attr", span: Span { start: Position { line: 379, column: 5, }, end: Position { line: 379, column: 9, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "attrFilter", span: Span { start: Position { line: 379, column: 16, }, end: Position { line: 379, column: 26, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 379, column: 42, }, end: Position { line: 379, column: 46, }, }, }, ), operator: NotEqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 379, column: 51, }, end: Position { line: 379, column: 58, }, }, }, ), ], span: Span { start: Position { line: 379, column: 50, }, end: Position { line: 379, column: 59, }, }, }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "value", span: Span { start: Position { line: 379, column: 63, }, end: Position { line: 379, column: 68, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 379, column: 72, }, end: Position { line: 379, column: 76, }, }, }, ), }, ), }, ), span: Span { start: Position { line: 379, column: 35, }, end: Position { line: 379, column: 76, }, }, }, ), span: Span { start: Position { line: 379, column: 29, }, end: Position { line: 379, column: 76, }, }, }, ), }, ), ], target: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ind", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "libStr", span: Span { start: Position { line: 380, column: 16, }, end: Position { line: 380, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 380, column: 23, }, end: Position { line: 380, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 380, column: 41, }, end: Position { line: 380, column: 43, }, }, }, ), ], span: Span { start: Position { line: 380, column: 40, }, end: Position { line: 380, column: 44, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 380, column: 46, }, end: Position { line: 380, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flatten", span: Span { start: Position { line: 380, column: 50, }, end: Position { line: 380, column: 57, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 380, column: 59, }, end: Position { line: 380, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 380, column: 63, }, end: Position { line: 380, column: 77, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 381, column: 21, }, end: Position { line: 381, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionals", span: Span { start: Position { line: 381, column: 25, }, end: Position { line: 381, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrFilter", span: Span { start: Position { line: 381, column: 36, }, end: Position { line: 381, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 381, column: 47, }, end: Position { line: 381, column: 51, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 381, column: 52, }, end: Position { line: 381, column: 57, }, }, }, ), ], }, ), List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "key", span: Span { start: Position { line: 382, column: 8, }, end: Position { line: 382, column: 11, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\t", span: Span { start: Position { line: 382, column: 13, }, end: Position { line: 382, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "ind", span: Span { start: Position { line: 382, column: 17, }, end: Position { line: 382, column: 20, }, }, }, ), }, ), ], span: Span { start: Position { line: 382, column: 12, }, end: Position { line: 382, column: 22, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 382, column: 23, }, end: Position { line: 382, column: 27, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "expr", span: Span { start: Position { line: 383, column: 8, }, end: Position { line: 383, column: 12, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\t", span: Span { start: Position { line: 383, column: 14, }, end: Position { line: 383, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "ind", span: Span { start: Position { line: 383, column: 18, }, end: Position { line: 383, column: 21, }, }, }, ), }, ), ], span: Span { start: Position { line: 383, column: 13, }, end: Position { line: 383, column: 23, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 383, column: 24, }, end: Position { line: 383, column: 29, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 381, column: 59, }, end: Position { line: 384, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 381, column: 14, }, end: Position { line: 384, column: 6, }, }, }, ), span: Span { start: Position { line: 381, column: 8, }, end: Position { line: 384, column: 6, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 384, column: 8, }, end: Position { line: 384, column: 9, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 380, column: 13, }, end: Position { line: 384, column: 11, }, }, }, ), span: Span { start: Position { line: 380, column: 8, }, end: Position { line: 384, column: 11, }, }, }, ), span: Span { start: Position { line: 379, column: 12, }, end: Position { line: 384, column: 11, }, }, }, ), }, ), ], target: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\n\n\n", span: Span { start: Position { line: 386, column: 8, }, end: Position { line: 389, column: 1, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "expr", span: Span { start: Position { line: 389, column: 3, }, end: Position { line: 389, column: 7, }, }, }, ), arguments: [ String( String_ { parts: [], span: Span { start: Position { line: 389, column: 8, }, end: Position { line: 389, column: 10, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 389, column: 11, }, end: Position { line: 389, column: 12, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 386, column: 8, }, end: Position { line: 390, column: 9, }, }, }, ), ], span: Span { start: Position { line: 386, column: 6, }, end: Position { line: 390, column: 11, }, }, }, ), span: Span { start: Position { line: 343, column: 20, }, end: Position { line: 390, column: 11, }, }, }, ), span: Span { start: Position { line: 343, column: 17, }, end: Position { line: 390, column: 11, }, }, }, ), span: Span { start: Position { line: 343, column: 13, }, end: Position { line: 390, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toDhall", span: Span { start: Position { line: 396, column: 3, }, end: Position { line: 396, column: 10, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: RightAt( "args", ), arguments: [], }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 397, column: 10, }, end: Position { line: 397, column: 18, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "concatItems", span: Span { start: Position { line: 398, column: 9, }, end: Position { line: 398, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 398, column: 23, }, end: Position { line: 398, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "strings", span: Span { start: Position { line: 398, column: 27, }, end: Position { line: 398, column: 34, }, }, }, ), Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 398, column: 35, }, end: Position { line: 398, column: 51, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ", ", span: Span { start: Position { line: 398, column: 53, }, end: Position { line: 398, column: 55, }, }, }, ), ], span: Span { start: Position { line: 398, column: 52, }, end: Position { line: 398, column: 56, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 399, column: 11, }, end: Position { line: 399, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 399, column: 19, }, end: Position { line: 399, column: 20, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "{ ", span: Span { start: Position { line: 400, column: 8, }, end: Position { line: 403, column: 8, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatItems", span: Span { start: Position { line: 401, column: 9, }, end: Position { line: 401, column: 20, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 401, column: 22, }, end: Position { line: 401, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsets", span: Span { start: Position { line: 401, column: 26, }, end: Position { line: 401, column: 34, }, }, }, ), Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 401, column: 35, }, end: Position { line: 401, column: 49, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "key", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "key", span: Span { start: Position { line: 402, column: 27, }, end: Position { line: 402, column: 30, }, }, }, ), }, ), Raw( PartRaw { content: " = ", span: Span { start: Position { line: 402, column: 25, }, end: Position { line: 402, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toDhall", span: Span { start: Position { line: 402, column: 36, }, end: Position { line: 402, column: 43, }, }, }, ), arguments: [ Identifier( Identifier { id: "args", span: Span { start: Position { line: 402, column: 44, }, end: Position { line: 402, column: 48, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 402, column: 49, }, end: Position { line: 402, column: 54, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 402, column: 24, }, end: Position { line: 402, column: 56, }, }, }, ), span: Span { start: Position { line: 402, column: 17, }, end: Position { line: 402, column: 56, }, }, }, ), span: Span { start: Position { line: 402, column: 12, }, end: Position { line: 402, column: 56, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 402, column: 58, }, end: Position { line: 402, column: 59, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: " }", span: Span { start: Position { line: 400, column: 8, }, end: Position { line: 403, column: 10, }, }, }, ), ], span: Span { start: Position { line: 400, column: 7, }, end: Position { line: 403, column: 11, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 404, column: 13, }, end: Position { line: 404, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 404, column: 20, }, end: Position { line: 404, column: 21, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "[ ", span: Span { start: Position { line: 405, column: 8, }, end: Position { line: 405, column: 47, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatItems", span: Span { start: Position { line: 405, column: 12, }, end: Position { line: 405, column: 23, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 405, column: 25, }, end: Position { line: 405, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toDhall", span: Span { start: Position { line: 405, column: 30, }, end: Position { line: 405, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "args", span: Span { start: Position { line: 405, column: 38, }, end: Position { line: 405, column: 42, }, }, }, ), ], }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 405, column: 44, }, end: Position { line: 405, column: 45, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: " ]", span: Span { start: Position { line: 405, column: 8, }, end: Position { line: 405, column: 49, }, }, }, ), ], span: Span { start: Position { line: 405, column: 7, }, end: Position { line: 405, column: 50, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isInt", span: Span { start: Position { line: 406, column: 13, }, end: Position { line: 406, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 406, column: 19, }, end: Position { line: 406, column: 20, }, }, }, ), ], }, ), then: String( String_ { parts: [ Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "v", span: Span { start: Position { line: 407, column: 13, }, end: Position { line: 407, column: 14, }, }, }, ), operator: LessThan, right: Integer( Integer { value: "0", span: Span { start: Position { line: 407, column: 17, }, end: Position { line: 407, column: 18, }, }, }, ), }, ), then: String( String_ { parts: [], span: Span { start: Position { line: 407, column: 24, }, end: Position { line: 407, column: 26, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "+", span: Span { start: Position { line: 407, column: 33, }, end: Position { line: 407, column: 34, }, }, }, ), ], span: Span { start: Position { line: 407, column: 32, }, end: Position { line: 407, column: 35, }, }, }, ), span: Span { start: Position { line: 407, column: 10, }, end: Position { line: 407, column: 35, }, }, }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 407, column: 38, }, end: Position { line: 407, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 407, column: 47, }, end: Position { line: 407, column: 48, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 407, column: 7, }, end: Position { line: 407, column: 50, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isBool", span: Span { start: Position { line: 408, column: 13, }, end: Position { line: 408, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 408, column: 20, }, end: Position { line: 408, column: 21, }, }, }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "v", span: Span { start: Position { line: 409, column: 11, }, end: Position { line: 409, column: 12, }, }, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "True", span: Span { start: Position { line: 409, column: 19, }, end: Position { line: 409, column: 23, }, }, }, ), ], span: Span { start: Position { line: 409, column: 18, }, end: Position { line: 409, column: 24, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "False", span: Span { start: Position { line: 409, column: 31, }, end: Position { line: 409, column: 36, }, }, }, ), ], span: Span { start: Position { line: 409, column: 30, }, end: Position { line: 409, column: 37, }, }, }, ), span: Span { start: Position { line: 409, column: 8, }, end: Position { line: 409, column: 37, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isFunction", span: Span { start: Position { line: 410, column: 13, }, end: Position { line: 410, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 410, column: 24, }, end: Position { line: 410, column: 25, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "abort", span: Span { start: Position { line: 411, column: 7, }, end: Position { line: 411, column: 12, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "generators.toDhall: cannot convert a function to Dhall", span: Span { start: Position { line: 411, column: 14, }, end: Position { line: 411, column: 68, }, }, }, ), ], span: Span { start: Position { line: 411, column: 13, }, end: Position { line: 411, column: 69, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isNull", span: Span { start: Position { line: 412, column: 13, }, end: Position { line: 412, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 412, column: 20, }, end: Position { line: 412, column: 21, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "abort", span: Span { start: Position { line: 413, column: 7, }, end: Position { line: 413, column: 12, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "generators.toDhall: cannot convert a null to Dhall", span: Span { start: Position { line: 413, column: 14, }, end: Position { line: 413, column: 64, }, }, }, ), ], span: Span { start: Position { line: 413, column: 13, }, end: Position { line: 413, column: 65, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 415, column: 7, }, end: Position { line: 415, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 415, column: 16, }, end: Position { line: 415, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 415, column: 23, }, end: Position { line: 415, column: 24, }, }, }, ), ], }, ), span: Span { start: Position { line: 412, column: 10, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 410, column: 10, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 408, column: 10, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 406, column: 10, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 404, column: 10, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 399, column: 8, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 398, column: 5, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 397, column: 5, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 396, column: 23, }, end: Position { line: 415, column: 24, }, }, }, ), span: Span { start: Position { line: 396, column: 13, }, end: Position { line: 415, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 25, column: 1, }, end: Position { line: 416, column: 2, }, }, }, ), span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 416, column: 2, }, }, }, ), span: Span { start: Position { line: 17, column: 1, }, end: Position { line: 416, column: 2, }, }, }, ), span: Span { start: Position { line: 16, column: 1, }, end: Position { line: 416, column: 2, }, }, }, )