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: 3, column: 3, }, end: Position { line: 3, column: 10, }, }, }, ), Raw( PartRaw { content: "value", span: Span { start: Position { line: 3, column: 11, }, end: Position { line: 3, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 19, }, end: Position { line: 3, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 3, column: 23, }, end: Position { line: 3, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 4, column: 5, }, end: Position { line: 4, column: 9, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 4, column: 12, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 21, }, }, }, ), Raw( PartRaw { content: "anything", span: Span { start: Position { line: 4, column: 22, }, end: Position { line: 4, column: 30, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 3, column: 32, }, end: Position { line: 5, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 9, }, }, }, ), Raw( PartRaw { content: "value", span: Span { start: Position { line: 7, column: 10, }, end: Position { line: 7, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "foo", span: Span { start: Position { line: 8, column: 16, }, end: Position { line: 8, column: 19, }, }, }, ), ], span: Span { start: Position { line: 8, column: 15, }, end: Position { line: 8, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "err", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 9, column: 11, }, end: Position { line: 9, column: 16, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "err", span: Span { start: Position { line: 9, column: 18, }, end: Position { line: 9, column: 21, }, }, }, ), ], span: Span { start: Position { line: 9, column: 17, }, end: Position { line: 9, column: 22, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 18, }, end: Position { line: 10, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 1, column: 15, }, end: Position { line: 12, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 12, column: 2, }, }, }, )