Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 4, column: 12, }, end: Position { line: 4, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 4, column: 17, }, end: Position { line: 4, column: 22, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 4, column: 23, }, }, }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fun", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 7, column: 11, }, end: Position { line: 7, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 7, column: 15, }, end: Position { line: 7, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 8, column: 7, }, end: Position { line: 8, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 8, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionTo", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 32, }, end: Position { line: 8, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 8, column: 38, }, end: Position { line: 8, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 45, }, end: Position { line: 8, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 8, column: 51, }, end: Position { line: 8, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 24, }, end: Position { line: 9, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 12, column: 20, }, end: Position { line: 12, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 13, column: 17, }, end: Position { line: 13, column: 25, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 13, column: 27, }, end: Position { line: 13, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fun", span: Span { start: Position { line: 13, column: 34, }, end: Position { line: 13, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "a", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "a", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 15, }, }, }, ), ], span: Span { start: Position { line: 14, column: 13, }, end: Position { line: 14, column: 16, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "b", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "b", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 15, }, }, }, ), ], span: Span { start: Position { line: 15, column: 13, }, end: Position { line: 15, column: 16, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "c", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "c", span: Span { start: Position { line: 16, column: 14, }, end: Position { line: 16, column: 15, }, }, }, ), ], span: Span { start: Position { line: 16, column: 13, }, end: Position { line: 16, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 38, }, end: Position { line: 17, column: 8, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 18, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 13, }, end: Position { line: 19, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 9, }, }, }, ), Raw( PartRaw { content: "fun", span: Span { start: Position { line: 21, column: 10, }, end: Position { line: 21, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkMerge", span: Span { start: Position { line: 21, column: 20, }, end: Position { line: 21, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "input", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 22, column: 13, }, end: Position { line: 22, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkAfter", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "input", span: Span { start: Position { line: 22, column: 27, }, end: Position { line: 22, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "a", span: Span { start: Position { line: 22, column: 33, }, end: Position { line: 22, column: 34, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 22, column: 25, }, end: Position { line: 22, column: 36, }, }, }, ), ], }, ), span: Span { start: Position { line: 22, column: 6, }, end: Position { line: 22, column: 36, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "input", }, ), body: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "input", span: Span { start: Position { line: 23, column: 15, }, end: Position { line: 23, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "b", span: Span { start: Position { line: 23, column: 21, }, end: Position { line: 23, column: 22, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 23, column: 13, }, end: Position { line: 23, column: 24, }, }, }, ), span: Span { start: Position { line: 23, column: 6, }, end: Position { line: 23, column: 24, }, }, }, ), ], span: Span { start: Position { line: 21, column: 28, }, end: Position { line: 24, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 4, }, end: Position { line: 25, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 25, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 25, column: 2, }, }, }, )