Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "extendModules", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 14, }, }, }, ), Raw( PartRaw { content: "sub", span: Span { start: Position { line: 10, column: 15, }, end: Position { line: 10, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 10, column: 21, }, end: Position { line: 10, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 11, column: 19, }, end: Position { line: 11, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 12, column: 16, }, end: Position { line: 12, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 12, column: 22, }, end: Position { line: 12, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "extendModules", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 18, column: 13, }, end: Position { line: 18, column: 20, }, }, }, ), Raw( PartRaw { content: "value", span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 18, column: 29, }, end: Position { line: 18, column: 37, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 19, column: 15, }, end: Position { line: 19, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 19, column: 22, }, end: Position { line: 19, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 19, column: 28, }, end: Position { line: 19, column: 31, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 18, column: 38, }, end: Position { line: 20, column: 14, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 22, column: 13, }, end: Position { line: 22, column: 20, }, }, }, ), Raw( PartRaw { content: "specialisation", span: Span { start: Position { line: 22, column: 21, }, end: Position { line: 22, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 22, column: 38, }, end: Position { line: 22, column: 46, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 23, column: 15, }, end: Position { line: 23, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 23, column: 25, }, end: Position { line: 23, column: 28, }, }, }, ), }, ), Inherit( BindingInherit { from: Some( FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "extendModules", span: Span { start: Position { line: 25, column: 18, }, end: Position { line: 25, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 26, column: 19, }, end: Position { line: 26, column: 26, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "specialisation", span: Span { start: Position { line: 27, column: 21, }, end: Position { line: 27, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 27, column: 38, }, end: Position { line: 27, column: 48, }, }, }, ), arguments: [ Integer( Integer { value: "0", span: Span { start: Position { line: 27, column: 49, }, end: Position { line: 27, column: 50, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 27, column: 51, }, end: Position { line: 27, column: 54, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 26, column: 30, }, end: Position { line: 28, column: 20, }, }, }, ), ], span: Span { start: Position { line: 26, column: 29, }, end: Position { line: 28, column: 21, }, }, }, ), }, ), ], span: Span { start: Position { line: 25, column: 32, }, end: Position { line: 29, column: 18, }, }, }, ), ], }, ), ), attributes: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 30, column: 17, }, end: Position { line: 30, column: 21, }, }, }, ), ], span: Span { start: Position { line: 22, column: 48, }, end: Position { line: 30, column: 22, }, }, }, ), ], span: Span { start: Position { line: 22, column: 47, }, end: Position { line: 31, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 11, }, end: Position { line: 32, column: 12, }, }, }, ), span: Span { start: Position { line: 13, column: 11, }, end: Position { line: 32, column: 12, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 30, }, end: Position { line: 34, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 35, column: 6, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 13, }, }, }, ), Raw( PartRaw { content: "sub", span: Span { start: Position { line: 37, column: 14, }, end: Position { line: 37, column: 17, }, }, }, ), Raw( PartRaw { content: "value", span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 23, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 37, column: 26, }, end: Position { line: 37, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 30, }, }, }, ), ], span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 40, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 41, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 41, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 41, column: 2, }, }, }, )