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: "value", 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: 3, column: 5, }, end: Position { line: 3, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 12, }, end: Position { line: 3, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 3, column: 16, }, end: Position { line: 3, column: 21, }, }, }, ), Raw( PartRaw { content: "either", span: Span { start: Position { line: 3, column: 22, }, end: Position { line: 3, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 29, }, end: Position { line: 3, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 3, column: 33, }, end: Position { line: 3, column: 38, }, }, }, ), Raw( PartRaw { content: "int", span: Span { start: Position { line: 3, column: 39, }, end: Position { line: 3, column: 42, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 43, }, end: Position { line: 3, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 3, column: 47, }, end: Position { line: 3, column: 52, }, }, }, ), Raw( PartRaw { content: "str", span: Span { start: Position { line: 3, column: 53, }, end: Position { line: 3, column: 56, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 2, column: 32, }, end: Position { line: 4, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 1, column: 15, }, end: Position { line: 5, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 5, column: 2, }, }, }, )