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: 3, column: 12, }, end: Position { line: 3, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 3, column: 17, }, end: Position { line: 3, column: 22, }, }, }, ), ], span: Span { start: Position { line: 2, column: 4, }, end: Position { line: 3, column: 23, }, }, }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fun", span: Span { start: Position { line: 6, column: 5, }, end: Position { line: 6, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 6, column: 11, }, end: Position { line: 6, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 6, column: 15, }, end: Position { line: 6, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 7, column: 7, }, end: Position { line: 7, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 7, column: 14, }, end: Position { line: 7, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionTo", span: Span { start: Position { line: 7, column: 20, }, end: Position { line: 7, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 7, column: 32, }, end: Position { line: 7, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 7, column: 38, }, end: Position { line: 7, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 7, column: 46, }, end: Position { line: 7, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 7, column: 52, }, end: Position { line: 7, column: 55, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 24, }, end: Position { line: 8, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 10, column: 18, }, end: Position { line: 10, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 25, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 27, }, end: Position { line: 12, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrValues", span: Span { start: Position { line: 12, column: 31, }, end: Position { line: 12, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 12, column: 43, }, end: Position { line: 12, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fun", span: Span { start: Position { line: 12, column: 50, }, end: Position { line: 12, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "a", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "a", span: Span { start: Position { line: 13, column: 14, }, end: Position { line: 13, column: 15, }, }, }, ), ], span: Span { start: Position { line: 13, column: 13, }, end: Position { line: 13, column: 16, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "b", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "b", 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: "c", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "c", 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, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 54, }, end: Position { line: 16, column: 8, }, }, }, ), ], }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 27, }, end: Position { line: 17, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 13, }, end: Position { line: 18, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 9, }, }, }, ), Raw( PartRaw { content: "fun", span: Span { start: Position { line: 20, column: 10, }, end: Position { line: 20, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 16, }, end: Position { line: 20, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkMerge", span: Span { start: Position { line: 20, column: 20, }, end: Position { line: 20, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "input", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "input", span: Span { start: Position { line: 21, column: 24, }, end: Position { line: 21, column: 29, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "a", span: Span { start: Position { line: 21, column: 31, }, end: Position { line: 21, column: 32, }, }, }, ), ], span: Span { start: Position { line: 21, column: 14, }, end: Position { line: 21, column: 33, }, }, }, ), ], span: Span { start: Position { line: 21, column: 13, }, end: Position { line: 21, column: 35, }, }, }, ), span: Span { start: Position { line: 21, column: 6, }, end: Position { line: 21, column: 35, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "input", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "input", span: Span { start: Position { line: 22, column: 24, }, end: Position { line: 22, column: 29, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "b", span: Span { start: Position { line: 22, column: 31, }, end: Position { line: 22, column: 32, }, }, }, ), ], span: Span { start: Position { line: 22, column: 14, }, end: Position { line: 22, column: 33, }, }, }, ), ], span: Span { start: Position { line: 22, column: 13, }, end: Position { line: 22, column: 35, }, }, }, ), span: Span { start: Position { line: 22, column: 6, }, end: Position { line: 22, column: 35, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "input", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "b", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 11, }, end: Position { line: 24, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkForce", span: Span { start: Position { line: 24, column: 15, }, end: Position { line: 24, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "input", span: Span { start: Position { line: 24, column: 23, }, end: Position { line: 24, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "c", span: Span { start: Position { line: 24, column: 29, }, end: Position { line: 24, column: 30, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 23, column: 13, }, end: Position { line: 25, column: 6, }, }, }, ), span: Span { start: Position { line: 23, column: 6, }, end: Position { line: 25, column: 6, }, }, }, ), ], span: Span { start: Position { line: 20, column: 28, }, end: Position { line: 26, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 4, column: 4, }, end: Position { line: 27, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 27, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 27, column: 2, }, }, }, )