Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "deathtrapArgs", span: Span { start: Position { line: 3, column: 3, }, 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: "mapAttrs", span: Span { start: Position { line: 3, column: 23, }, end: Position { line: 3, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "_", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 4, column: 12, }, end: Position { line: 4, column: 17, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The module system is too strict, accessing an unused option's ", span: Span { start: Position { line: 4, column: 19, }, end: Position { line: 4, column: 85, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "k", span: Span { start: Position { line: 4, column: 83, }, end: Position { line: 4, column: 84, }, }, }, ), }, ), Raw( PartRaw { content: " mkOption-attribute.", span: Span { start: Position { line: 4, column: 19, }, end: Position { line: 4, column: 105, }, }, }, ), ], span: Span { start: Position { line: 4, column: 18, }, end: Position { line: 4, column: 106, }, }, }, ), ], }, ), span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 106, }, }, }, ), span: Span { start: Position { line: 4, column: 6, }, end: Position { line: 4, column: 106, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionArgs", span: Span { start: Position { line: 5, column: 10, }, end: Position { line: 5, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 23, }, end: Position { line: 5, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 5, column: 27, }, end: Position { line: 5, column: 35, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), Raw( PartRaw { content: "value", span: Span { start: Position { line: 8, column: 11, }, end: Position { line: 8, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 8, column: 19, }, end: Position { line: 8, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 8, column: 23, }, end: Position { line: 8, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 12, }, end: Position { line: 9, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 9, column: 16, }, end: Position { line: 9, column: 21, }, }, }, ), Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 30, }, end: Position { line: 9, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 9, column: 34, }, end: Position { line: 9, column: 39, }, }, }, ), Raw( PartRaw { content: "str", span: Span { start: Position { line: 9, column: 40, }, end: Position { line: 9, column: 43, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 10, column: 15, }, end: Position { line: 10, column: 17, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 32, }, end: Position { line: 11, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 10, }, }, }, ), Raw( PartRaw { content: "testing-laziness-so-don't-read-me", span: Span { start: Position { line: 12, column: 11, }, end: Position { line: 12, column: 44, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 47, }, end: Position { line: 12, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 12, column: 51, }, end: Position { line: 12, column: 59, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "deathtrapArgs", span: Span { start: Position { line: 12, column: 60, }, end: Position { line: 12, column: 73, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 13, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 13, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 13, column: 2, }, }, }, )