Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 2, column: 3, }, end: Position { line: 2, column: 10, }, }, }, ), Raw( PartRaw { content: "dummy", span: Span { start: Position { line: 2, column: 11, }, end: Position { line: 2, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 2, column: 19, }, end: Position { line: 2, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 2, column: 23, }, end: Position { line: 2, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 2, column: 34, }, end: Position { line: 2, column: 38, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 2, column: 41, }, end: Position { line: 2, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 2, column: 45, }, end: Position { line: 2, column: 50, }, }, }, ), Raw( PartRaw { content: "anything", span: Span { start: Position { line: 2, column: 51, }, end: Position { line: 2, column: 59, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 2, column: 61, }, end: Position { line: 2, column: 68, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 2, column: 71, }, end: Position { line: 2, column: 73, }, }, }, ), }, ), ], span: Span { start: Position { line: 2, column: 32, }, end: Position { line: 2, column: 76, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 3, column: 3, }, end: Position { line: 3, column: 15, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "a", span: Span { start: Position { line: 5, column: 7, }, end: Position { line: 5, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 11, }, end: Position { line: 5, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 5, column: 15, }, end: Position { line: 5, column: 20, }, }, }, ), Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 5, column: 21, }, end: Position { line: 5, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 30, }, end: Position { line: 5, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 5, column: 34, }, end: Position { line: 5, column: 39, }, }, }, ), Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 5, column: 40, }, end: Position { line: 5, column: 49, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 5, column: 52, }, end: Position { line: 5, column: 59, }, }, }, ), Raw( PartRaw { content: "bar", span: Span { start: Position { line: 5, column: 60, }, end: Position { line: 5, column: 63, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 66, }, end: Position { line: 5, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 5, column: 70, }, end: Position { line: 5, column: 78, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 5, column: 79, }, end: Position { line: 5, column: 82, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 50, }, end: Position { line: 5, column: 85, }, }, }, ), ], }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "a", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 6, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "merge", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "loc", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "defs", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformItems", span: Span { start: Position { line: 11, column: 28, }, end: Position { line: 11, column: 41, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 11, column: 44, }, end: Position { line: 11, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "merge", span: Span { start: Position { line: 11, column: 46, }, end: Position { line: 11, column: 51, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 11, column: 52, }, end: Position { line: 11, column: 55, }, }, }, ), Identifier( Identifier { id: "defs", span: Span { start: Position { line: 11, column: 56, }, end: Position { line: 11, column: 60, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 26, }, end: Position { line: 11, column: 63, }, }, }, ), span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 63, }, }, }, ), span: Span { start: Position { line: 11, column: 15, }, end: Position { line: 11, column: 63, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 10, }, end: Position { line: 12, column: 6, }, }, }, ), }, ), span: Span { start: Position { line: 4, column: 5, }, end: Position { line: 12, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 9, }, }, }, ), Raw( PartRaw { content: "foo", span: Span { start: Position { line: 13, column: 10, }, end: Position { line: 13, column: 13, }, }, }, ), Raw( PartRaw { content: "bar", span: Span { start: Position { line: 13, column: 14, }, end: Position { line: 13, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "ok", span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 23, }, }, }, ), ], span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 1, column: 15, }, end: Position { line: 14, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 14, column: 2, }, }, }, )