Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 45, column: 12, }, end: Position { line: 45, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 46, column: 5, }, end: Position { line: 46, column: 21, }, }, }, ), Raw( PartRaw { content: "head", span: Span { start: Position { line: 47, column: 5, }, end: Position { line: 47, column: 9, }, }, }, ), Raw( PartRaw { content: "isAttrs", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 12, }, }, }, ), Raw( PartRaw { content: "listToAttrs", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 16, }, }, }, ), Raw( PartRaw { content: "tail", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 9, }, }, }, ), ], span: Span { start: Position { line: 44, column: 4, }, end: Position { line: 51, column: 6, }, }, }, ), ], target: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "textClosureList", span: Span { start: Position { line: 59, column: 3, }, end: Position { line: 59, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "predefined", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "arg", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "f", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 8, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "done", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "todo", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "todo", span: Span { start: Position { line: 62, column: 12, }, end: Position { line: 62, column: 16, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 62, column: 20, }, end: Position { line: 62, column: 22, }, }, }, ), }, ), then: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 62, column: 29, }, end: Position { line: 62, column: 35, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 62, column: 38, }, end: Position { line: 62, column: 40, }, }, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "done", span: Span { start: Position { line: 62, column: 50, }, end: Position { line: 62, column: 54, }, }, }, ), ], span: Span { start: Position { line: 62, column: 29, }, end: Position { line: 62, column: 55, }, }, }, ), ], span: Span { start: Position { line: 62, column: 28, }, end: Position { line: 62, column: 56, }, }, }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "entry", span: Span { start: Position { line: 64, column: 15, }, end: Position { line: 64, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 64, column: 23, }, end: Position { line: 64, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "todo", span: Span { start: Position { line: 64, column: 28, }, end: Position { line: 64, column: 32, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 65, column: 14, }, end: Position { line: 65, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "entry", span: Span { start: Position { line: 65, column: 22, }, end: Position { line: 65, column: 27, }, }, }, ), ], }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "x", span: Span { start: Position { line: 66, column: 17, }, end: Position { line: 66, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 66, column: 21, }, end: Position { line: 66, column: 22, }, }, }, ), arguments: [ Identifier( Identifier { id: "done", span: Span { start: Position { line: 66, column: 23, }, end: Position { line: 66, column: 27, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "entry", span: Span { start: Position { line: 66, column: 28, }, end: Position { line: 66, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "deps", span: Span { start: Position { line: 66, column: 34, }, end: Position { line: 66, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "y", span: Span { start: Position { line: 67, column: 17, }, end: Position { line: 67, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 22, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 67, column: 23, }, end: Position { line: 67, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "done", span: Span { start: Position { line: 67, column: 25, }, end: Position { line: 67, column: 29, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 67, column: 31, }, end: Position { line: 67, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "todo", span: Span { start: Position { line: 67, column: 36, }, end: Position { line: 67, column: 40, }, }, }, ), ], }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 68, column: 18, }, end: Position { line: 68, column: 24, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 68, column: 27, }, end: Position { line: 68, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 68, column: 29, }, end: Position { line: 68, column: 35, }, }, }, ), ], default: None, }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "entry", span: Span { start: Position { line: 68, column: 40, }, end: Position { line: 68, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 68, column: 46, }, end: Position { line: 68, column: 50, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 68, column: 39, }, end: Position { line: 68, column: 51, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "y", span: Span { start: Position { line: 68, column: 55, }, end: Position { line: 68, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 68, column: 57, }, end: Position { line: 68, column: 63, }, }, }, ), ], default: None, }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "done", span: Span { start: Position { line: 69, column: 18, }, end: Position { line: 69, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "y", span: Span { start: Position { line: 69, column: 25, }, end: Position { line: 69, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "done", span: Span { start: Position { line: 69, column: 27, }, end: Position { line: 69, column: 31, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 68, column: 16, }, end: Position { line: 70, column: 17, }, }, }, ), span: Span { start: Position { line: 66, column: 13, }, end: Position { line: 70, column: 17, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "done", span: Span { start: Position { line: 71, column: 19, }, end: Position { line: 71, column: 23, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "entry", span: Span { start: Position { line: 71, column: 28, }, end: Position { line: 71, column: 33, }, }, }, ), }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 71, column: 40, }, end: Position { line: 71, column: 41, }, }, }, ), arguments: [ Identifier( Identifier { id: "done", span: Span { start: Position { line: 71, column: 42, }, end: Position { line: 71, column: 46, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 71, column: 48, }, end: Position { line: 71, column: 52, }, }, }, ), arguments: [ Identifier( Identifier { id: "todo", span: Span { start: Position { line: 71, column: 53, }, end: Position { line: 71, column: 57, }, }, }, ), ], }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 72, column: 16, }, end: Position { line: 72, column: 17, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "done", span: Span { start: Position { line: 72, column: 19, }, end: Position { line: 72, column: 23, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 72, column: 27, }, end: Position { line: 72, column: 38, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 72, column: 41, }, end: Position { line: 72, column: 45, }, }, }, ), ], to: Identifier( Identifier { id: "entry", span: Span { start: Position { line: 72, column: 48, }, end: Position { line: 72, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 72, column: 55, }, end: Position { line: 72, column: 60, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 72, column: 63, }, end: Position { line: 72, column: 64, }, }, }, ), }, ), ], span: Span { start: Position { line: 72, column: 40, }, end: Position { line: 72, column: 66, }, }, }, ), ], span: Span { start: Position { line: 72, column: 39, }, end: Position { line: 72, column: 67, }, }, }, ), ], }, ), }, ), BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "predefined", span: Span { start: Position { line: 72, column: 71, }, end: Position { line: 72, column: 81, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "entry", span: Span { start: Position { line: 72, column: 84, }, end: Position { line: 72, column: 89, }, }, }, ), }, ), ], default: None, }, ), ], span: Span { start: Position { line: 72, column: 70, }, end: Position { line: 72, column: 91, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tail", span: Span { start: Position { line: 72, column: 95, }, end: Position { line: 72, column: 99, }, }, }, ), arguments: [ Identifier( Identifier { id: "todo", span: Span { start: Position { line: 72, column: 100, }, end: Position { line: 72, column: 104, }, }, }, ), ], }, ), }, ), ], }, ), span: Span { start: Position { line: 71, column: 16, }, end: Position { line: 72, column: 105, }, }, }, ), span: Span { start: Position { line: 65, column: 11, }, end: Position { line: 72, column: 105, }, }, }, ), span: Span { start: Position { line: 64, column: 11, }, end: Position { line: 72, column: 105, }, }, }, ), span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 72, column: 105, }, }, }, ), span: Span { start: Position { line: 61, column: 17, }, end: Position { line: 72, column: 105, }, }, }, ), span: Span { start: Position { line: 61, column: 11, }, end: Position { line: 72, column: 105, }, }, }, ), }, ), ], target: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 10, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 73, column: 11, }, end: Position { line: 73, column: 13, }, }, }, ), Identifier( Identifier { id: "arg", span: Span { start: Position { line: 73, column: 14, }, end: Position { line: 73, column: 17, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 73, column: 19, }, end: Position { line: 73, column: 25, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 60, column: 5, }, end: Position { line: 73, column: 25, }, }, }, ), span: Span { start: Position { line: 59, column: 33, }, end: Position { line: 73, column: 25, }, }, }, ), span: Span { start: Position { line: 59, column: 21, }, end: Position { line: 73, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "textClosureMap", span: Span { start: Position { line: 75, column: 3, }, end: Position { line: 75, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "predefined", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "names", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 76, column: 5, }, end: Position { line: 76, column: 21, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 76, column: 23, }, end: Position { line: 76, column: 25, }, }, }, ), ], span: Span { start: Position { line: 76, column: 22, }, end: Position { line: 76, column: 26, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 76, column: 28, }, end: Position { line: 76, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 76, column: 32, }, end: Position { line: 76, column: 33, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "textClosureList", span: Span { start: Position { line: 76, column: 35, }, end: Position { line: 76, column: 50, }, }, }, ), arguments: [ Identifier( Identifier { id: "predefined", span: Span { start: Position { line: 76, column: 51, }, end: Position { line: 76, column: 61, }, }, }, ), Identifier( Identifier { id: "names", span: Span { start: Position { line: 76, column: 62, }, end: Position { line: 76, column: 67, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 75, column: 35, }, end: Position { line: 76, column: 69, }, }, }, ), span: Span { start: Position { line: 75, column: 23, }, end: Position { line: 76, column: 69, }, }, }, ), span: Span { start: Position { line: 75, column: 20, }, end: Position { line: 76, column: 69, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "noDepEntry", span: Span { start: Position { line: 78, column: 3, }, end: Position { line: 78, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "text", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 78, column: 31, }, end: Position { line: 78, column: 35, }, }, }, ), ], span: Span { start: Position { line: 78, column: 23, }, end: Position { line: 78, column: 36, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "deps", span: Span { start: Position { line: 78, column: 37, }, end: Position { line: 78, column: 41, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 78, column: 44, }, end: Position { line: 78, column: 46, }, }, }, ), }, ), ], span: Span { start: Position { line: 78, column: 22, }, end: Position { line: 78, column: 48, }, }, }, ), span: Span { start: Position { line: 78, column: 16, }, end: Position { line: 78, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fullDepEntry", span: Span { start: Position { line: 79, column: 3, }, end: Position { line: 79, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "text", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "deps", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 79, column: 39, }, end: Position { line: 79, column: 43, }, }, }, ), Raw( PartRaw { content: "deps", span: Span { start: Position { line: 79, column: 44, }, end: Position { line: 79, column: 48, }, }, }, ), ], span: Span { start: Position { line: 79, column: 31, }, end: Position { line: 79, column: 49, }, }, }, ), ], span: Span { start: Position { line: 79, column: 30, }, end: Position { line: 79, column: 50, }, }, }, ), span: Span { start: Position { line: 79, column: 24, }, end: Position { line: 79, column: 50, }, }, }, ), span: Span { start: Position { line: 79, column: 18, }, end: Position { line: 79, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "packEntry", span: Span { start: Position { line: 80, column: 3, }, end: Position { line: 80, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "deps", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "deps", span: Span { start: Position { line: 80, column: 30, }, end: Position { line: 80, column: 34, }, }, }, ), ], span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 35, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 80, column: 36, }, end: Position { line: 80, column: 40, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 80, column: 41, }, end: Position { line: 80, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 80, column: 21, }, end: Position { line: 80, column: 45, }, }, }, ), span: Span { start: Position { line: 80, column: 15, }, end: Position { line: 80, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "stringAfter", span: Span { start: Position { line: 82, column: 3, }, end: Position { line: 82, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "deps", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "text", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 82, column: 39, }, end: Position { line: 82, column: 43, }, }, }, ), Raw( PartRaw { content: "deps", span: Span { start: Position { line: 82, column: 44, }, end: Position { line: 82, column: 48, }, }, }, ), ], span: Span { start: Position { line: 82, column: 30, }, end: Position { line: 82, column: 49, }, }, }, ), ], span: Span { start: Position { line: 82, column: 29, }, end: Position { line: 82, column: 51, }, }, }, ), span: Span { start: Position { line: 82, column: 23, }, end: Position { line: 82, column: 51, }, }, }, ), span: Span { start: Position { line: 82, column: 17, }, end: Position { line: 82, column: 51, }, }, }, ), }, ), ], span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 84, column: 2, }, }, }, ), span: Span { start: Position { line: 44, column: 1, }, end: Position { line: 84, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 84, column: 2, }, }, }, )