Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", 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: "all", span: Span { start: Position { line: 5, column: 5, }, end: Position { line: 5, column: 8, }, }, }, ), Raw( PartRaw { content: "any", span: Span { start: Position { line: 6, column: 5, }, end: Position { line: 6, column: 8, }, }, }, ), Raw( PartRaw { content: "attrByPath", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 15, }, }, }, ), Raw( PartRaw { content: "attrNames", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 14, }, }, }, ), Raw( PartRaw { content: "catAttrs", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 13, }, }, }, ), Raw( PartRaw { content: "concatLists", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 16, }, }, }, ), Raw( PartRaw { content: "concatMap", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 14, }, }, }, ), Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 21, }, }, }, ), Raw( PartRaw { content: "elem", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 9, }, }, }, ), Raw( PartRaw { content: "filter", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 11, }, }, }, ), Raw( PartRaw { content: "foldl'", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 11, }, }, }, ), Raw( PartRaw { content: "getAttrFromPath", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 20, }, }, }, ), Raw( PartRaw { content: "head", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 9, }, }, }, ), Raw( PartRaw { content: "id", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 7, }, }, }, ), Raw( PartRaw { content: "imap1", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 10, }, }, }, ), Raw( PartRaw { content: "isAttrs", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 12, }, }, }, ), Raw( PartRaw { content: "isBool", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 11, }, }, }, ), Raw( PartRaw { content: "isFunction", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 15, }, }, }, ), Raw( PartRaw { content: "isList", span: Span { start: Position { line: 23, column: 5, }, end: Position { line: 23, column: 11, }, }, }, ), Raw( PartRaw { content: "isString", span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 13, }, }, }, ), Raw( PartRaw { content: "length", span: Span { start: Position { line: 25, column: 5, }, end: Position { line: 25, column: 11, }, }, }, ), Raw( PartRaw { content: "mapAttrs", span: Span { start: Position { line: 26, column: 5, }, end: Position { line: 26, column: 13, }, }, }, ), Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 19, }, }, }, ), Raw( PartRaw { content: "mapAttrsRecursiveCond", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 26, }, }, }, ), Raw( PartRaw { content: "min", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 8, }, }, }, ), Raw( PartRaw { content: "optional", span: Span { start: Position { line: 30, column: 5, }, end: Position { line: 30, column: 13, }, }, }, ), Raw( PartRaw { content: "optionalAttrs", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 18, }, }, }, ), Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 19, }, }, }, ), Raw( PartRaw { content: "recursiveUpdate", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 20, }, }, }, ), Raw( PartRaw { content: "reverseList", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 16, }, }, }, ), Raw( PartRaw { content: "sort", span: Span { start: Position { line: 34, column: 17, }, end: Position { line: 34, column: 21, }, }, }, ), Raw( PartRaw { content: "setAttrByPath", span: Span { start: Position { line: 35, column: 5, }, end: Position { line: 35, column: 18, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 36, column: 5, }, end: Position { line: 36, column: 10, }, }, }, ), Raw( PartRaw { content: "warnIf", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 11, }, }, }, ), Raw( PartRaw { content: "zipAttrsWith", span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 38, column: 17, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 39, column: 6, }, }, }, ), Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 40, column: 12, }, end: Position { line: 40, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 40, column: 23, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "isOption", span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 41, column: 13, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 42, column: 5, }, end: Position { line: 42, column: 13, }, }, }, ), Raw( PartRaw { content: "showDefs", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 13, }, }, }, ), Raw( PartRaw { content: "showFiles", span: Span { start: Position { line: 44, column: 5, }, end: Position { line: 44, column: 14, }, }, }, ), Raw( PartRaw { content: "showOption", span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 45, column: 15, }, }, }, ), Raw( PartRaw { content: "unknownModule", span: Span { start: Position { line: 46, column: 5, }, end: Position { line: 46, column: 18, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 47, column: 6, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "showDeclPrefix", span: Span { start: Position { line: 49, column: 3, }, end: Position { line: 49, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "loc", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "decl", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "prefix", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: " - option(s) with prefix `", span: Span { start: Position { line: 50, column: 6, }, end: Position { line: 50, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 50, column: 34, }, end: Position { line: 50, column: 44, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "loc", span: Span { start: Position { line: 50, column: 46, }, end: Position { line: 50, column: 49, }, }, }, ), operator: Concatenation, right: List( List { elements: [ Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 50, column: 54, }, end: Position { line: 50, column: 60, }, }, }, ), ], span: Span { start: Position { line: 50, column: 53, }, end: Position { line: 50, column: 61, }, }, }, ), }, ), ], }, ), }, ), Raw( PartRaw { content: "' in module `", span: Span { start: Position { line: 50, column: 6, }, end: Position { line: 50, column: 76, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "decl", span: Span { start: Position { line: 50, column: 78, }, end: Position { line: 50, column: 82, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 50, column: 83, }, end: Position { line: 50, column: 88, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 50, column: 6, }, end: Position { line: 50, column: 90, }, }, }, ), ], span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 91, }, }, }, ), span: Span { start: Position { line: 49, column: 31, }, end: Position { line: 50, column: 91, }, }, }, ), span: Span { start: Position { line: 49, column: 25, }, end: Position { line: 50, column: 91, }, }, }, ), span: Span { start: Position { line: 49, column: 20, }, end: Position { line: 50, column: 91, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "showRawDecls", span: Span { start: Position { line: 51, column: 3, }, end: Position { line: 51, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "loc", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "decls", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 21, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 52, column: 23, }, end: Position { line: 52, column: 25, }, }, }, ), ], span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 26, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "sort", span: Span { start: Position { line: 53, column: 8, }, end: Position { line: 53, column: 12, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "b", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "a", span: Span { start: Position { line: 53, column: 20, }, end: Position { line: 53, column: 21, }, }, }, ), operator: LessThan, right: Identifier( Identifier { id: "b", span: Span { start: Position { line: 53, column: 24, }, end: Position { line: 53, column: 25, }, }, }, ), }, ), span: Span { start: Position { line: 53, column: 17, }, end: Position { line: 53, column: 25, }, }, }, ), span: Span { start: Position { line: 53, column: 14, }, end: Position { line: 53, column: 25, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMap", span: Span { start: Position { line: 54, column: 10, }, end: Position { line: 54, column: 19, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "decl", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 55, column: 18, }, end: Position { line: 55, column: 21, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showDeclPrefix", span: Span { start: Position { line: 56, column: 14, }, end: Position { line: 56, column: 28, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 56, column: 29, }, end: Position { line: 56, column: 32, }, }, }, ), Identifier( Identifier { id: "decl", span: Span { start: Position { line: 56, column: 33, }, end: Position { line: 56, column: 37, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 57, column: 14, }, end: Position { line: 57, column: 23, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "decl", span: Span { start: Position { line: 57, column: 24, }, end: Position { line: 57, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 57, column: 29, }, end: Position { line: 57, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 55, column: 12, }, end: Position { line: 57, column: 37, }, }, }, ), Identifier( Identifier { id: "decls", span: Span { start: Position { line: 59, column: 11, }, end: Position { line: 59, column: 16, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 51, column: 23, }, end: Position { line: 60, column: 9, }, }, }, ), span: Span { start: Position { line: 51, column: 18, }, end: Position { line: 60, column: 9, }, }, }, ), }, ), ], target: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "evalModules", span: Span { start: Position { line: 101, column: 3, }, end: Position { line: 101, column: 14, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: LeftAt( "evalModulesArgs", ), arguments: [ FunctionHeadDestructuredArgument { identifier: "modules", default: None, }, FunctionHeadDestructuredArgument { identifier: "prefix", default: Some( List( List { elements: [], span: Span { start: Position { line: 103, column: 28, }, end: Position { line: 103, column: 30, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "specialArgs", default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 108, column: 33, }, end: Position { line: 108, column: 35, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "args", default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 110, column: 26, }, end: Position { line: 110, column: 28, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "check", default: Some( Identifier( Identifier { id: "true", span: Span { start: Position { line: 112, column: 27, }, end: Position { line: 112, column: 31, }, }, }, ), ), }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withWarnings", span: Span { start: Position { line: 115, column: 7, }, end: Position { line: 115, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "warnIf", span: Span { start: Position { line: 116, column: 13, }, end: Position { line: 116, column: 19, }, }, }, ), ], default: None, }, ), arguments: [ HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "evalModulesArgs", span: Span { start: Position { line: 116, column: 21, }, end: Position { line: 116, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "args", span: Span { start: Position { line: 116, column: 37, }, end: Position { line: 116, column: 41, }, }, }, ), ], }, ), String( String_ { parts: [ Raw( PartRaw { content: "The args argument to evalModules is deprecated. Please set config._module.args instead.", span: Span { start: Position { line: 116, column: 44, }, end: Position { line: 116, column: 131, }, }, }, ), ], span: Span { start: Position { line: 116, column: 43, }, end: Position { line: 116, column: 132, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "warnIf", span: Span { start: Position { line: 117, column: 13, }, end: Position { line: 117, column: 19, }, }, }, ), ], default: None, }, ), HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "evalModulesArgs", span: Span { start: Position { line: 117, column: 21, }, end: Position { line: 117, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "check", span: Span { start: Position { line: 117, column: 37, }, end: Position { line: 117, column: 42, }, }, }, ), ], }, ), String( String_ { parts: [ Raw( PartRaw { content: "The check argument to evalModules is deprecated. Please set config._module.check instead.", span: Span { start: Position { line: 117, column: 45, }, end: Position { line: 117, column: 134, }, }, }, ), ], span: Span { start: Position { line: 117, column: 44, }, end: Position { line: 117, column: 135, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 118, column: 10, }, }, }, ), ], }, ), span: Span { start: Position { line: 115, column: 22, }, end: Position { line: 118, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "legacyModules", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 121, column: 9, }, end: Position { line: 121, column: 17, }, }, }, ), arguments: [ HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "evalModulesArgs", span: Span { start: Position { line: 121, column: 19, }, end: Position { line: 121, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "args", span: Span { start: Position { line: 121, column: 35, }, end: Position { line: 121, column: 39, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 122, column: 11, }, end: Position { line: 122, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 123, column: 13, }, end: Position { line: 123, column: 20, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 123, column: 21, }, end: Position { line: 123, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "args", span: Span { start: Position { line: 123, column: 28, }, end: Position { line: 123, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 122, column: 20, }, end: Position { line: 124, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 121, column: 41, }, end: Position { line: 125, column: 10, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 126, column: 12, }, end: Position { line: 126, column: 20, }, }, }, ), arguments: [ HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "evalModulesArgs", span: Span { start: Position { line: 126, column: 22, }, end: Position { line: 126, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "check", span: Span { start: Position { line: 126, column: 38, }, end: Position { line: 126, column: 43, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 127, column: 11, }, end: Position { line: 127, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 128, column: 13, }, end: Position { line: 128, column: 20, }, }, }, ), Raw( PartRaw { content: "check", span: Span { start: Position { line: 128, column: 21, }, end: Position { line: 128, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 128, column: 29, }, end: Position { line: 128, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "check", span: Span { start: Position { line: 128, column: 39, }, end: Position { line: 128, column: 44, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 127, column: 20, }, end: Position { line: 129, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 126, column: 45, }, end: Position { line: 130, column: 10, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "regularModules", span: Span { start: Position { line: 131, column: 7, }, end: Position { line: 131, column: 21, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "modules", span: Span { start: Position { line: 131, column: 24, }, end: Position { line: 131, column: 31, }, }, }, ), operator: Concatenation, right: Identifier( Identifier { id: "legacyModules", span: Span { start: Position { line: 131, column: 35, }, end: Position { line: 131, column: 48, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internalModule", span: Span { start: Position { line: 140, column: 7, }, end: Position { line: 140, column: 21, }, }, }, ), ], to: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "lib/modules.nix", span: Span { start: Position { line: 141, column: 18, }, end: Position { line: 141, column: 33, }, }, }, ), ], span: Span { start: Position { line: 141, column: 17, }, end: Position { line: 141, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "_file", span: Span { start: Position { line: 143, column: 15, }, end: Position { line: 143, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 145, column: 9, }, end: Position { line: 145, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 146, column: 11, }, end: Position { line: 146, column: 18, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 146, column: 19, }, end: Position { line: 146, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 146, column: 26, }, end: Position { line: 146, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 153, column: 13, }, end: Position { line: 153, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 153, column: 20, }, end: Position { line: 153, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lazyAttrsOf", span: Span { start: Position { line: 153, column: 26, }, end: Position { line: 153, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 153, column: 38, }, end: Position { line: 153, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "raw", span: Span { start: Position { line: 153, column: 44, }, end: Position { line: 153, column: 47, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 157, column: 18, }, end: Position { line: 157, column: 24, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 157, column: 28, }, end: Position { line: 157, column: 30, }, }, }, ), }, ), then: Identifier( Identifier { id: "null", span: Span { start: Position { line: 158, column: 20, }, end: Position { line: 158, column: 24, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 159, column: 21, }, end: Position { line: 159, column: 29, }, }, }, ), ], span: Span { start: Position { line: 159, column: 20, }, end: Position { line: 159, column: 30, }, }, }, ), span: Span { start: Position { line: 157, column: 15, }, end: Position { line: 159, column: 30, }, }, }, ), }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 159, column: 34, }, end: Position { line: 159, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 163, column: 13, }, end: Position { line: 163, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 163, column: 27, }, end: Position { line: 163, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 163, column: 31, }, end: Position { line: 163, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Additional arguments passed to each module in addition to ones\nlike `lib`, `config`,\nand `pkgs`, `modulesPath`.\n\nThis option is also available to all submodules. Submodules do not\ninherit args from their parent module, nor do they provide args to\ntheir parent module or sibling submodules. The sole exception to\nthis is the argument `name` which is provided by\nparent modules to a submodule and contains the attribute name\nthe submodule is bound to, or a unique generated name if it is\nnot bound to an attribute.\n\nSome arguments are already passed by default, of which the\nfollowing *cannot* be changed with this option:\n- {var}`lib`: The nixpkgs library.\n- {var}`config`: The results of all options after merging the values from all modules together.\n- {var}`options`: The options declared in all modules.\n- {var}`specialArgs`: The `specialArgs` argument passed to `evalModules`.\n- All attributes of {var}`specialArgs`\n\n Whereas option values can generally depend on other option values\n thanks to laziness, this does not apply to `imports`, which\n must be computed statically before anything else.\n\n For this reason, callers of the module system can provide `specialArgs`\n which are available during import resolution.\n\n For NixOS, `specialArgs` includes\n {var}`modulesPath`, which allows you to import\n extra modules from the nixpkgs package tree without having to\n somehow make the module aware of the location of the\n `nixpkgs` or NixOS directories.\n ```\n { modulesPath, ... }: {\n imports = [\n (modulesPath + \"/profiles/minimal.nix\")\n ];\n }\n ```\n\nFor NixOS, the default value for this option includes at least this argument:\n- {var}`pkgs`: The nixpkgs package set according to\n the {option}`nixpkgs.pkgs` option.\n", span: Span { start: Position { line: 164, column: 1, }, end: Position { line: 207, column: 13, }, }, }, ), ], span: Span { start: Position { line: 163, column: 37, }, end: Position { line: 207, column: 15, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 146, column: 35, }, end: Position { line: 208, column: 12, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 210, column: 11, }, end: Position { line: 210, column: 18, }, }, }, ), Raw( PartRaw { content: "check", span: Span { start: Position { line: 210, column: 19, }, end: Position { line: 210, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 210, column: 27, }, end: Position { line: 210, column: 35, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 211, column: 13, }, end: Position { line: 211, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 211, column: 20, }, end: Position { line: 211, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 211, column: 26, }, end: Position { line: 211, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 212, column: 13, }, end: Position { line: 212, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 212, column: 24, }, end: Position { line: 212, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 213, column: 13, }, end: Position { line: 213, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 213, column: 23, }, end: Position { line: 213, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 214, column: 13, }, end: Position { line: 214, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 214, column: 27, }, end: Position { line: 214, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 214, column: 31, }, end: Position { line: 214, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to check whether all option definitions have matching declarations.", span: Span { start: Position { line: 214, column: 38, }, end: Position { line: 214, column: 113, }, }, }, ), ], span: Span { start: Position { line: 214, column: 37, }, end: Position { line: 214, column: 114, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 210, column: 36, }, end: Position { line: 215, column: 12, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 217, column: 11, }, end: Position { line: 217, column: 18, }, }, }, ), Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 217, column: 19, }, end: Position { line: 217, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 217, column: 34, }, end: Position { line: 217, column: 42, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 218, column: 13, }, end: Position { line: 218, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 218, column: 20, }, end: Position { line: 218, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 218, column: 26, }, end: Position { line: 218, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 218, column: 33, }, end: Position { line: 218, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionType", span: Span { start: Position { line: 218, column: 39, }, end: Position { line: 218, column: 49, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 219, column: 13, }, end: Position { line: 219, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 219, column: 24, }, end: Position { line: 219, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 220, column: 13, }, end: Position { line: 220, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 220, column: 23, }, end: Position { line: 220, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 221, column: 13, }, end: Position { line: 221, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 221, column: 27, }, end: Position { line: 221, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 221, column: 31, }, end: Position { line: 221, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "If set, merge all definitions that don't have an associated option\ntogether using this type. The result then gets combined with the\nvalues of all declared options to produce the final `\nconfig` value.\n\nIf this is `null`, definitions without an option\nwill throw an error unless {option}`_module.check` is\nturned off.\n", span: Span { start: Position { line: 222, column: 1, }, end: Position { line: 230, column: 13, }, }, }, ), ], span: Span { start: Position { line: 221, column: 37, }, end: Position { line: 230, column: 15, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 217, column: 43, }, end: Position { line: 231, column: 12, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 233, column: 11, }, end: Position { line: 233, column: 18, }, }, }, ), Raw( PartRaw { content: "specialArgs", span: Span { start: Position { line: 233, column: 19, }, end: Position { line: 233, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 233, column: 33, }, end: Position { line: 233, column: 41, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "readOnly", span: Span { start: Position { line: 234, column: 13, }, end: Position { line: 234, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 234, column: 24, }, end: Position { line: 234, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 235, column: 13, }, end: Position { line: 235, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 235, column: 24, }, end: Position { line: 235, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 236, column: 13, }, end: Position { line: 236, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 236, column: 27, }, end: Position { line: 236, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 236, column: 31, }, end: Position { line: 236, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Externally provided module arguments that can't be modified from\nwithin a configuration, but can be used in module imports.\n", span: Span { start: Position { line: 237, column: 1, }, end: Position { line: 239, column: 13, }, }, }, ), ], span: Span { start: Position { line: 236, column: 37, }, end: Position { line: 239, column: 15, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 233, column: 42, }, end: Position { line: 240, column: 12, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 145, column: 19, }, end: Position { line: 241, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 243, column: 9, }, end: Position { line: 243, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 244, column: 11, }, end: Position { line: 244, column: 18, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 244, column: 19, }, end: Position { line: 244, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "extendModules", span: Span { start: Position { line: 245, column: 21, }, end: Position { line: 245, column: 34, }, }, }, ), ], span: Span { start: Position { line: 244, column: 27, }, end: Position { line: 245, column: 35, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "moduleType", span: Span { start: Position { line: 246, column: 13, }, end: Position { line: 246, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "type", span: Span { start: Position { line: 246, column: 26, }, end: Position { line: 246, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 244, column: 26, }, end: Position { line: 247, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 248, column: 11, }, end: Position { line: 248, column: 18, }, }, }, ), Raw( PartRaw { content: "specialArgs", span: Span { start: Position { line: 248, column: 19, }, end: Position { line: 248, column: 30, }, }, }, ), ], to: Identifier( Identifier { id: "specialArgs", span: Span { start: Position { line: 248, column: 33, }, end: Position { line: 248, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 243, column: 18, }, end: Position { line: 249, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 140, column: 24, }, end: Position { line: 250, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "merged", span: Span { start: Position { line: 252, column: 7, }, end: Position { line: 252, column: 13, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "collected", span: Span { start: Position { line: 253, column: 13, }, end: Position { line: 253, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "collectModules", span: Span { start: Position { line: 253, column: 25, }, end: Position { line: 253, column: 39, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "specialArgs", span: Span { start: Position { line: 254, column: 12, }, end: Position { line: 254, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "modulesPath", span: Span { start: Position { line: 254, column: 24, }, end: Position { line: 254, column: 35, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 254, column: 39, }, end: Position { line: 254, column: 41, }, }, }, ), ), }, ), BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "regularModules", span: Span { start: Position { line: 255, column: 12, }, end: Position { line: 255, column: 26, }, }, }, ), operator: Concatenation, right: List( List { elements: [ Identifier( Identifier { id: "internalModule", span: Span { start: Position { line: 255, column: 32, }, end: Position { line: 255, column: 46, }, }, }, ), ], span: Span { start: Position { line: 255, column: 30, }, end: Position { line: 255, column: 48, }, }, }, ), }, ), BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 256, column: 22, }, end: Position { line: 256, column: 25, }, }, }, ), Raw( PartRaw { content: "options", span: Span { start: Position { line: 256, column: 26, }, end: Position { line: 256, column: 33, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 256, column: 34, }, end: Position { line: 256, column: 40, }, }, }, ), Raw( PartRaw { content: "specialArgs", span: Span { start: Position { line: 256, column: 41, }, end: Position { line: 256, column: 52, }, }, }, ), ], span: Span { start: Position { line: 256, column: 13, }, end: Position { line: 256, column: 53, }, }, }, ), ], span: Span { start: Position { line: 256, column: 12, }, end: Position { line: 256, column: 55, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "specialArgs", span: Span { start: Position { line: 256, column: 59, }, end: Position { line: 256, column: 70, }, }, }, ), }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeModules", span: Span { start: Position { line: 257, column: 12, }, end: Position { line: 257, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 257, column: 25, }, end: Position { line: 257, column: 31, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "reverseList", span: Span { start: Position { line: 257, column: 33, }, end: Position { line: 257, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "collected", span: Span { start: Position { line: 257, column: 45, }, end: Position { line: 257, column: 54, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 253, column: 9, }, end: Position { line: 257, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 259, column: 7, }, end: Position { line: 259, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "merged", span: Span { start: Position { line: 259, column: 17, }, end: Position { line: 259, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "matchedOptions", span: Span { start: Position { line: 259, column: 24, }, end: Position { line: 259, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 261, column: 7, }, end: Position { line: 261, column: 13, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "declaredConfig", span: Span { start: Position { line: 265, column: 11, }, end: Position { line: 265, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsRecursiveCond", span: Span { start: Position { line: 265, column: 28, }, end: Position { line: 265, column: 49, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isOption", span: Span { start: Position { line: 265, column: 56, }, end: Position { line: 265, column: 64, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 265, column: 65, }, end: Position { line: 265, column: 66, }, }, }, ), ], }, ), span: Span { start: Position { line: 265, column: 54, }, end: Position { line: 265, column: 66, }, }, }, ), span: Span { start: Position { line: 265, column: 51, }, end: Position { line: 265, column: 66, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "_", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 265, column: 75, }, end: Position { line: 265, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 265, column: 77, }, end: Position { line: 265, column: 82, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 265, column: 72, }, end: Position { line: 265, column: 82, }, }, }, ), span: Span { start: Position { line: 265, column: 69, }, end: Position { line: 265, column: 82, }, }, }, ), Identifier( Identifier { id: "options", span: Span { start: Position { line: 265, column: 84, }, end: Position { line: 265, column: 91, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformConfig", span: Span { start: Position { line: 268, column: 11, }, end: Position { line: 268, column: 25, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defs", span: Span { start: Position { line: 270, column: 15, }, end: Position { line: 270, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 270, column: 22, }, end: Position { line: 270, column: 25, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 271, column: 17, }, end: Position { line: 271, column: 21, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 271, column: 24, }, end: Position { line: 271, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 271, column: 28, }, end: Position { line: 271, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 272, column: 17, }, end: Position { line: 272, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttrByPath", span: Span { start: Position { line: 272, column: 25, }, end: Position { line: 272, column: 38, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 272, column: 39, }, end: Position { line: 272, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 272, column: 43, }, end: Position { line: 272, column: 49, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 272, column: 50, }, end: Position { line: 272, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 272, column: 54, }, end: Position { line: 272, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 270, column: 32, }, end: Position { line: 273, column: 16, }, }, }, ), span: Span { start: Position { line: 270, column: 27, }, end: Position { line: 273, column: 16, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "merged", span: Span { start: Position { line: 273, column: 18, }, end: Position { line: 273, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unmatchedDefns", span: Span { start: Position { line: 273, column: 25, }, end: Position { line: 273, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "defs", span: Span { start: Position { line: 274, column: 19, }, end: Position { line: 274, column: 23, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 274, column: 27, }, end: Position { line: 274, column: 29, }, }, }, ), }, ), then: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 274, column: 35, }, end: Position { line: 274, column: 37, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "declaredConfig", span: Span { start: Position { line: 275, column: 18, }, end: Position { line: 275, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 275, column: 33, }, end: Position { line: 275, column: 40, }, }, }, ), Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 275, column: 41, }, end: Position { line: 275, column: 53, }, }, }, ), Raw( PartRaw { content: "merge", span: Span { start: Position { line: 275, column: 54, }, end: Position { line: 275, column: 59, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 275, column: 60, }, end: Position { line: 275, column: 66, }, }, }, ), Identifier( Identifier { id: "defs", span: Span { start: Position { line: 275, column: 67, }, end: Position { line: 275, column: 71, }, }, }, ), ], }, ), span: Span { start: Position { line: 274, column: 16, }, end: Position { line: 275, column: 71, }, }, }, ), span: Span { start: Position { line: 269, column: 13, }, end: Position { line: 275, column: 71, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "declaredConfig", span: Span { start: Position { line: 277, column: 15, }, end: Position { line: 277, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 277, column: 30, }, end: Position { line: 277, column: 37, }, }, }, ), Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 277, column: 38, }, end: Position { line: 277, column: 50, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 277, column: 54, }, end: Position { line: 277, column: 58, }, }, }, ), }, ), then: Identifier( Identifier { id: "declaredConfig", span: Span { start: Position { line: 277, column: 64, }, end: Position { line: 277, column: 78, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recursiveUpdate", span: Span { start: Position { line: 281, column: 16, }, end: Position { line: 281, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "freeformConfig", span: Span { start: Position { line: 281, column: 32, }, end: Position { line: 281, column: 46, }, }, }, ), Identifier( Identifier { id: "declaredConfig", span: Span { start: Position { line: 281, column: 47, }, end: Position { line: 281, column: 61, }, }, }, ), ], }, ), span: Span { start: Position { line: 277, column: 12, }, end: Position { line: 281, column: 61, }, }, }, ), span: Span { start: Position { line: 262, column: 9, }, end: Position { line: 281, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkUnmatched", span: Span { start: Position { line: 283, column: 7, }, end: Position { line: 283, column: 21, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 284, column: 12, }, end: Position { line: 284, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 284, column: 19, }, end: Position { line: 284, column: 26, }, }, }, ), Raw( PartRaw { content: "check", span: Span { start: Position { line: 284, column: 27, }, end: Position { line: 284, column: 32, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 284, column: 36, }, end: Position { line: 284, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 284, column: 43, }, end: Position { line: 284, column: 50, }, }, }, ), Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 284, column: 51, }, end: Position { line: 284, column: 63, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 284, column: 67, }, end: Position { line: 284, column: 71, }, }, }, ), }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "merged", span: Span { start: Position { line: 284, column: 75, }, end: Position { line: 284, column: 81, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unmatchedDefns", span: Span { start: Position { line: 284, column: 82, }, end: Position { line: 284, column: 96, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 284, column: 100, }, end: Position { line: 284, column: 102, }, }, }, ), }, ), }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "firstDef", span: Span { start: Position { line: 286, column: 13, }, end: Position { line: 286, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 286, column: 24, }, end: Position { line: 286, column: 28, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "merged", span: Span { start: Position { line: 286, column: 29, }, end: Position { line: 286, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unmatchedDefns", span: Span { start: Position { line: 286, column: 36, }, end: Position { line: 286, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "baseMsg", span: Span { start: Position { line: 287, column: 13, }, end: Position { line: 287, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 287, column: 24, }, end: Position { line: 287, column: 77, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 287, column: 38, }, end: Position { line: 287, column: 48, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 287, column: 50, }, end: Position { line: 287, column: 56, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "firstDef", span: Span { start: Position { line: 287, column: 60, }, end: Position { line: 287, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 287, column: 69, }, end: Position { line: 287, column: 75, }, }, }, ), ], default: None, }, ), }, ), ], }, ), }, ), Raw( PartRaw { content: "' does not exist. Definition values:", span: Span { start: Position { line: 287, column: 24, }, end: Position { line: 287, column: 113, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showDefs", span: Span { start: Position { line: 287, column: 115, }, end: Position { line: 287, column: 123, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "firstDef", span: Span { start: Position { line: 287, column: 126, }, end: Position { line: 287, column: 134, }, }, }, ), ], span: Span { start: Position { line: 287, column: 124, }, end: Position { line: 287, column: 136, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 287, column: 23, }, end: Position { line: 287, column: 138, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 289, column: 16, }, end: Position { line: 289, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "options", span: Span { start: Position { line: 289, column: 26, }, end: Position { line: 289, column: 33, }, }, }, ), ], }, ), operator: EqualTo, right: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 289, column: 40, }, end: Position { line: 289, column: 47, }, }, }, ), ], span: Span { start: Position { line: 289, column: 39, }, end: Position { line: 289, column: 48, }, }, }, ), ], span: Span { start: Position { line: 289, column: 37, }, end: Position { line: 289, column: 50, }, }, }, ), }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "optionName", span: Span { start: Position { line: 292, column: 19, }, end: Position { line: 292, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 292, column: 32, }, end: Position { line: 292, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 292, column: 43, }, end: Position { line: 292, column: 49, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "optionName", span: Span { start: Position { line: 294, column: 22, }, end: Position { line: 294, column: 32, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 294, column: 36, }, end: Position { line: 294, column: 38, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 295, column: 26, }, end: Position { line: 295, column: 31, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 296, column: 1, }, end: Position { line: 296, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseMsg", span: Span { start: Position { line: 296, column: 25, }, end: Position { line: 296, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: "\n\nIt seems as if you're trying to declare an option by placing it into `config' rather than `options'!\n", span: Span { start: Position { line: 296, column: 1, }, end: Position { line: 299, column: 21, }, }, }, ), ], span: Span { start: Position { line: 295, column: 32, }, end: Position { line: 299, column: 23, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 301, column: 21, }, end: Position { line: 301, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 302, column: 1, }, end: Position { line: 302, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseMsg", span: Span { start: Position { line: 302, column: 25, }, end: Position { line: 302, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: "\n\nHowever there are no options defined in `", span: Span { start: Position { line: 302, column: 1, }, end: Position { line: 304, column: 64, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 304, column: 66, }, end: Position { line: 304, column: 76, }, }, }, ), arguments: [ Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 304, column: 77, }, end: Position { line: 304, column: 83, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "'. Are you sure you've\ndeclared your options properly? This can happen if you e.g. declared your options in `types.submodule'\nunder `config' rather than `options'.\n", span: Span { start: Position { line: 302, column: 1, }, end: Position { line: 307, column: 21, }, }, }, ), ], span: Span { start: Position { line: 301, column: 27, }, end: Position { line: 307, column: 23, }, }, }, ), ], }, ), span: Span { start: Position { line: 294, column: 19, }, end: Position { line: 307, column: 23, }, }, }, ), span: Span { start: Position { line: 291, column: 17, }, end: Position { line: 307, column: 23, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 308, column: 18, }, end: Position { line: 308, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "baseMsg", span: Span { start: Position { line: 308, column: 24, }, end: Position { line: 308, column: 31, }, }, }, ), ], }, ), span: Span { start: Position { line: 289, column: 13, }, end: Position { line: 308, column: 31, }, }, }, ), span: Span { start: Position { line: 285, column: 11, }, end: Position { line: 308, column: 31, }, }, }, ), else_: Identifier( Identifier { id: "null", span: Span { start: Position { line: 309, column: 14, }, end: Position { line: 309, column: 18, }, }, }, ), span: Span { start: Position { line: 284, column: 9, }, end: Position { line: 309, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checked", span: Span { start: Position { line: 311, column: 7, }, end: Position { line: 311, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 311, column: 17, }, end: Position { line: 311, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "seq", span: Span { start: Position { line: 311, column: 26, }, end: Position { line: 311, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "checkUnmatched", span: Span { start: Position { line: 311, column: 30, }, end: Position { line: 311, column: 44, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extendModules", span: Span { start: Position { line: 313, column: 7, }, end: Position { line: 313, column: 20, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: LeftAt( "extendArgs", ), arguments: [ FunctionHeadDestructuredArgument { identifier: "modules", default: Some( List( List { elements: [], span: Span { start: Position { line: 314, column: 19, }, end: Position { line: 314, column: 21, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "specialArgs", default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 315, column: 23, }, end: Position { line: 315, column: 25, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "prefix", default: Some( List( List { elements: [], span: Span { start: Position { line: 316, column: 18, }, end: Position { line: 316, column: 20, }, }, }, ), ), }, ], }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "evalModules", span: Span { start: Position { line: 318, column: 11, }, end: Position { line: 318, column: 22, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "evalModulesArgs", span: Span { start: Position { line: 318, column: 24, }, end: Position { line: 318, column: 39, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 319, column: 13, }, end: Position { line: 319, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "regularModules", span: Span { start: Position { line: 319, column: 23, }, end: Position { line: 319, column: 37, }, }, }, ), operator: Concatenation, right: Identifier( Identifier { id: "modules", span: Span { start: Position { line: 319, column: 41, }, end: Position { line: 319, column: 48, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "specialArgs", span: Span { start: Position { line: 320, column: 13, }, end: Position { line: 320, column: 24, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "evalModulesArgs", span: Span { start: Position { line: 320, column: 27, }, end: Position { line: 320, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "specialArgs", span: Span { start: Position { line: 320, column: 43, }, end: Position { line: 320, column: 54, }, }, }, ), ], default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 320, column: 58, }, end: Position { line: 320, column: 60, }, }, }, ), ), }, ), operator: Update, right: Identifier( Identifier { id: "specialArgs", span: Span { start: Position { line: 320, column: 64, }, end: Position { line: 320, column: 75, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 321, column: 13, }, end: Position { line: 321, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "extendArgs", span: Span { start: Position { line: 321, column: 22, }, end: Position { line: 321, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 321, column: 33, }, end: Position { line: 321, column: 39, }, }, }, ), ], default: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "evalModulesArgs", span: Span { start: Position { line: 321, column: 43, }, end: Position { line: 321, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 321, column: 59, }, end: Position { line: 321, column: 65, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 321, column: 69, }, end: Position { line: 321, column: 71, }, }, }, ), ), }, ), ), }, ), }, ), ], span: Span { start: Position { line: 318, column: 43, }, end: Position { line: 322, column: 12, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 313, column: 23, }, end: Position { line: 322, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 324, column: 7, }, end: Position { line: 324, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 324, column: 14, }, end: Position { line: 324, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 324, column: 18, }, end: Position { line: 324, column: 23, }, }, }, ), Raw( PartRaw { content: "submoduleWith", span: Span { start: Position { line: 324, column: 24, }, end: Position { line: 324, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 325, column: 17, }, end: Position { line: 325, column: 24, }, }, }, ), Raw( PartRaw { content: "specialArgs", span: Span { start: Position { line: 325, column: 25, }, end: Position { line: 325, column: 36, }, }, }, ), ], span: Span { start: Position { line: 324, column: 39, }, end: Position { line: 325, column: 37, }, }, }, ), ], span: Span { start: Position { line: 324, column: 38, }, end: Position { line: 326, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "result", span: Span { start: Position { line: 328, column: 7, }, end: Position { line: 328, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "withWarnings", span: Span { start: Position { line: 328, column: 16, }, end: Position { line: 328, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 329, column: 9, }, end: Position { line: 329, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "checked", span: Span { start: Position { line: 329, column: 19, }, end: Position { line: 329, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "options", span: Span { start: Position { line: 329, column: 27, }, end: Position { line: 329, column: 34, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 330, column: 9, }, end: Position { line: 330, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "checked", span: Span { start: Position { line: 330, column: 18, }, end: Position { line: 330, column: 25, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeAttrs", span: Span { start: Position { line: 330, column: 27, }, end: Position { line: 330, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "config", span: Span { start: Position { line: 330, column: 39, }, end: Position { line: 330, column: 45, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 330, column: 49, }, end: Position { line: 330, column: 56, }, }, }, ), ], span: Span { start: Position { line: 330, column: 48, }, end: Position { line: 330, column: 57, }, }, }, ), ], span: Span { start: Position { line: 330, column: 46, }, end: Position { line: 330, column: 59, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 331, column: 9, }, end: Position { line: 331, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "checked", span: Span { start: Position { line: 331, column: 19, }, end: Position { line: 331, column: 26, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 331, column: 28, }, end: Position { line: 331, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 331, column: 35, }, end: Position { line: 331, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "extendModules", span: Span { start: Position { line: 332, column: 17, }, end: Position { line: 332, column: 30, }, }, }, ), Raw( PartRaw { content: "type", span: Span { start: Position { line: 332, column: 31, }, end: Position { line: 332, column: 35, }, }, }, ), ], span: Span { start: Position { line: 328, column: 30, }, end: Position { line: 332, column: 36, }, }, }, ), ], span: Span { start: Position { line: 328, column: 29, }, end: Position { line: 333, column: 8, }, }, }, ), ], }, ), }, ), ], target: Identifier( Identifier { id: "result", span: Span { start: Position { line: 334, column: 8, }, end: Position { line: 334, column: 14, }, }, }, ), span: Span { start: Position { line: 114, column: 5, }, end: Position { line: 334, column: 14, }, }, }, ), span: Span { start: Position { line: 101, column: 17, }, end: Position { line: 334, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "collectModules", span: Span { start: Position { line: 340, column: 3, }, end: Position { line: 340, column: 17, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loadModule", span: Span { start: Position { line: 343, column: 7, }, end: Position { line: 343, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "args", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "fallbackFile", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "fallbackKey", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isFunction", span: Span { start: Position { line: 344, column: 12, }, end: Position { line: 344, column: 22, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 344, column: 23, }, end: Position { line: 344, column: 24, }, }, }, ), ], }, ), operator: LogicalOr, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 344, column: 28, }, end: Position { line: 344, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 344, column: 36, }, end: Position { line: 344, column: 37, }, }, }, ), ], }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "unifyModuleSyntax", span: Span { start: Position { line: 345, column: 11, }, end: Position { line: 345, column: 28, }, }, }, ), arguments: [ Identifier( Identifier { id: "fallbackFile", span: Span { start: Position { line: 345, column: 29, }, end: Position { line: 345, column: 41, }, }, }, ), Identifier( Identifier { id: "fallbackKey", span: Span { start: Position { line: 345, column: 42, }, end: Position { line: 345, column: 53, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "applyModuleArgsIfFunction", span: Span { start: Position { line: 345, column: 55, }, end: Position { line: 345, column: 80, }, }, }, ), arguments: [ Identifier( Identifier { id: "fallbackKey", span: Span { start: Position { line: 345, column: 81, }, end: Position { line: 345, column: 92, }, }, }, ), Identifier( Identifier { id: "m", span: Span { start: Position { line: 345, column: 93, }, end: Position { line: 345, column: 94, }, }, }, ), Identifier( Identifier { id: "args", span: Span { start: Position { line: 345, column: 95, }, end: Position { line: 345, column: 99, }, }, }, ), ], }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 346, column: 17, }, end: Position { line: 346, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 346, column: 24, }, end: Position { line: 346, column: 25, }, }, }, ), ], }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defs", span: Span { start: Position { line: 347, column: 15, }, end: Position { line: 347, column: 19, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 347, column: 25, }, end: Position { line: 347, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "fallbackFile", span: Span { start: Position { line: 347, column: 32, }, end: Position { line: 347, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 347, column: 46, }, end: Position { line: 347, column: 51, }, }, }, ), ], to: Identifier( Identifier { id: "m", span: Span { start: Position { line: 347, column: 54, }, end: Position { line: 347, column: 55, }, }, }, ), }, ), ], span: Span { start: Position { line: 347, column: 23, }, end: Position { line: 347, column: 58, }, }, }, ), ], span: Span { start: Position { line: 347, column: 22, }, end: Position { line: 347, column: 59, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 348, column: 11, }, end: Position { line: 348, column: 16, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Module imports can't be nested lists. Perhaps you meant to remove one level of lists? Definitions: ", span: Span { start: Position { line: 348, column: 18, }, end: Position { line: 348, column: 133, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showDefs", span: Span { start: Position { line: 348, column: 119, }, end: Position { line: 348, column: 127, }, }, }, ), arguments: [ Identifier( Identifier { id: "defs", span: Span { start: Position { line: 348, column: 128, }, end: Position { line: 348, column: 132, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 348, column: 17, }, end: Position { line: 348, column: 134, }, }, }, ), ], }, ), span: Span { start: Position { line: 347, column: 11, }, end: Position { line: 348, column: 134, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "unifyModuleSyntax", span: Span { start: Position { line: 349, column: 14, }, end: Position { line: 349, column: 31, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 349, column: 33, }, end: Position { line: 349, column: 41, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 349, column: 42, }, end: Position { line: 349, column: 43, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 349, column: 46, }, end: Position { line: 349, column: 54, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 349, column: 55, }, end: Position { line: 349, column: 56, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "applyModuleArgsIfFunction", span: Span { start: Position { line: 349, column: 59, }, end: Position { line: 349, column: 84, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 349, column: 86, }, end: Position { line: 349, column: 94, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 349, column: 95, }, end: Position { line: 349, column: 96, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 349, column: 99, }, end: Position { line: 349, column: 105, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 349, column: 106, }, end: Position { line: 349, column: 107, }, }, }, ), ], }, ), Identifier( Identifier { id: "args", span: Span { start: Position { line: 349, column: 109, }, end: Position { line: 349, column: 113, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 346, column: 14, }, end: Position { line: 349, column: 114, }, }, }, ), span: Span { start: Position { line: 344, column: 9, }, end: Position { line: 349, column: 114, }, }, }, ), span: Span { start: Position { line: 343, column: 53, }, end: Position { line: 349, column: 114, }, }, }, ), span: Span { start: Position { line: 343, column: 40, }, end: Position { line: 349, column: 114, }, }, }, ), span: Span { start: Position { line: 343, column: 26, }, end: Position { line: 349, column: 114, }, }, }, ), span: Span { start: Position { line: 343, column: 20, }, end: Position { line: 349, column: 114, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "collectStructuredModules", span: Span { start: Position { line: 376, column: 7, }, end: Position { line: 376, column: 31, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "collectResults", span: Span { start: Position { line: 378, column: 11, }, end: Position { line: 378, column: 25, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "modules", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "disabled", span: Span { start: Position { line: 379, column: 13, }, end: Position { line: 379, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatLists", span: Span { start: Position { line: 379, column: 24, }, end: Position { line: 379, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "catAttrs", span: Span { start: Position { line: 379, column: 37, }, end: Position { line: 379, column: 45, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "disabled", span: Span { start: Position { line: 379, column: 47, }, end: Position { line: 379, column: 55, }, }, }, ), ], span: Span { start: Position { line: 379, column: 46, }, end: Position { line: 379, column: 56, }, }, }, ), Identifier( Identifier { id: "modules", span: Span { start: Position { line: 379, column: 57, }, end: Position { line: 379, column: 64, }, }, }, ), ], }, ), ], }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 380, column: 21, }, end: Position { line: 380, column: 28, }, }, }, ), ], span: Span { start: Position { line: 378, column: 38, }, end: Position { line: 380, column: 29, }, }, }, ), ], span: Span { start: Position { line: 378, column: 37, }, end: Position { line: 381, column: 12, }, }, }, ), span: Span { start: Position { line: 378, column: 28, }, end: Position { line: 381, column: 12, }, }, }, ), }, ), ], target: Function( Function { head: Simple( FunctionHeadSimple { identifier: "parentFile", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "parentKey", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "initialModules", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "args", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "collectResults", span: Span { start: Position { line: 382, column: 57, }, end: Position { line: 382, column: 71, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "imap1", span: Span { start: Position { line: 382, column: 73, }, end: Position { line: 382, column: 78, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "module", span: Span { start: Position { line: 384, column: 13, }, end: Position { line: 384, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "loadModule", span: Span { start: Position { line: 384, column: 22, }, end: Position { line: 384, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "args", span: Span { start: Position { line: 384, column: 33, }, end: Position { line: 384, column: 37, }, }, }, ), Identifier( Identifier { id: "parentFile", span: Span { start: Position { line: 384, column: 38, }, end: Position { line: 384, column: 48, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "parentKey", span: Span { start: Position { line: 384, column: 52, }, end: Position { line: 384, column: 61, }, }, }, ), }, ), Raw( PartRaw { content: ":anon-", span: Span { start: Position { line: 384, column: 50, }, end: Position { line: 384, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 384, column: 70, }, end: Position { line: 384, column: 78, }, }, }, ), arguments: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 384, column: 79, }, end: Position { line: 384, column: 80, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 384, column: 49, }, end: Position { line: 384, column: 82, }, }, }, ), Identifier( Identifier { id: "x", span: Span { start: Position { line: 384, column: 83, }, end: Position { line: 384, column: 84, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "collectedImports", span: Span { start: Position { line: 385, column: 13, }, end: Position { line: 385, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "collectStructuredModules", span: Span { start: Position { line: 385, column: 32, }, end: Position { line: 385, column: 56, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "module", span: Span { start: Position { line: 385, column: 57, }, end: Position { line: 385, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 385, column: 64, }, end: Position { line: 385, column: 69, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "module", span: Span { start: Position { line: 385, column: 70, }, end: Position { line: 385, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 385, column: 77, }, end: Position { line: 385, column: 80, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "module", span: Span { start: Position { line: 385, column: 81, }, end: Position { line: 385, column: 87, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 385, column: 88, }, end: Position { line: 385, column: 95, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "args", span: Span { start: Position { line: 385, column: 96, }, end: Position { line: 385, column: 100, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 387, column: 13, }, end: Position { line: 387, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "module", span: Span { start: Position { line: 387, column: 19, }, end: Position { line: 387, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 387, column: 26, }, end: Position { line: 387, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "module", span: Span { start: Position { line: 388, column: 13, }, end: Position { line: 388, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "module", span: Span { start: Position { line: 388, column: 22, }, end: Position { line: 388, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 389, column: 13, }, end: Position { line: 389, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "collectedImports", span: Span { start: Position { line: 389, column: 23, }, end: Position { line: 389, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 389, column: 40, }, end: Position { line: 389, column: 47, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "disabled", span: Span { start: Position { line: 390, column: 13, }, end: Position { line: 390, column: 21, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "module", span: Span { start: Position { line: 390, column: 24, }, end: Position { line: 390, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "disabledModules", span: Span { start: Position { line: 390, column: 31, }, end: Position { line: 390, column: 46, }, }, }, ), ], default: None, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "collectedImports", span: Span { start: Position { line: 390, column: 50, }, end: Position { line: 390, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "disabled", span: Span { start: Position { line: 390, column: 67, }, end: Position { line: 390, column: 75, }, }, }, ), ], default: None, }, ), }, ), }, ), ], span: Span { start: Position { line: 386, column: 14, }, end: Position { line: 391, column: 12, }, }, }, ), span: Span { start: Position { line: 383, column: 11, }, end: Position { line: 391, column: 12, }, }, }, ), span: Span { start: Position { line: 382, column: 83, }, end: Position { line: 391, column: 12, }, }, }, ), span: Span { start: Position { line: 382, column: 80, }, end: Position { line: 391, column: 12, }, }, }, ), Identifier( Identifier { id: "initialModules", span: Span { start: Position { line: 391, column: 14, }, end: Position { line: 391, column: 28, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 382, column: 51, }, end: Position { line: 391, column: 29, }, }, }, ), span: Span { start: Position { line: 382, column: 35, }, end: Position { line: 391, column: 29, }, }, }, ), span: Span { start: Position { line: 382, column: 24, }, end: Position { line: 391, column: 29, }, }, }, ), span: Span { start: Position { line: 382, column: 12, }, end: Position { line: 391, column: 29, }, }, }, ), span: Span { start: Position { line: 377, column: 9, }, end: Position { line: 391, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filterModules", span: Span { start: Position { line: 397, column: 7, }, end: Position { line: 397, column: 20, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "modulesPath", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "disabled", default: None, }, FunctionHeadDestructuredArgument { identifier: "modules", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "moduleKey", span: Span { start: Position { line: 399, column: 11, }, end: Position { line: 399, column: 20, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isString", span: Span { start: Position { line: 399, column: 29, }, end: Position { line: 399, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 399, column: 38, }, end: Position { line: 399, column: 39, }, }, }, ), ], }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 399, column: 44, }, end: Position { line: 399, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "substring", span: Span { start: Position { line: 399, column: 53, }, end: Position { line: 399, column: 62, }, }, }, ), ], default: None, }, ), arguments: [ Integer( Integer { value: "0", span: Span { start: Position { line: 399, column: 63, }, end: Position { line: 399, column: 64, }, }, }, ), Integer( Integer { value: "1", span: Span { start: Position { line: 399, column: 65, }, end: Position { line: 399, column: 66, }, }, }, ), Identifier( Identifier { id: "m", span: Span { start: Position { line: 399, column: 67, }, end: Position { line: 399, column: 68, }, }, }, ), ], }, ), operator: NotEqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 399, column: 73, }, end: Position { line: 399, column: 74, }, }, }, ), ], span: Span { start: Position { line: 399, column: 72, }, end: Position { line: 399, column: 75, }, }, }, ), }, ), }, ), then: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 400, column: 18, }, end: Position { line: 400, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "modulesPath", span: Span { start: Position { line: 400, column: 27, }, end: Position { line: 400, column: 38, }, }, }, ), ], }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 400, column: 42, }, end: Position { line: 400, column: 43, }, }, }, ), ], span: Span { start: Position { line: 400, column: 41, }, end: Position { line: 400, column: 44, }, }, }, ), }, ), operator: Addition, right: Identifier( Identifier { id: "m", span: Span { start: Position { line: 400, column: 47, }, end: Position { line: 400, column: 48, }, }, }, ), }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 401, column: 18, }, end: Position { line: 401, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 401, column: 27, }, end: Position { line: 401, column: 28, }, }, }, ), ], }, ), span: Span { start: Position { line: 399, column: 26, }, end: Position { line: 401, column: 28, }, }, }, ), span: Span { start: Position { line: 399, column: 23, }, end: Position { line: 401, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "disabledKeys", span: Span { start: Position { line: 402, column: 11, }, end: Position { line: 402, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 402, column: 26, }, end: Position { line: 402, column: 29, }, }, }, ), arguments: [ Identifier( Identifier { id: "moduleKey", span: Span { start: Position { line: 402, column: 30, }, end: Position { line: 402, column: 39, }, }, }, ), Identifier( Identifier { id: "disabled", span: Span { start: Position { line: 402, column: 40, }, end: Position { line: 402, column: 48, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "keyFilter", span: Span { start: Position { line: 403, column: 11, }, end: Position { line: 403, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 403, column: 23, }, end: Position { line: 403, column: 29, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 403, column: 40, }, end: Position { line: 403, column: 44, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 403, column: 45, }, end: Position { line: 403, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 403, column: 51, }, end: Position { line: 403, column: 54, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "disabledKeys", span: Span { start: Position { line: 403, column: 55, }, end: Position { line: 403, column: 67, }, }, }, ), ], }, ), span: Span { start: Position { line: 403, column: 38, }, end: Position { line: 403, column: 67, }, }, }, ), span: Span { start: Position { line: 403, column: 31, }, end: Position { line: 403, column: 67, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 404, column: 12, }, end: Position { line: 404, column: 15, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 404, column: 24, }, end: Position { line: 404, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "module", span: Span { start: Position { line: 404, column: 30, }, end: Position { line: 404, column: 36, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 404, column: 17, }, end: Position { line: 404, column: 36, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 404, column: 39, }, end: Position { line: 404, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "genericClosure", span: Span { start: Position { line: 404, column: 48, }, end: Position { line: 404, column: 62, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startSet", span: Span { start: Position { line: 405, column: 11, }, end: Position { line: 405, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "keyFilter", span: Span { start: Position { line: 405, column: 22, }, end: Position { line: 405, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "modules", span: Span { start: Position { line: 405, column: 32, }, end: Position { line: 405, column: 39, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "operator", span: Span { start: Position { line: 406, column: 11, }, end: Position { line: 406, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "keyFilter", span: Span { start: Position { line: 406, column: 29, }, end: Position { line: 406, column: 38, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 406, column: 39, }, end: Position { line: 406, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 406, column: 45, }, end: Position { line: 406, column: 52, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 406, column: 22, }, end: Position { line: 406, column: 52, }, }, }, ), }, ), ], span: Span { start: Position { line: 404, column: 63, }, end: Position { line: 407, column: 10, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 398, column: 9, }, end: Position { line: 407, column: 11, }, }, }, ), span: Span { start: Position { line: 397, column: 36, }, end: Position { line: 407, column: 11, }, }, }, ), span: Span { start: Position { line: 397, column: 23, }, end: Position { line: 407, column: 11, }, }, }, ), }, ), ], target: Function( Function { head: Simple( FunctionHeadSimple { identifier: "modulesPath", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "initialModules", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "args", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterModules", span: Span { start: Position { line: 410, column: 7, }, end: Position { line: 410, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "modulesPath", span: Span { start: Position { line: 410, column: 21, }, end: Position { line: 410, column: 32, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "collectStructuredModules", span: Span { start: Position { line: 410, column: 34, }, end: Position { line: 410, column: 58, }, }, }, ), arguments: [ Identifier( Identifier { id: "unknownModule", span: Span { start: Position { line: 410, column: 59, }, end: Position { line: 410, column: 72, }, }, }, ), String( String_ { parts: [], span: Span { start: Position { line: 410, column: 73, }, end: Position { line: 410, column: 75, }, }, }, ), Identifier( Identifier { id: "initialModules", span: Span { start: Position { line: 410, column: 76, }, end: Position { line: 410, column: 90, }, }, }, ), Identifier( Identifier { id: "args", span: Span { start: Position { line: 410, column: 91, }, end: Position { line: 410, column: 95, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 409, column: 37, }, end: Position { line: 410, column: 96, }, }, }, ), span: Span { start: Position { line: 409, column: 21, }, end: Position { line: 410, column: 96, }, }, }, ), span: Span { start: Position { line: 409, column: 8, }, end: Position { line: 410, column: 96, }, }, }, ), span: Span { start: Position { line: 340, column: 20, }, end: Position { line: 410, column: 96, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "setDefaultModuleLocation", span: Span { start: Position { line: 413, column: 3, }, end: Position { line: 413, column: 27, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "file", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 414, column: 7, }, end: Position { line: 414, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "file", span: Span { start: Position { line: 414, column: 15, }, end: Position { line: 414, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 414, column: 21, }, end: Position { line: 414, column: 28, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 414, column: 33, }, end: Position { line: 414, column: 34, }, }, }, ), ], span: Span { start: Position { line: 414, column: 31, }, end: Position { line: 414, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 414, column: 5, }, end: Position { line: 414, column: 39, }, }, }, ), span: Span { start: Position { line: 413, column: 36, }, end: Position { line: 414, column: 39, }, }, }, ), span: Span { start: Position { line: 413, column: 30, }, end: Position { line: 414, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unifyModuleSyntax", span: Span { start: Position { line: 418, column: 3, }, end: Position { line: 418, column: 20, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "file", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "key", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "addMeta", span: Span { start: Position { line: 420, column: 7, }, end: Position { line: 420, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "config", }, ), body: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 420, column: 28, }, end: Position { line: 420, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 420, column: 32, }, end: Position { line: 420, column: 36, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 421, column: 14, }, end: Position { line: 421, column: 21, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "config", span: Span { start: Position { line: 421, column: 24, }, end: Position { line: 421, column: 30, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 421, column: 33, }, end: Position { line: 421, column: 37, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 421, column: 40, }, end: Position { line: 421, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 421, column: 42, }, end: Position { line: 421, column: 46, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 421, column: 31, }, end: Position { line: 421, column: 49, }, }, }, ), ], span: Span { start: Position { line: 421, column: 22, }, end: Position { line: 421, column: 51, }, }, }, ), ], }, ), else_: Identifier( Identifier { id: "config", span: Span { start: Position { line: 422, column: 14, }, end: Position { line: 422, column: 20, }, }, }, ), span: Span { start: Position { line: 420, column: 25, }, end: Position { line: 422, column: 20, }, }, }, ), span: Span { start: Position { line: 420, column: 17, }, end: Position { line: 422, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "addFreeformType", span: Span { start: Position { line: 423, column: 7, }, end: Position { line: 423, column: 22, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "config", }, ), body: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 423, column: 36, }, end: Position { line: 423, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 423, column: 40, }, end: Position { line: 423, column: 52, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 424, column: 14, }, end: Position { line: 424, column: 21, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "config", span: Span { start: Position { line: 424, column: 24, }, end: Position { line: 424, column: 30, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 424, column: 33, }, end: Position { line: 424, column: 40, }, }, }, ), Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 424, column: 41, }, end: Position { line: 424, column: 53, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 424, column: 56, }, end: Position { line: 424, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 424, column: 58, }, end: Position { line: 424, column: 70, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 424, column: 31, }, end: Position { line: 424, column: 73, }, }, }, ), ], span: Span { start: Position { line: 424, column: 22, }, end: Position { line: 424, column: 75, }, }, }, ), ], }, ), else_: Identifier( Identifier { id: "config", span: Span { start: Position { line: 425, column: 14, }, end: Position { line: 425, column: 20, }, }, }, ), span: Span { start: Position { line: 423, column: 33, }, end: Position { line: 425, column: 20, }, }, }, ), span: Span { start: Position { line: 423, column: 25, }, end: Position { line: 425, column: 20, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 427, column: 8, }, end: Position { line: 427, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 427, column: 12, }, end: Position { line: 427, column: 18, }, }, }, ), ], }, ), operator: LogicalOr, right: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 427, column: 22, }, end: Position { line: 427, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 427, column: 26, }, end: Position { line: 427, column: 33, }, }, }, ), ], }, ), }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "badAttrs", span: Span { start: Position { line: 428, column: 11, }, end: Position { line: 428, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeAttrs", span: Span { start: Position { line: 428, column: 22, }, end: Position { line: 428, column: 33, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 428, column: 34, }, end: Position { line: 428, column: 35, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 428, column: 38, }, end: Position { line: 428, column: 43, }, }, }, ), ], span: Span { start: Position { line: 428, column: 37, }, end: Position { line: 428, column: 44, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 428, column: 46, }, end: Position { line: 428, column: 49, }, }, }, ), ], span: Span { start: Position { line: 428, column: 45, }, end: Position { line: 428, column: 50, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "disabledModules", span: Span { start: Position { line: 428, column: 52, }, end: Position { line: 428, column: 67, }, }, }, ), ], span: Span { start: Position { line: 428, column: 51, }, end: Position { line: 428, column: 68, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 428, column: 70, }, end: Position { line: 428, column: 77, }, }, }, ), ], span: Span { start: Position { line: 428, column: 69, }, end: Position { line: 428, column: 78, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 428, column: 80, }, end: Position { line: 428, column: 87, }, }, }, ), ], span: Span { start: Position { line: 428, column: 79, }, end: Position { line: 428, column: 88, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 428, column: 90, }, end: Position { line: 428, column: 96, }, }, }, ), ], span: Span { start: Position { line: 428, column: 89, }, end: Position { line: 428, column: 97, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 428, column: 99, }, end: Position { line: 428, column: 103, }, }, }, ), ], span: Span { start: Position { line: 428, column: 98, }, end: Position { line: 428, column: 104, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 428, column: 106, }, end: Position { line: 428, column: 118, }, }, }, ), ], span: Span { start: Position { line: 428, column: 105, }, end: Position { line: 428, column: 119, }, }, }, ), ], span: Span { start: Position { line: 428, column: 36, }, end: Position { line: 428, column: 120, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "badAttrs", span: Span { start: Position { line: 429, column: 10, }, end: Position { line: 429, column: 18, }, }, }, ), operator: NotEqualTo, right: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 429, column: 22, }, end: Position { line: 429, column: 24, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 430, column: 9, }, end: Position { line: 430, column: 14, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Module `", span: Span { start: Position { line: 430, column: 16, }, end: Position { line: 430, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "key", span: Span { start: Position { line: 430, column: 26, }, end: Position { line: 430, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: "' has an unsupported attribute `", span: Span { start: Position { line: 430, column: 16, }, end: Position { line: 430, column: 62, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 430, column: 64, }, end: Position { line: 430, column: 68, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 430, column: 70, }, end: Position { line: 430, column: 79, }, }, }, ), arguments: [ Identifier( Identifier { id: "badAttrs", span: Span { start: Position { line: 430, column: 80, }, end: Position { line: 430, column: 88, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "'. This is caused by introducing a top-level `config' or `options' attribute. Add configuration attributes immediately on the top level instead, or move all of them (namely: ", span: Span { start: Position { line: 430, column: 16, }, end: Position { line: 430, column: 264, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 430, column: 266, }, end: Position { line: 430, column: 274, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 430, column: 276, }, end: Position { line: 430, column: 285, }, }, }, ), arguments: [ Identifier( Identifier { id: "badAttrs", span: Span { start: Position { line: 430, column: 286, }, end: Position { line: 430, column: 294, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: ") into the explicit `config' attribute.", span: Span { start: Position { line: 430, column: 16, }, end: Position { line: 430, column: 335, }, }, }, ), ], span: Span { start: Position { line: 430, column: 15, }, end: Position { line: 430, column: 336, }, }, }, ), ], }, ), else_: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 432, column: 11, }, end: Position { line: 432, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 432, column: 19, }, end: Position { line: 432, column: 27, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 432, column: 28, }, end: Position { line: 432, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 432, column: 30, }, end: Position { line: 432, column: 35, }, }, }, ), ], default: Some( Identifier( Identifier { id: "file", span: Span { start: Position { line: 432, column: 39, }, end: Position { line: 432, column: 43, }, }, }, ), ), }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 433, column: 11, }, end: Position { line: 433, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 433, column: 17, }, end: Position { line: 433, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 433, column: 26, }, end: Position { line: 433, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 433, column: 28, }, end: Position { line: 433, column: 31, }, }, }, ), ], default: Some( Identifier( Identifier { id: "key", span: Span { start: Position { line: 433, column: 35, }, end: Position { line: 433, column: 38, }, }, }, ), ), }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "disabledModules", span: Span { start: Position { line: 434, column: 11, }, end: Position { line: 434, column: 26, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 434, column: 29, }, end: Position { line: 434, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "disabledModules", span: Span { start: Position { line: 434, column: 31, }, end: Position { line: 434, column: 46, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 434, column: 50, }, end: Position { line: 434, column: 52, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 435, column: 11, }, end: Position { line: 435, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 435, column: 21, }, end: Position { line: 435, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 435, column: 23, }, end: Position { line: 435, column: 30, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 435, column: 34, }, end: Position { line: 435, column: 36, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 436, column: 11, }, end: Position { line: 436, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 436, column: 21, }, end: Position { line: 436, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 436, column: 23, }, end: Position { line: 436, column: 30, }, }, }, ), ], default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 436, column: 34, }, end: Position { line: 436, column: 36, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 437, column: 11, }, end: Position { line: 437, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "addFreeformType", span: Span { start: Position { line: 437, column: 20, }, end: Position { line: 437, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "addMeta", span: Span { start: Position { line: 437, column: 37, }, end: Position { line: 437, column: 44, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 437, column: 46, }, end: Position { line: 437, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 437, column: 48, }, end: Position { line: 437, column: 54, }, }, }, ), ], default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 437, column: 58, }, end: Position { line: 437, column: 60, }, }, }, ), ), }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 432, column: 9, }, end: Position { line: 438, column: 10, }, }, }, ), span: Span { start: Position { line: 429, column: 7, }, end: Position { line: 438, column: 10, }, }, }, ), span: Span { start: Position { line: 428, column: 7, }, end: Position { line: 438, column: 10, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 441, column: 7, }, end: Position { line: 441, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "throwIfNot", span: Span { start: Position { line: 441, column: 11, }, end: Position { line: 441, column: 21, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 441, column: 23, }, end: Position { line: 441, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 441, column: 31, }, end: Position { line: 441, column: 32, }, }, }, ), ], }, ), String( String_ { parts: [ Raw( PartRaw { content: "module ", span: Span { start: Position { line: 441, column: 35, }, end: Position { line: 441, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "file", span: Span { start: Position { line: 441, column: 44, }, end: Position { line: 441, column: 48, }, }, }, ), }, ), Raw( PartRaw { content: " (", span: Span { start: Position { line: 441, column: 35, }, end: Position { line: 441, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "key", span: Span { start: Position { line: 441, column: 53, }, end: Position { line: 441, column: 56, }, }, }, ), }, ), Raw( PartRaw { content: ") does not look like a module.", span: Span { start: Position { line: 441, column: 35, }, end: Position { line: 441, column: 87, }, }, }, ), ], span: Span { start: Position { line: 441, column: 34, }, end: Position { line: 441, column: 88, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 442, column: 9, }, end: Position { line: 442, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 442, column: 17, }, end: Position { line: 442, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 442, column: 26, }, end: Position { line: 442, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 442, column: 28, }, end: Position { line: 442, column: 33, }, }, }, ), ], default: Some( Identifier( Identifier { id: "file", span: Span { start: Position { line: 442, column: 37, }, end: Position { line: 442, column: 41, }, }, }, ), ), }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 443, column: 9, }, end: Position { line: 443, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 443, column: 15, }, end: Position { line: 443, column: 23, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 443, column: 24, }, end: Position { line: 443, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 443, column: 26, }, end: Position { line: 443, column: 29, }, }, }, ), ], default: Some( Identifier( Identifier { id: "key", span: Span { start: Position { line: 443, column: 33, }, end: Position { line: 443, column: 36, }, }, }, ), ), }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "disabledModules", span: Span { start: Position { line: 444, column: 9, }, end: Position { line: 444, column: 24, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 444, column: 27, }, end: Position { line: 444, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "disabledModules", span: Span { start: Position { line: 444, column: 29, }, end: Position { line: 444, column: 44, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 444, column: 48, }, end: Position { line: 444, column: 50, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 445, column: 9, }, end: Position { line: 445, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 445, column: 19, }, end: Position { line: 445, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "require", span: Span { start: Position { line: 445, column: 21, }, end: Position { line: 445, column: 28, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 445, column: 32, }, end: Position { line: 445, column: 34, }, }, }, ), ), }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 445, column: 38, }, end: Position { line: 445, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 445, column: 40, }, end: Position { line: 445, column: 47, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 445, column: 51, }, end: Position { line: 445, column: 53, }, }, }, ), ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 446, column: 9, }, end: Position { line: 446, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 446, column: 19, }, end: Position { line: 446, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 447, column: 9, }, end: Position { line: 447, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "addFreeformType", span: Span { start: Position { line: 447, column: 18, }, end: Position { line: 447, column: 33, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeAttrs", span: Span { start: Position { line: 447, column: 35, }, end: Position { line: 447, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "m", span: Span { start: Position { line: 447, column: 47, }, end: Position { line: 447, column: 48, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 447, column: 51, }, end: Position { line: 447, column: 56, }, }, }, ), ], span: Span { start: Position { line: 447, column: 50, }, end: Position { line: 447, column: 57, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 447, column: 59, }, end: Position { line: 447, column: 62, }, }, }, ), ], span: Span { start: Position { line: 447, column: 58, }, end: Position { line: 447, column: 63, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "disabledModules", span: Span { start: Position { line: 447, column: 65, }, end: Position { line: 447, column: 80, }, }, }, ), ], span: Span { start: Position { line: 447, column: 64, }, end: Position { line: 447, column: 81, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "require", span: Span { start: Position { line: 447, column: 83, }, end: Position { line: 447, column: 90, }, }, }, ), ], span: Span { start: Position { line: 447, column: 82, }, end: Position { line: 447, column: 91, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 447, column: 93, }, end: Position { line: 447, column: 100, }, }, }, ), ], span: Span { start: Position { line: 447, column: 92, }, end: Position { line: 447, column: 101, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 447, column: 103, }, end: Position { line: 447, column: 115, }, }, }, ), ], span: Span { start: Position { line: 447, column: 102, }, end: Position { line: 447, column: 116, }, }, }, ), ], span: Span { start: Position { line: 447, column: 49, }, end: Position { line: 447, column: 117, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 442, column: 7, }, end: Position { line: 448, column: 8, }, }, }, ), ], }, ), span: Span { start: Position { line: 427, column: 5, }, end: Position { line: 448, column: 8, }, }, }, ), span: Span { start: Position { line: 419, column: 5, }, end: Position { line: 448, column: 8, }, }, }, ), span: Span { start: Position { line: 418, column: 34, }, end: Position { line: 448, column: 8, }, }, }, ), span: Span { start: Position { line: 418, column: 29, }, end: Position { line: 448, column: 8, }, }, }, ), span: Span { start: Position { line: 418, column: 23, }, end: Position { line: 448, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "applyModuleArgsIfFunction", span: Span { start: Position { line: 450, column: 3, }, end: Position { line: 450, column: 28, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "key", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: LeftAt( "args", ), arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isFunction", span: Span { start: Position { line: 450, column: 78, }, end: Position { line: 450, column: 88, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 450, column: 89, }, end: Position { line: 450, column: 90, }, }, }, ), ], }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "context", span: Span { start: Position { line: 464, column: 7, }, end: Position { line: 464, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "while evaluating the module argument `", span: Span { start: Position { line: 464, column: 25, }, end: Position { line: 464, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 464, column: 65, }, end: Position { line: 464, column: 69, }, }, }, ), }, ), Raw( PartRaw { content: "' in \"", span: Span { start: Position { line: 464, column: 25, }, end: Position { line: 464, column: 76, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "key", span: Span { start: Position { line: 464, column: 78, }, end: Position { line: 464, column: 81, }, }, }, ), }, ), Raw( PartRaw { content: "\":", span: Span { start: Position { line: 464, column: 25, }, end: Position { line: 464, column: 84, }, }, }, ), ], span: Span { start: Position { line: 464, column: 23, }, end: Position { line: 464, column: 86, }, }, }, ), span: Span { start: Position { line: 464, column: 17, }, end: Position { line: 464, column: 86, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraArgs", span: Span { start: Position { line: 465, column: 7, }, end: Position { line: 465, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 465, column: 19, }, end: Position { line: 465, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrs", span: Span { start: Position { line: 465, column: 28, }, end: Position { line: 465, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "_", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 466, column: 9, }, end: Position { line: 466, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "addErrorContext", span: Span { start: Position { line: 466, column: 18, }, end: Position { line: 466, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "context", span: Span { start: Position { line: 466, column: 35, }, end: Position { line: 466, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 466, column: 43, }, end: Position { line: 466, column: 47, }, }, }, ), ], }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "args", span: Span { start: Position { line: 467, column: 12, }, end: Position { line: 467, column: 16, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 467, column: 19, }, end: Position { line: 467, column: 23, }, }, }, ), }, ), ], default: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 467, column: 28, }, end: Position { line: 467, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 467, column: 35, }, end: Position { line: 467, column: 42, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 467, column: 43, }, end: Position { line: 467, column: 47, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 467, column: 50, }, end: Position { line: 467, column: 54, }, }, }, ), }, ), ], default: None, }, ), ), }, ), ], }, ), span: Span { start: Position { line: 465, column: 44, }, end: Position { line: 467, column: 56, }, }, }, ), span: Span { start: Position { line: 465, column: 38, }, end: Position { line: 467, column: 56, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 468, column: 10, }, end: Position { line: 468, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functionArgs", span: Span { start: Position { line: 468, column: 14, }, end: Position { line: 468, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 468, column: 27, }, end: Position { line: 468, column: 28, }, }, }, ), ], }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 474, column: 8, }, end: Position { line: 474, column: 9, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "args", span: Span { start: Position { line: 474, column: 11, }, end: Position { line: 474, column: 15, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "extraArgs", span: Span { start: Position { line: 474, column: 19, }, end: Position { line: 474, column: 28, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 451, column: 5, }, end: Position { line: 474, column: 29, }, }, }, ), else_: Identifier( Identifier { id: "f", span: Span { start: Position { line: 476, column: 5, }, end: Position { line: 476, column: 6, }, }, }, ), span: Span { start: Position { line: 450, column: 75, }, end: Position { line: 476, column: 6, }, }, }, ), span: Span { start: Position { line: 450, column: 39, }, end: Position { line: 476, column: 6, }, }, }, ), span: Span { start: Position { line: 450, column: 36, }, end: Position { line: 476, column: 6, }, }, }, ), span: Span { start: Position { line: 450, column: 31, }, end: Position { line: 476, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeModules", span: Span { start: Position { line: 499, column: 3, }, end: Position { line: 499, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "prefix", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "modules", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeModules'", span: Span { start: Position { line: 500, column: 5, }, end: Position { line: 500, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 500, column: 19, }, end: Position { line: 500, column: 25, }, }, }, ), Identifier( Identifier { id: "modules", span: Span { start: Position { line: 500, column: 26, }, end: Position { line: 500, column: 33, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMap", span: Span { start: Position { line: 501, column: 8, }, end: Position { line: 501, column: 17, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 501, column: 22, }, end: Position { line: 501, column: 25, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "config", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 501, column: 37, }, end: Position { line: 501, column: 41, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 501, column: 44, }, end: Position { line: 501, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 501, column: 46, }, end: Position { line: 501, column: 51, }, }, }, ), ], default: None, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 501, column: 61, }, end: Position { line: 501, column: 67, }, }, }, ), ], span: Span { start: Position { line: 501, column: 36, }, end: Position { line: 501, column: 68, }, }, }, ), ], span: Span { start: Position { line: 501, column: 35, }, end: Position { line: 501, column: 70, }, }, }, ), span: Span { start: Position { line: 501, column: 27, }, end: Position { line: 501, column: 70, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "pushDownProperties", span: Span { start: Position { line: 501, column: 73, }, end: Position { line: 501, column: 91, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 501, column: 92, }, end: Position { line: 501, column: 93, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 501, column: 94, }, end: Position { line: 501, column: 100, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 501, column: 19, }, end: Position { line: 501, column: 101, }, }, }, ), Identifier( Identifier { id: "modules", span: Span { start: Position { line: 501, column: 103, }, end: Position { line: 501, column: 110, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 499, column: 26, }, end: Position { line: 501, column: 111, }, }, }, ), span: Span { start: Position { line: 499, column: 18, }, end: Position { line: 501, column: 111, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeModules'", span: Span { start: Position { line: 503, column: 3, }, end: Position { line: 503, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "prefix", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "options", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "configs", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "byName", span: Span { start: Position { line: 526, column: 7, }, end: Position { line: 526, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attr", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "modules", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "zipAttrsWith", span: Span { start: Position { line: 527, column: 9, }, end: Position { line: 527, column: 21, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Identifier( Identifier { id: "concatLists", span: Span { start: Position { line: 527, column: 26, }, end: Position { line: 527, column: 37, }, }, }, ), span: Span { start: Position { line: 527, column: 23, }, end: Position { line: 527, column: 37, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 528, column: 12, }, end: Position { line: 528, column: 15, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "module", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "subtree", span: Span { start: Position { line: 528, column: 29, }, end: Position { line: 528, column: 36, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "module", span: Span { start: Position { line: 528, column: 39, }, end: Position { line: 528, column: 45, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "attr", span: Span { start: Position { line: 528, column: 48, }, end: Position { line: 528, column: 52, }, }, }, ), }, ), ], default: None, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 529, column: 20, }, end: Position { line: 529, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isAttrs", span: Span { start: Position { line: 529, column: 29, }, end: Position { line: 529, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "subtree", span: Span { start: Position { line: 529, column: 37, }, end: Position { line: 529, column: 44, }, }, }, ), ], }, ), span: Span { start: Position { line: 529, column: 18, }, end: Position { line: 529, column: 45, }, }, }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 530, column: 17, }, end: Position { line: 530, column: 22, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "You're trying to declare a value of type `", span: Span { start: Position { line: 531, column: 1, }, end: Position { line: 531, column: 61, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 531, column: 63, }, end: Position { line: 531, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "typeOf", span: Span { start: Position { line: 531, column: 72, }, end: Position { line: 531, column: 78, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "subtree", span: Span { start: Position { line: 531, column: 79, }, end: Position { line: 531, column: 86, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "'\nrather than an attribute-set for the option\n`", span: Span { start: Position { line: 531, column: 1, }, end: Position { line: 533, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 533, column: 22, }, end: Position { line: 533, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 533, column: 31, }, end: Position { line: 533, column: 47, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 533, column: 49, }, end: Position { line: 533, column: 50, }, }, }, ), ], span: Span { start: Position { line: 533, column: 48, }, end: Position { line: 533, column: 51, }, }, }, ), Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 533, column: 52, }, end: Position { line: 533, column: 58, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "'!\n\nThis usually happens if `", span: Span { start: Position { line: 531, column: 1, }, end: Position { line: 535, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 535, column: 46, }, end: Position { line: 535, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 535, column: 55, }, end: Position { line: 535, column: 71, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 535, column: 73, }, end: Position { line: 535, column: 74, }, }, }, ), ], span: Span { start: Position { line: 535, column: 72, }, end: Position { line: 535, column: 75, }, }, }, ), Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 535, column: 76, }, end: Position { line: 535, column: 82, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' has option\ndefinitions inside that are not matched. Please check how to properly define\nthis option by e.g. referring to `man 5 configuration.nix'!\n", span: Span { start: Position { line: 531, column: 1, }, end: Position { line: 538, column: 17, }, }, }, ), ], span: Span { start: Position { line: 530, column: 23, }, end: Position { line: 538, column: 19, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 540, column: 17, }, end: Position { line: 540, column: 25, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 540, column: 30, }, end: Position { line: 540, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "module", span: Span { start: Position { line: 540, column: 32, }, end: Position { line: 540, column: 38, }, }, }, ), ], }, ), span: Span { start: Position { line: 540, column: 27, }, end: Position { line: 540, column: 38, }, }, }, ), Identifier( Identifier { id: "subtree", span: Span { start: Position { line: 540, column: 40, }, end: Position { line: 540, column: 47, }, }, }, ), ], }, ), span: Span { start: Position { line: 529, column: 15, }, end: Position { line: 540, column: 47, }, }, }, ), span: Span { start: Position { line: 528, column: 25, }, end: Position { line: 540, column: 47, }, }, }, ), span: Span { start: Position { line: 528, column: 17, }, end: Position { line: 540, column: 47, }, }, }, ), Identifier( Identifier { id: "modules", span: Span { start: Position { line: 541, column: 17, }, end: Position { line: 541, column: 24, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 526, column: 25, }, end: Position { line: 541, column: 25, }, }, }, ), span: Span { start: Position { line: 526, column: 22, }, end: Position { line: 541, column: 25, }, }, }, ), span: Span { start: Position { line: 526, column: 16, }, end: Position { line: 541, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "declsByName", span: Span { start: Position { line: 543, column: 7, }, end: Position { line: 543, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "byName", span: Span { start: Position { line: 543, column: 21, }, end: Position { line: 543, column: 27, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 543, column: 29, }, end: Position { line: 543, column: 36, }, }, }, ), ], span: Span { start: Position { line: 543, column: 28, }, end: Position { line: 543, column: 37, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "module", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "option", }, ), body: List( List { elements: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "module", span: Span { start: Position { line: 544, column: 23, }, end: Position { line: 544, column: 29, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 544, column: 31, }, end: Position { line: 544, column: 36, }, }, }, ), ], span: Span { start: Position { line: 544, column: 13, }, end: Position { line: 544, column: 37, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 544, column: 38, }, end: Position { line: 544, column: 45, }, }, }, ), ], to: Identifier( Identifier { id: "option", span: Span { start: Position { line: 544, column: 48, }, end: Position { line: 544, column: 54, }, }, }, ), }, ), ], span: Span { start: Position { line: 544, column: 12, }, end: Position { line: 544, column: 57, }, }, }, ), ], span: Span { start: Position { line: 544, column: 11, }, end: Position { line: 544, column: 58, }, }, }, ), span: Span { start: Position { line: 543, column: 47, }, end: Position { line: 544, column: 58, }, }, }, ), span: Span { start: Position { line: 543, column: 39, }, end: Position { line: 544, column: 58, }, }, }, ), Identifier( Identifier { id: "options", span: Span { start: Position { line: 545, column: 11, }, end: Position { line: 545, column: 18, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defnsByName", span: Span { start: Position { line: 547, column: 7, }, end: Position { line: 547, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "byName", span: Span { start: Position { line: 547, column: 21, }, end: Position { line: 547, column: 27, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 547, column: 29, }, end: Position { line: 547, column: 35, }, }, }, ), ], span: Span { start: Position { line: 547, column: 28, }, end: Position { line: 547, column: 36, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "module", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 548, column: 11, }, end: Position { line: 548, column: 14, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "config", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "module", span: Span { start: Position { line: 548, column: 35, }, end: Position { line: 548, column: 41, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 548, column: 43, }, end: Position { line: 548, column: 47, }, }, }, ), ], span: Span { start: Position { line: 548, column: 25, }, end: Position { line: 548, column: 48, }, }, }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 548, column: 57, }, end: Position { line: 548, column: 63, }, }, }, ), ], span: Span { start: Position { line: 548, column: 25, }, end: Position { line: 548, column: 64, }, }, }, ), ], span: Span { start: Position { line: 548, column: 24, }, end: Position { line: 548, column: 66, }, }, }, ), span: Span { start: Position { line: 548, column: 16, }, end: Position { line: 548, column: 66, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "pushDownProperties", span: Span { start: Position { line: 548, column: 69, }, end: Position { line: 548, column: 87, }, }, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 548, column: 88, }, end: Position { line: 548, column: 93, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 547, column: 46, }, end: Position { line: 548, column: 94, }, }, }, ), span: Span { start: Position { line: 547, column: 38, }, end: Position { line: 548, column: 94, }, }, }, ), Identifier( Identifier { id: "configs", span: Span { start: Position { line: 549, column: 11, }, end: Position { line: 549, column: 18, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defnsByName'", span: Span { start: Position { line: 551, column: 7, }, end: Position { line: 551, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "byName", span: Span { start: Position { line: 551, column: 22, }, end: Position { line: 551, column: 28, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 551, column: 30, }, end: Position { line: 551, column: 36, }, }, }, ), ], span: Span { start: Position { line: 551, column: 29, }, end: Position { line: 551, column: 37, }, }, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "module", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: List( List { elements: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "module", span: Span { start: Position { line: 552, column: 23, }, end: Position { line: 552, column: 29, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 552, column: 31, }, end: Position { line: 552, column: 35, }, }, }, ), ], span: Span { start: Position { line: 552, column: 13, }, end: Position { line: 552, column: 36, }, }, }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 552, column: 45, }, end: Position { line: 552, column: 50, }, }, }, ), ], span: Span { start: Position { line: 552, column: 13, }, end: Position { line: 552, column: 51, }, }, }, ), ], span: Span { start: Position { line: 552, column: 12, }, end: Position { line: 552, column: 53, }, }, }, ), ], span: Span { start: Position { line: 552, column: 11, }, end: Position { line: 552, column: 54, }, }, }, ), span: Span { start: Position { line: 551, column: 47, }, end: Position { line: 552, column: 54, }, }, }, ), span: Span { start: Position { line: 551, column: 39, }, end: Position { line: 552, column: 54, }, }, }, ), Identifier( Identifier { id: "configs", span: Span { start: Position { line: 553, column: 11, }, end: Position { line: 553, column: 18, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "optionTreeToOption", span: Span { start: Position { line: 556, column: 7, }, end: Position { line: 556, column: 25, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "decl", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isOption", span: Span { start: Position { line: 557, column: 12, }, end: Position { line: 557, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "decl", span: Span { start: Position { line: 557, column: 21, }, end: Position { line: 557, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 557, column: 26, }, end: Position { line: 557, column: 33, }, }, }, ), ], default: None, }, ), ], }, ), then: Identifier( Identifier { id: "decl", span: Span { start: Position { line: 558, column: 14, }, end: Position { line: 558, column: 18, }, }, }, ), else_: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "decl", span: Span { start: Position { line: 559, column: 14, }, end: Position { line: 559, column: 18, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 560, column: 13, }, end: Position { line: 560, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 560, column: 23, }, end: Position { line: 560, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 561, column: 15, }, end: Position { line: 561, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 561, column: 22, }, end: Position { line: 561, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submoduleWith", span: Span { start: Position { line: 561, column: 28, }, end: Position { line: 561, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 562, column: 17, }, end: Position { line: 562, column: 24, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 562, column: 31, }, end: Position { line: 562, column: 38, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "decl", span: Span { start: Position { line: 562, column: 41, }, end: Position { line: 562, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 562, column: 46, }, end: Position { line: 562, column: 53, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 562, column: 29, }, end: Position { line: 562, column: 56, }, }, }, ), ], span: Span { start: Position { line: 562, column: 27, }, end: Position { line: 562, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shorthandOnlyDefinesConfig", span: Span { start: Position { line: 566, column: 17, }, end: Position { line: 566, column: 43, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 566, column: 46, }, end: Position { line: 566, column: 50, }, }, }, ), }, ), ], span: Span { start: Position { line: 561, column: 42, }, end: Position { line: 567, column: 16, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 560, column: 32, }, end: Position { line: 568, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 559, column: 22, }, end: Position { line: 569, column: 12, }, }, }, ), }, ), span: Span { start: Position { line: 557, column: 9, }, end: Position { line: 569, column: 12, }, }, }, ), span: Span { start: Position { line: 556, column: 28, }, end: Position { line: 569, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "resultsByName", span: Span { start: Position { line: 571, column: 7, }, end: Position { line: 571, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 571, column: 23, }, end: Position { line: 571, column: 31, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "decls", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loc", span: Span { start: Position { line: 574, column: 11, }, end: Position { line: 574, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 574, column: 17, }, end: Position { line: 574, column: 23, }, }, }, ), operator: Concatenation, right: List( List { elements: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 574, column: 28, }, end: Position { line: 574, column: 32, }, }, }, ), ], span: Span { start: Position { line: 574, column: 27, }, end: Position { line: 574, column: 33, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defns", span: Span { start: Position { line: 575, column: 11, }, end: Position { line: 575, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "defnsByName", span: Span { start: Position { line: 575, column: 19, }, end: Position { line: 575, column: 30, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 575, column: 33, }, end: Position { line: 575, column: 37, }, }, }, ), }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 575, column: 42, }, end: Position { line: 575, column: 44, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defns'", span: Span { start: Position { line: 576, column: 11, }, end: Position { line: 576, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "defnsByName'", span: Span { start: Position { line: 576, column: 20, }, end: Position { line: 576, column: 32, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 576, column: 35, }, end: Position { line: 576, column: 39, }, }, }, ), }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 576, column: 44, }, end: Position { line: 576, column: 46, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "optionDecls", span: Span { start: Position { line: 577, column: 11, }, end: Position { line: 577, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 577, column: 25, }, end: Position { line: 577, column: 31, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isOption", span: Span { start: Position { line: 577, column: 36, }, end: Position { line: 577, column: 44, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 577, column: 45, }, end: Position { line: 577, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 577, column: 47, }, end: Position { line: 577, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 577, column: 33, }, end: Position { line: 577, column: 54, }, }, }, ), Identifier( Identifier { id: "decls", span: Span { start: Position { line: 577, column: 56, }, end: Position { line: 577, column: 61, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 579, column: 14, }, end: Position { line: 579, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "optionDecls", span: Span { start: Position { line: 579, column: 21, }, end: Position { line: 579, column: 32, }, }, }, ), ], }, ), operator: EqualTo, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 579, column: 36, }, end: Position { line: 579, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "decls", span: Span { start: Position { line: 579, column: 43, }, end: Position { line: 579, column: 48, }, }, }, ), ], }, ), }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 580, column: 17, }, end: Position { line: 580, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "fixupOptionType", span: Span { start: Position { line: 580, column: 23, }, end: Position { line: 580, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 580, column: 39, }, end: Position { line: 580, column: 42, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeOptionDecls", span: Span { start: Position { line: 580, column: 44, }, end: Position { line: 580, column: 60, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 580, column: 61, }, end: Position { line: 580, column: 64, }, }, }, ), Identifier( Identifier { id: "decls", span: Span { start: Position { line: 580, column: 65, }, end: Position { line: 580, column: 70, }, }, }, ), ], }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "matchedOptions", span: Span { start: Position { line: 582, column: 15, }, end: Position { line: 582, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "evalOptionValue", span: Span { start: Position { line: 582, column: 32, }, end: Position { line: 582, column: 47, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 582, column: 48, }, end: Position { line: 582, column: 51, }, }, }, ), Identifier( Identifier { id: "opt", span: Span { start: Position { line: 582, column: 52, }, end: Position { line: 582, column: 55, }, }, }, ), Identifier( Identifier { id: "defns'", span: Span { start: Position { line: 582, column: 56, }, end: Position { line: 582, column: 62, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unmatchedDefns", span: Span { start: Position { line: 583, column: 15, }, end: Position { line: 583, column: 29, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 583, column: 32, }, end: Position { line: 583, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 581, column: 16, }, end: Position { line: 584, column: 14, }, }, }, ), span: Span { start: Position { line: 580, column: 13, }, end: Position { line: 584, column: 14, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "optionDecls", span: Span { start: Position { line: 585, column: 19, }, end: Position { line: 585, column: 30, }, }, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 585, column: 34, }, end: Position { line: 585, column: 36, }, }, }, ), }, ), then: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "all", span: Span { start: Position { line: 586, column: 18, }, end: Position { line: 586, column: 21, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 586, column: 26, }, end: Position { line: 586, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 586, column: 28, }, end: Position { line: 586, column: 35, }, }, }, ), Raw( PartRaw { content: "type", span: Span { start: Position { line: 586, column: 36, }, end: Position { line: 586, column: 40, }, }, }, ), Raw( PartRaw { content: "name", span: Span { start: Position { line: 586, column: 41, }, end: Position { line: 586, column: 45, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 586, column: 50, }, end: Position { line: 586, column: 59, }, }, }, ), ], span: Span { start: Position { line: 586, column: 49, }, end: Position { line: 586, column: 60, }, }, }, ), }, ), span: Span { start: Position { line: 586, column: 23, }, end: Position { line: 586, column: 60, }, }, }, ), Identifier( Identifier { id: "optionDecls", span: Span { start: Position { line: 586, column: 62, }, end: Position { line: 586, column: 73, }, }, }, ), ], }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 597, column: 21, }, end: Position { line: 597, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "fixupOptionType", span: Span { start: Position { line: 597, column: 27, }, end: Position { line: 597, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 597, column: 43, }, end: Position { line: 597, column: 46, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeOptionDecls", span: Span { start: Position { line: 597, column: 48, }, end: Position { line: 597, column: 64, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 597, column: 65, }, end: Position { line: 597, column: 68, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 597, column: 70, }, end: Position { line: 597, column: 73, }, }, }, ), arguments: [ Identifier( Identifier { id: "optionTreeToOption", span: Span { start: Position { line: 597, column: 74, }, end: Position { line: 597, column: 92, }, }, }, ), Identifier( Identifier { id: "decls", span: Span { start: Position { line: 597, column: 93, }, end: Position { line: 597, column: 98, }, }, }, ), ], }, ), ], }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "matchedOptions", span: Span { start: Position { line: 599, column: 19, }, end: Position { line: 599, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "evalOptionValue", span: Span { start: Position { line: 599, column: 36, }, end: Position { line: 599, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 599, column: 52, }, end: Position { line: 599, column: 55, }, }, }, ), Identifier( Identifier { id: "opt", span: Span { start: Position { line: 599, column: 56, }, end: Position { line: 599, column: 59, }, }, }, ), Identifier( Identifier { id: "defns'", span: Span { start: Position { line: 599, column: 60, }, end: Position { line: 599, column: 66, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unmatchedDefns", span: Span { start: Position { line: 600, column: 19, }, end: Position { line: 600, column: 33, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 600, column: 36, }, end: Position { line: 600, column: 38, }, }, }, ), }, ), ], span: Span { start: Position { line: 598, column: 20, }, end: Position { line: 601, column: 18, }, }, }, ), span: Span { start: Position { line: 597, column: 17, }, end: Position { line: 601, column: 18, }, }, }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nonOptions", span: Span { start: Position { line: 604, column: 19, }, end: Position { line: 604, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 604, column: 32, }, end: Position { line: 604, column: 38, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isOption", span: Span { start: Position { line: 604, column: 44, }, end: Position { line: 604, column: 52, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 604, column: 53, }, end: Position { line: 604, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 604, column: 55, }, end: Position { line: 604, column: 62, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 604, column: 43, }, end: Position { line: 604, column: 62, }, }, }, ), span: Span { start: Position { line: 604, column: 40, }, end: Position { line: 604, column: 62, }, }, }, ), Identifier( Identifier { id: "decls", span: Span { start: Position { line: 604, column: 64, }, end: Position { line: 604, column: 69, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 606, column: 17, }, end: Position { line: 606, column: 22, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 606, column: 24, }, end: Position { line: 606, column: 53, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 606, column: 38, }, end: Position { line: 606, column: 48, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 606, column: 49, }, end: Position { line: 606, column: 52, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' in module `", span: Span { start: Position { line: 606, column: 24, }, end: Position { line: 606, column: 66, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 606, column: 69, }, end: Position { line: 606, column: 72, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "head", span: Span { start: Position { line: 606, column: 73, }, end: Position { line: 606, column: 77, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "optionDecls", span: Span { start: Position { line: 606, column: 78, }, end: Position { line: 606, column: 89, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 606, column: 91, }, end: Position { line: 606, column: 96, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' would be a parent of the following options, but its type `", span: Span { start: Position { line: 606, column: 24, }, end: Position { line: 606, column: 157, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 606, column: 160, }, end: Position { line: 606, column: 163, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "head", span: Span { start: Position { line: 606, column: 164, }, end: Position { line: 606, column: 168, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "optionDecls", span: Span { start: Position { line: 606, column: 169, }, end: Position { line: 606, column: 180, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 606, column: 182, }, end: Position { line: 606, column: 189, }, }, }, ), Raw( PartRaw { content: "type", span: Span { start: Position { line: 606, column: 190, }, end: Position { line: 606, column: 194, }, }, }, ), Raw( PartRaw { content: "description", span: Span { start: Position { line: 606, column: 195, }, end: Position { line: 606, column: 206, }, }, }, ), ], default: Some( String( String_ { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 606, column: 211, }, end: Position { line: 606, column: 227, }, }, }, ), ], span: Span { start: Position { line: 606, column: 210, }, end: Position { line: 606, column: 228, }, }, }, ), ), }, ), }, ), Raw( PartRaw { content: "' does not support nested options.\n", span: Span { start: Position { line: 606, column: 24, }, end: Position { line: 606, column: 265, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showRawDecls", span: Span { start: Position { line: 607, column: 19, }, end: Position { line: 607, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 607, column: 32, }, end: Position { line: 607, column: 35, }, }, }, ), Identifier( Identifier { id: "nonOptions", span: Span { start: Position { line: 607, column: 36, }, end: Position { line: 607, column: 46, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 606, column: 23, }, end: Position { line: 608, column: 19, }, }, }, ), ], }, ), span: Span { start: Position { line: 603, column: 17, }, end: Position { line: 608, column: 19, }, }, }, ), span: Span { start: Position { line: 586, column: 15, }, end: Position { line: 608, column: 19, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeModules'", span: Span { start: Position { line: 610, column: 13, }, end: Position { line: 610, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 610, column: 27, }, end: Position { line: 610, column: 30, }, }, }, ), Identifier( Identifier { id: "decls", span: Span { start: Position { line: 610, column: 31, }, end: Position { line: 610, column: 36, }, }, }, ), Identifier( Identifier { id: "defns", span: Span { start: Position { line: 610, column: 37, }, end: Position { line: 610, column: 42, }, }, }, ), ], }, ), span: Span { start: Position { line: 585, column: 16, }, end: Position { line: 610, column: 42, }, }, }, ), span: Span { start: Position { line: 579, column: 11, }, end: Position { line: 610, column: 42, }, }, }, ), span: Span { start: Position { line: 573, column: 9, }, end: Position { line: 610, column: 42, }, }, }, ), span: Span { start: Position { line: 571, column: 39, }, end: Position { line: 610, column: 42, }, }, }, ), span: Span { start: Position { line: 571, column: 33, }, end: Position { line: 610, column: 42, }, }, }, ), Identifier( Identifier { id: "declsByName", span: Span { start: Position { line: 610, column: 44, }, end: Position { line: 610, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "matchedOptions", span: Span { start: Position { line: 612, column: 7, }, end: Position { line: 612, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 612, column: 24, }, end: Position { line: 612, column: 32, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 612, column: 40, }, end: Position { line: 612, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "matchedOptions", span: Span { start: Position { line: 612, column: 42, }, end: Position { line: 612, column: 56, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 612, column: 37, }, end: Position { line: 612, column: 56, }, }, }, ), span: Span { start: Position { line: 612, column: 34, }, end: Position { line: 612, column: 56, }, }, }, ), Identifier( Identifier { id: "resultsByName", span: Span { start: Position { line: 612, column: 58, }, end: Position { line: 612, column: 71, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unmatchedDefnsByName", span: Span { start: Position { line: 615, column: 7, }, end: Position { line: 615, column: 27, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 617, column: 9, }, end: Position { line: 617, column: 17, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 617, column: 25, }, end: Position { line: 617, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unmatchedDefns", span: Span { start: Position { line: 617, column: 27, }, end: Position { line: 617, column: 41, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 617, column: 22, }, end: Position { line: 617, column: 41, }, }, }, ), span: Span { start: Position { line: 617, column: 19, }, end: Position { line: 617, column: 41, }, }, }, ), Identifier( Identifier { id: "resultsByName", span: Span { start: Position { line: 617, column: 43, }, end: Position { line: 617, column: 56, }, }, }, ), ], }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeAttrs", span: Span { start: Position { line: 619, column: 12, }, end: Position { line: 619, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "defnsByName'", span: Span { start: Position { line: 619, column: 24, }, end: Position { line: 619, column: 36, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 619, column: 38, }, end: Position { line: 619, column: 47, }, }, }, ), arguments: [ Identifier( Identifier { id: "matchedOptions", span: Span { start: Position { line: 619, column: 48, }, end: Position { line: 619, column: 62, }, }, }, ), ], }, ), ], }, ), }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "matchedOptions", span: Span { start: Position { line: 621, column: 15, }, end: Position { line: 621, column: 29, }, }, }, ), ], span: Span { start: Position { line: 620, column: 9, }, end: Position { line: 621, column: 30, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unmatchedDefns", span: Span { start: Position { line: 624, column: 7, }, end: Position { line: 624, column: 21, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "configs", span: Span { start: Position { line: 625, column: 12, }, end: Position { line: 625, column: 19, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 625, column: 23, }, end: Position { line: 625, column: 25, }, }, }, ), }, ), then: List( List { elements: [], span: Span { start: Position { line: 629, column: 11, }, end: Position { line: 629, column: 13, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatLists", span: Span { start: Position { line: 631, column: 11, }, end: Position { line: 631, column: 22, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 631, column: 24, }, end: Position { line: 631, column: 38, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "defs", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 632, column: 13, }, end: Position { line: 632, column: 16, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "def", span: Span { start: Position { line: 632, column: 23, }, end: Position { line: 632, column: 26, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 634, column: 15, }, end: Position { line: 634, column: 21, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 634, column: 25, }, end: Position { line: 634, column: 29, }, }, }, ), ], span: Span { start: Position { line: 634, column: 24, }, end: Position { line: 634, column: 30, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 634, column: 35, }, end: Position { line: 634, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 634, column: 39, }, end: Position { line: 634, column: 45, }, }, }, ), ], default: Some( List( List { elements: [], span: Span { start: Position { line: 634, column: 49, }, end: Position { line: 634, column: 51, }, }, }, ), ), }, ), }, ), }, ), ], span: Span { start: Position { line: 632, column: 30, }, end: Position { line: 635, column: 14, }, }, }, ), }, ), span: Span { start: Position { line: 632, column: 18, }, end: Position { line: 635, column: 14, }, }, }, ), Identifier( Identifier { id: "defs", span: Span { start: Position { line: 635, column: 16, }, end: Position { line: 635, column: 20, }, }, }, ), ], }, ), span: Span { start: Position { line: 631, column: 46, }, end: Position { line: 635, column: 20, }, }, }, ), span: Span { start: Position { line: 631, column: 40, }, end: Position { line: 635, column: 20, }, }, }, ), Identifier( Identifier { id: "unmatchedDefnsByName", span: Span { start: Position { line: 636, column: 13, }, end: Position { line: 636, column: 33, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 625, column: 9, }, end: Position { line: 636, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 620, column: 8, }, end: Position { line: 637, column: 6, }, }, }, ), span: Span { start: Position { line: 504, column: 5, }, end: Position { line: 637, column: 6, }, }, }, ), span: Span { start: Position { line: 503, column: 36, }, end: Position { line: 637, column: 6, }, }, }, ), span: Span { start: Position { line: 503, column: 27, }, end: Position { line: 637, column: 6, }, }, }, ), span: Span { start: Position { line: 503, column: 19, }, end: Position { line: 637, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeOptionDecls", span: Span { start: Position { line: 650, column: 3, }, end: Position { line: 650, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "loc", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "opts", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldl'", span: Span { start: Position { line: 652, column: 5, }, end: Position { line: 652, column: 11, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "res", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "opt", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "t", span: Span { start: Position { line: 653, column: 11, }, end: Position { line: 653, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 653, column: 16, }, end: Position { line: 653, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 653, column: 20, }, end: Position { line: 653, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "t'", span: Span { start: Position { line: 654, column: 11, }, end: Position { line: 654, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 654, column: 16, }, end: Position { line: 654, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 654, column: 20, }, end: Position { line: 654, column: 27, }, }, }, ), Raw( PartRaw { content: "type", span: Span { start: Position { line: 654, column: 28, }, end: Position { line: 654, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergedType", span: Span { start: Position { line: 655, column: 11, }, end: Position { line: 655, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "t", span: Span { start: Position { line: 655, column: 24, }, end: Position { line: 655, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "typeMerge", span: Span { start: Position { line: 655, column: 26, }, end: Position { line: 655, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "t'", span: Span { start: Position { line: 655, column: 36, }, end: Position { line: 655, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "functor", span: Span { start: Position { line: 655, column: 39, }, end: Position { line: 655, column: 46, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "typesMergeable", span: Span { start: Position { line: 656, column: 11, }, end: Position { line: 656, column: 25, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "mergedType", span: Span { start: Position { line: 656, column: 28, }, end: Position { line: 656, column: 38, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 656, column: 42, }, end: Position { line: 656, column: 46, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "typeSet", span: Span { start: Position { line: 657, column: 11, }, end: Position { line: 657, column: 18, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "bothHave", span: Span { start: Position { line: 657, column: 25, }, end: Position { line: 657, column: 33, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 657, column: 35, }, end: Position { line: 657, column: 39, }, }, }, ), ], span: Span { start: Position { line: 657, column: 34, }, end: Position { line: 657, column: 40, }, }, }, ), ], }, ), operator: LogicalAnd, right: Identifier( Identifier { id: "typesMergeable", span: Span { start: Position { line: 657, column: 45, }, end: Position { line: 657, column: 59, }, }, }, ), }, ), then: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 658, column: 31, }, end: Position { line: 658, column: 35, }, }, }, ), ], to: Identifier( Identifier { id: "mergedType", span: Span { start: Position { line: 658, column: 38, }, end: Position { line: 658, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 658, column: 29, }, end: Position { line: 658, column: 51, }, }, }, ), else_: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 659, column: 29, }, end: Position { line: 659, column: 31, }, }, }, ), span: Span { start: Position { line: 657, column: 21, }, end: Position { line: 659, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bothHave", span: Span { start: Position { line: 660, column: 11, }, end: Position { line: 660, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: BinaryOperation( BinaryOperation { left: HasAttribute( HasAttribute { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 660, column: 25, }, end: Position { line: 660, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 660, column: 29, }, end: Position { line: 660, column: 36, }, }, }, ), ], default: None, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "k", span: Span { start: Position { line: 660, column: 41, }, end: Position { line: 660, column: 42, }, }, }, ), }, ), ], }, ), operator: LogicalAnd, right: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 660, column: 47, }, end: Position { line: 660, column: 50, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "k", span: Span { start: Position { line: 660, column: 55, }, end: Position { line: 660, column: 56, }, }, }, ), }, ), ], }, ), }, ), span: Span { start: Position { line: 660, column: 22, }, end: Position { line: 660, column: 57, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "bothHave", span: Span { start: Position { line: 662, column: 10, }, end: Position { line: 662, column: 18, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 662, column: 20, }, end: Position { line: 662, column: 27, }, }, }, ), ], span: Span { start: Position { line: 662, column: 19, }, end: Position { line: 662, column: 28, }, }, }, ), ], }, ), operator: LogicalOr, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "bothHave", span: Span { start: Position { line: 663, column: 10, }, end: Position { line: 663, column: 18, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 663, column: 20, }, end: Position { line: 663, column: 27, }, }, }, ), ], span: Span { start: Position { line: 663, column: 19, }, end: Position { line: 663, column: 28, }, }, }, ), ], }, ), }, ), operator: LogicalOr, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "bothHave", span: Span { start: Position { line: 664, column: 10, }, end: Position { line: 664, column: 18, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 664, column: 20, }, end: Position { line: 664, column: 31, }, }, }, ), ], span: Span { start: Position { line: 664, column: 19, }, end: Position { line: 664, column: 32, }, }, }, ), ], }, ), }, ), operator: LogicalOr, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "bothHave", span: Span { start: Position { line: 665, column: 10, }, end: Position { line: 665, column: 18, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 665, column: 20, }, end: Position { line: 665, column: 25, }, }, }, ), ], span: Span { start: Position { line: 665, column: 19, }, end: Position { line: 665, column: 26, }, }, }, ), ], }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "bothHave", span: Span { start: Position { line: 666, column: 11, }, end: Position { line: 666, column: 19, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 666, column: 21, }, end: Position { line: 666, column: 25, }, }, }, ), ], span: Span { start: Position { line: 666, column: 20, }, end: Position { line: 666, column: 26, }, }, }, ), ], }, ), operator: LogicalAnd, right: UnaryOperation( UnaryOperation { operator: Not, operand: Identifier( Identifier { id: "typesMergeable", span: Span { start: Position { line: 666, column: 33, }, end: Position { line: 666, column: 47, }, }, }, ), span: Span { start: Position { line: 666, column: 31, }, end: Position { line: 666, column: 47, }, }, }, ), }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 668, column: 9, }, end: Position { line: 668, column: 14, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 668, column: 16, }, end: Position { line: 668, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 668, column: 30, }, end: Position { line: 668, column: 40, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 668, column: 41, }, end: Position { line: 668, column: 44, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' in `", span: Span { start: Position { line: 668, column: 16, }, end: Position { line: 668, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 668, column: 53, }, end: Position { line: 668, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 668, column: 57, }, end: Position { line: 668, column: 62, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' is already declared in ", span: Span { start: Position { line: 668, column: 16, }, end: Position { line: 668, column: 88, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showFiles", span: Span { start: Position { line: 668, column: 90, }, end: Position { line: 668, column: 99, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 668, column: 100, }, end: Position { line: 668, column: 103, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "declarations", span: Span { start: Position { line: 668, column: 104, }, end: Position { line: 668, column: 116, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: ".", span: Span { start: Position { line: 668, column: 16, }, end: Position { line: 668, column: 118, }, }, }, ), ], span: Span { start: Position { line: 668, column: 15, }, end: Position { line: 668, column: 119, }, }, }, ), ], }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "getSubModules", span: Span { start: Position { line: 671, column: 11, }, end: Position { line: 671, column: 24, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 671, column: 27, }, end: Position { line: 671, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 671, column: 31, }, end: Position { line: 671, column: 38, }, }, }, ), Raw( PartRaw { content: "type", span: Span { start: Position { line: 671, column: 39, }, end: Position { line: 671, column: 43, }, }, }, ), Raw( PartRaw { content: "getSubModules", span: Span { start: Position { line: 671, column: 44, }, end: Position { line: 671, column: 57, }, }, }, ), ], default: Some( Identifier( Identifier { id: "null", span: Span { start: Position { line: 671, column: 61, }, end: Position { line: 671, column: 65, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "submodules", span: Span { start: Position { line: 672, column: 11, }, end: Position { line: 672, column: 21, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "getSubModules", span: Span { start: Position { line: 673, column: 16, }, end: Position { line: 673, column: 29, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 673, column: 33, }, end: Position { line: 673, column: 37, }, }, }, ), }, ), then: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 673, column: 43, }, end: Position { line: 673, column: 46, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setDefaultModuleLocation", span: Span { start: Position { line: 673, column: 48, }, end: Position { line: 673, column: 72, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 673, column: 73, }, end: Position { line: 673, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 673, column: 77, }, end: Position { line: 673, column: 82, }, }, }, ), ], default: None, }, ), ], }, ), Identifier( Identifier { id: "getSubModules", span: Span { start: Position { line: 673, column: 84, }, end: Position { line: 673, column: 97, }, }, }, ), ], }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 673, column: 101, }, end: Position { line: 673, column: 104, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 673, column: 105, }, end: Position { line: 673, column: 112, }, }, }, ), ], default: None, }, ), }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 674, column: 18, }, end: Position { line: 674, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 674, column: 22, }, end: Position { line: 674, column: 29, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 673, column: 13, }, end: Position { line: 674, column: 29, }, }, }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 675, column: 12, }, end: Position { line: 675, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 675, column: 16, }, end: Position { line: 675, column: 23, }, }, }, ), ], default: None, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "res", span: Span { start: Position { line: 675, column: 27, }, end: Position { line: 675, column: 30, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "declarations", span: Span { start: Position { line: 676, column: 13, }, end: Position { line: 676, column: 25, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 676, column: 28, }, end: Position { line: 676, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "declarations", span: Span { start: Position { line: 676, column: 32, }, end: Position { line: 676, column: 44, }, }, }, ), ], default: None, }, ), operator: Concatenation, right: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 676, column: 49, }, end: Position { line: 676, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 676, column: 53, }, end: Position { line: 676, column: 58, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 676, column: 48, }, end: Position { line: 676, column: 59, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 677, column: 13, }, end: Position { line: 677, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "submodules", span: Span { start: Position { line: 677, column: 23, }, end: Position { line: 677, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 676, column: 11, }, end: Position { line: 678, column: 12, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "typeSet", span: Span { start: Position { line: 678, column: 16, }, end: Position { line: 678, column: 23, }, }, }, ), }, ), }, ), }, ), span: Span { start: Position { line: 670, column: 9, }, end: Position { line: 678, column: 23, }, }, }, ), span: Span { start: Position { line: 662, column: 7, }, end: Position { line: 678, column: 23, }, }, }, ), span: Span { start: Position { line: 653, column: 7, }, end: Position { line: 678, column: 23, }, }, }, ), span: Span { start: Position { line: 652, column: 18, }, end: Position { line: 678, column: 23, }, }, }, ), span: Span { start: Position { line: 652, column: 13, }, end: Position { line: 678, column: 23, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "loc", span: Span { start: Position { line: 679, column: 17, }, end: Position { line: 679, column: 20, }, }, }, ), ], span: Span { start: Position { line: 679, column: 8, }, end: Position { line: 679, column: 21, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "declarations", span: Span { start: Position { line: 679, column: 22, }, end: Position { line: 679, column: 34, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 679, column: 37, }, end: Position { line: 679, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 679, column: 41, }, end: Position { line: 679, column: 48, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 679, column: 51, }, end: Position { line: 679, column: 53, }, }, }, ), }, ), ], span: Span { start: Position { line: 679, column: 7, }, end: Position { line: 679, column: 56, }, }, }, ), Identifier( Identifier { id: "opts", span: Span { start: Position { line: 679, column: 57, }, end: Position { line: 679, column: 61, }, }, }, ), ], }, ), span: Span { start: Position { line: 651, column: 9, }, end: Position { line: 679, column: 61, }, }, }, ), span: Span { start: Position { line: 651, column: 4, }, end: Position { line: 679, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "evalOptionValue", span: Span { start: Position { line: 683, column: 3, }, end: Position { line: 683, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "loc", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "opt", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "defs", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defs'", span: Span { start: Position { line: 686, column: 7, }, end: Position { line: 686, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 687, column: 12, }, end: Position { line: 687, column: 20, }, }, }, ), arguments: [ HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 687, column: 22, }, end: Position { line: 687, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 687, column: 28, }, end: Position { line: 687, column: 35, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 688, column: 15, }, end: Position { line: 688, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 688, column: 22, }, end: Position { line: 688, column: 26, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 688, column: 27, }, end: Position { line: 688, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "declarations", span: Span { start: Position { line: 688, column: 31, }, end: Position { line: 688, column: 43, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 688, column: 45, }, end: Position { line: 688, column: 50, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOptionDefault", span: Span { start: Position { line: 688, column: 53, }, end: Position { line: 688, column: 68, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 688, column: 69, }, end: Position { line: 688, column: 72, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 688, column: 73, }, end: Position { line: 688, column: 80, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 688, column: 13, }, end: Position { line: 688, column: 83, }, }, }, ), ], }, ), operator: Concatenation, right: Identifier( Identifier { id: "defs", span: Span { start: Position { line: 688, column: 88, }, end: Position { line: 688, column: 92, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "res", span: Span { start: Position { line: 691, column: 7, }, end: Position { line: 691, column: 10, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 692, column: 12, }, end: Position { line: 692, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "readOnly", span: Span { start: Position { line: 692, column: 16, }, end: Position { line: 692, column: 24, }, }, }, ), ], default: Some( Identifier( Identifier { id: "false", span: Span { start: Position { line: 692, column: 28, }, end: Position { line: 692, column: 33, }, }, }, ), ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 692, column: 37, }, end: Position { line: 692, column: 43, }, }, }, ), arguments: [ Identifier( Identifier { id: "defs'", span: Span { start: Position { line: 692, column: 44, }, end: Position { line: 692, column: 49, }, }, }, ), ], }, ), operator: GreaterThan, right: Integer( Integer { value: "1", span: Span { start: Position { line: 692, column: 52, }, end: Position { line: 692, column: 53, }, }, }, ), }, ), }, ), then: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "separateDefs", span: Span { start: Position { line: 696, column: 13, }, end: Position { line: 696, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 696, column: 28, }, end: Position { line: 696, column: 31, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "def", span: Span { start: Position { line: 696, column: 38, }, end: Position { line: 696, column: 41, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 697, column: 15, }, end: Position { line: 697, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeDefinitions", span: Span { start: Position { line: 697, column: 24, }, end: Position { line: 697, column: 40, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 697, column: 41, }, end: Position { line: 697, column: 44, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 697, column: 45, }, end: Position { line: 697, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 697, column: 49, }, end: Position { line: 697, column: 53, }, }, }, ), ], default: None, }, ), List( List { elements: [ Identifier( Identifier { id: "def", span: Span { start: Position { line: 697, column: 56, }, end: Position { line: 697, column: 59, }, }, }, ), ], span: Span { start: Position { line: 697, column: 54, }, end: Position { line: 697, column: 61, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "mergedValue", span: Span { start: Position { line: 697, column: 63, }, end: Position { line: 697, column: 74, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 696, column: 45, }, end: Position { line: 698, column: 14, }, }, }, ), }, ), span: Span { start: Position { line: 696, column: 33, }, end: Position { line: 698, column: 14, }, }, }, ), Identifier( Identifier { id: "defs'", span: Span { start: Position { line: 698, column: 16, }, end: Position { line: 698, column: 21, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 699, column: 14, }, end: Position { line: 699, column: 19, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 699, column: 21, }, end: Position { line: 699, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 699, column: 35, }, end: Position { line: 699, column: 45, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 699, column: 46, }, end: Position { line: 699, column: 49, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' is read-only, but it's set multiple times. Definition values:", span: Span { start: Position { line: 699, column: 21, }, end: Position { line: 699, column: 113, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showDefs", span: Span { start: Position { line: 699, column: 115, }, end: Position { line: 699, column: 123, }, }, }, ), arguments: [ Identifier( Identifier { id: "separateDefs", span: Span { start: Position { line: 699, column: 124, }, end: Position { line: 699, column: 136, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 699, column: 20, }, end: Position { line: 699, column: 138, }, }, }, ), ], }, ), span: Span { start: Position { line: 693, column: 11, }, end: Position { line: 699, column: 138, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeDefinitions", span: Span { start: Position { line: 701, column: 11, }, end: Position { line: 701, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 701, column: 28, }, end: Position { line: 701, column: 31, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 701, column: 32, }, end: Position { line: 701, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 701, column: 36, }, end: Position { line: 701, column: 40, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "defs'", span: Span { start: Position { line: 701, column: 41, }, end: Position { line: 701, column: 46, }, }, }, ), ], }, ), span: Span { start: Position { line: 692, column: 9, }, end: Position { line: 701, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 705, column: 7, }, end: Position { line: 705, column: 12, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 705, column: 18, }, end: Position { line: 705, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 705, column: 24, }, end: Position { line: 705, column: 29, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 705, column: 35, }, end: Position { line: 705, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 705, column: 39, }, end: Position { line: 705, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 705, column: 45, }, end: Position { line: 705, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mergedValue", span: Span { start: Position { line: 705, column: 49, }, end: Position { line: 705, column: 60, }, }, }, ), ], default: None, }, ), ], }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 705, column: 66, }, end: Position { line: 705, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mergedValue", span: Span { start: Position { line: 705, column: 70, }, end: Position { line: 705, column: 81, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 705, column: 15, }, end: Position { line: 705, column: 81, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warnDeprecation", span: Span { start: Position { line: 707, column: 7, }, end: Position { line: 707, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "warnIf", span: Span { start: Position { line: 708, column: 9, }, end: Position { line: 708, column: 15, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 708, column: 17, }, end: Position { line: 708, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 708, column: 21, }, end: Position { line: 708, column: 25, }, }, }, ), Raw( PartRaw { content: "deprecationMessage", span: Span { start: Position { line: 708, column: 26, }, end: Position { line: 708, column: 44, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 708, column: 48, }, end: Position { line: 708, column: 52, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "The type `types.", span: Span { start: Position { line: 709, column: 12, }, end: Position { line: 709, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 709, column: 30, }, end: Position { line: 709, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 709, column: 34, }, end: Position { line: 709, column: 38, }, }, }, ), Raw( PartRaw { content: "name", span: Span { start: Position { line: 709, column: 39, }, end: Position { line: 709, column: 43, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' of option `", span: Span { start: Position { line: 709, column: 12, }, end: Position { line: 709, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 709, column: 59, }, end: Position { line: 709, column: 69, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 709, column: 70, }, end: Position { line: 709, column: 73, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' defined in ", span: Span { start: Position { line: 709, column: 12, }, end: Position { line: 709, column: 87, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showFiles", span: Span { start: Position { line: 709, column: 89, }, end: Position { line: 709, column: 98, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 709, column: 99, }, end: Position { line: 709, column: 102, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "declarations", span: Span { start: Position { line: 709, column: 103, }, end: Position { line: 709, column: 115, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " is deprecated. ", span: Span { start: Position { line: 709, column: 12, }, end: Position { line: 709, column: 132, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 709, column: 134, }, end: Position { line: 709, column: 137, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 709, column: 138, }, end: Position { line: 709, column: 142, }, }, }, ), Raw( PartRaw { content: "deprecationMessage", span: Span { start: Position { line: 709, column: 143, }, end: Position { line: 709, column: 161, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 709, column: 11, }, end: Position { line: 709, column: 163, }, }, }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "warnDeprecation", span: Span { start: Position { line: 711, column: 8, }, end: Position { line: 711, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "opt", span: Span { start: Position { line: 711, column: 24, }, end: Position { line: 711, column: 27, }, }, }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 712, column: 9, }, end: Position { line: 712, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 712, column: 17, }, end: Position { line: 712, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "addErrorContext", span: Span { start: Position { line: 712, column: 26, }, end: Position { line: 712, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "while evaluating the option `", span: Span { start: Position { line: 712, column: 43, }, end: Position { line: 712, column: 89, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 712, column: 74, }, end: Position { line: 712, column: 84, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 712, column: 85, }, end: Position { line: 712, column: 88, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "':", span: Span { start: Position { line: 712, column: 43, }, end: Position { line: 712, column: 91, }, }, }, ), ], span: Span { start: Position { line: 712, column: 42, }, end: Position { line: 712, column: 92, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 712, column: 93, }, end: Position { line: 712, column: 98, }, }, }, ), ], }, ), }, ), Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 713, column: 18, }, end: Position { line: 713, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "defsFinal'", span: Span { start: Position { line: 713, column: 22, }, end: Position { line: 713, column: 32, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "highestPrio", span: Span { start: Position { line: 713, column: 34, }, end: Position { line: 713, column: 45, }, }, }, ), ], span: Span { start: Position { line: 712, column: 8, }, end: Position { line: 713, column: 46, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "definitions", span: Span { start: Position { line: 714, column: 9, }, end: Position { line: 714, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 714, column: 23, }, end: Position { line: 714, column: 26, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 714, column: 33, }, end: Position { line: 714, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 714, column: 37, }, end: Position { line: 714, column: 42, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 714, column: 28, }, end: Position { line: 714, column: 42, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 714, column: 44, }, end: Position { line: 714, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "defsFinal", span: Span { start: Position { line: 714, column: 48, }, end: Position { line: 714, column: 57, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "files", span: Span { start: Position { line: 715, column: 9, }, end: Position { line: 715, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 715, column: 17, }, end: Position { line: 715, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 715, column: 27, }, end: Position { line: 715, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 715, column: 31, }, end: Position { line: 715, column: 35, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 715, column: 22, }, end: Position { line: 715, column: 35, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 715, column: 37, }, end: Position { line: 715, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "defsFinal", span: Span { start: Position { line: 715, column: 41, }, end: Position { line: 715, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "definitionsWithLocations", span: Span { start: Position { line: 716, column: 9, }, end: Position { line: 716, column: 33, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "res", span: Span { start: Position { line: 716, column: 36, }, end: Position { line: 716, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "defsFinal", span: Span { start: Position { line: 716, column: 40, }, end: Position { line: 716, column: 49, }, }, }, ), ], default: None, }, ), }, ), Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "res", span: Span { start: Position { line: 717, column: 18, }, end: Position { line: 717, column: 21, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "isDefined", span: Span { start: Position { line: 717, column: 23, }, end: Position { line: 717, column: 32, }, }, }, ), ], span: Span { start: Position { line: 712, column: 8, }, end: Position { line: 717, column: 33, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "__toString", span: Span { start: Position { line: 719, column: 9, }, end: Position { line: 719, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "_", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 719, column: 25, }, end: Position { line: 719, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 719, column: 36, }, end: Position { line: 719, column: 39, }, }, }, ), ], }, ), span: Span { start: Position { line: 719, column: 22, }, end: Position { line: 719, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 712, column: 7, }, end: Position { line: 720, column: 8, }, }, }, ), }, ), span: Span { start: Position { line: 684, column: 5, }, end: Position { line: 720, column: 8, }, }, }, ), span: Span { start: Position { line: 683, column: 31, }, end: Position { line: 720, column: 8, }, }, }, ), span: Span { start: Position { line: 683, column: 26, }, end: Position { line: 720, column: 8, }, }, }, ), span: Span { start: Position { line: 683, column: 21, }, end: Position { line: 720, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergeDefinitions", span: Span { start: Position { line: 723, column: 3, }, end: Position { line: 723, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "loc", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "type", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "defs", }, ), body: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defsFinal'", span: Span { start: Position { line: 724, column: 5, }, end: Position { line: 724, column: 15, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defs'", span: Span { start: Position { line: 727, column: 9, }, end: Position { line: 727, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMap", span: Span { start: Position { line: 727, column: 17, }, end: Position { line: 727, column: 26, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 728, column: 11, }, end: Position { line: 728, column: 14, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "m", span: Span { start: Position { line: 728, column: 34, }, end: Position { line: 728, column: 35, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 728, column: 37, }, end: Position { line: 728, column: 41, }, }, }, ), ], span: Span { start: Position { line: 728, column: 24, }, end: Position { line: 728, column: 42, }, }, }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 728, column: 51, }, end: Position { line: 728, column: 56, }, }, }, ), ], span: Span { start: Position { line: 728, column: 24, }, end: Position { line: 728, column: 57, }, }, }, ), ], span: Span { start: Position { line: 728, column: 23, }, end: Position { line: 728, column: 59, }, }, }, ), span: Span { start: Position { line: 728, column: 16, }, end: Position { line: 728, column: 59, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 728, column: 62, }, end: Position { line: 728, column: 70, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "addErrorContext", span: Span { start: Position { line: 728, column: 71, }, end: Position { line: 728, column: 86, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "while evaluating definitions from `", span: Span { start: Position { line: 728, column: 88, }, end: Position { line: 728, column: 132, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 728, column: 125, }, end: Position { line: 728, column: 126, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "file", span: Span { start: Position { line: 728, column: 127, }, end: Position { line: 728, column: 131, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "':", span: Span { start: Position { line: 728, column: 88, }, end: Position { line: 728, column: 134, }, }, }, ), ], span: Span { start: Position { line: 728, column: 87, }, end: Position { line: 728, column: 135, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "dischargeProperties", span: Span { start: Position { line: 728, column: 137, }, end: Position { line: 728, column: 156, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 728, column: 157, }, end: Position { line: 728, column: 158, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 728, column: 159, }, end: Position { line: 728, column: 164, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 727, column: 28, }, end: Position { line: 728, column: 166, }, }, }, ), Identifier( Identifier { id: "defs", span: Span { start: Position { line: 729, column: 11, }, end: Position { line: 729, column: 15, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defs''", span: Span { start: Position { line: 732, column: 9, }, end: Position { line: 732, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterOverrides'", span: Span { start: Position { line: 732, column: 18, }, end: Position { line: 732, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "defs'", span: Span { start: Position { line: 732, column: 35, }, end: Position { line: 732, column: 40, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defs'''", span: Span { start: Position { line: 735, column: 9, }, end: Position { line: 735, column: 16, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "any", span: Span { start: Position { line: 737, column: 14, }, end: Position { line: 737, column: 17, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 737, column: 24, }, end: Position { line: 737, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 737, column: 28, }, end: Position { line: 737, column: 33, }, }, }, ), Raw( PartRaw { content: "_type", span: Span { start: Position { line: 737, column: 34, }, end: Position { line: 737, column: 39, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 737, column: 43, }, end: Position { line: 737, column: 45, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "order", span: Span { start: Position { line: 737, column: 50, }, end: Position { line: 737, column: 55, }, }, }, ), ], span: Span { start: Position { line: 737, column: 49, }, end: Position { line: 737, column: 56, }, }, }, ), }, ), span: Span { start: Position { line: 737, column: 19, }, end: Position { line: 737, column: 56, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "defs''", span: Span { start: Position { line: 737, column: 58, }, end: Position { line: 737, column: 64, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "values", span: Span { start: Position { line: 737, column: 65, }, end: Position { line: 737, column: 71, }, }, }, ), ], default: None, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "sortProperties", span: Span { start: Position { line: 738, column: 16, }, end: Position { line: 738, column: 30, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "defs''", span: Span { start: Position { line: 738, column: 31, }, end: Position { line: 738, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "values", span: Span { start: Position { line: 738, column: 38, }, end: Position { line: 738, column: 44, }, }, }, ), ], default: None, }, ), ], }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "defs''", span: Span { start: Position { line: 739, column: 16, }, end: Position { line: 739, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "values", span: Span { start: Position { line: 739, column: 23, }, end: Position { line: 739, column: 29, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 737, column: 11, }, end: Position { line: 739, column: 29, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "values", span: Span { start: Position { line: 741, column: 9, }, end: Position { line: 741, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "defs'''", span: Span { start: Position { line: 741, column: 18, }, end: Position { line: 741, column: 25, }, }, }, ), }, ), Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "defs''", span: Span { start: Position { line: 742, column: 18, }, end: Position { line: 742, column: 24, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "highestPrio", span: Span { start: Position { line: 742, column: 26, }, end: Position { line: 742, column: 37, }, }, }, ), ], span: Span { start: Position { line: 740, column: 11, }, end: Position { line: 742, column: 38, }, }, }, ), ], span: Span { start: Position { line: 740, column: 10, }, end: Position { line: 743, column: 8, }, }, }, ), span: Span { start: Position { line: 725, column: 7, }, end: Position { line: 743, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defsFinal", span: Span { start: Position { line: 744, column: 5, }, end: Position { line: 744, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "defsFinal'", span: Span { start: Position { line: 744, column: 17, }, end: Position { line: 744, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "values", span: Span { start: Position { line: 744, column: 28, }, end: Position { line: 744, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergedValue", span: Span { start: Position { line: 747, column: 5, }, end: Position { line: 747, column: 16, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "isDefined", span: Span { start: Position { line: 748, column: 10, }, end: Position { line: 748, column: 19, }, }, }, ), then: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "all", span: Span { start: Position { line: 749, column: 12, }, end: Position { line: 749, column: 15, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "type", span: Span { start: Position { line: 749, column: 22, }, end: Position { line: 749, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "check", span: Span { start: Position { line: 749, column: 27, }, end: Position { line: 749, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 749, column: 33, }, end: Position { line: 749, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 749, column: 37, }, end: Position { line: 749, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 749, column: 17, }, end: Position { line: 749, column: 42, }, }, }, ), Identifier( Identifier { id: "defsFinal", span: Span { start: Position { line: 749, column: 44, }, end: Position { line: 749, column: 53, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "type", span: Span { start: Position { line: 749, column: 59, }, end: Position { line: 749, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "merge", span: Span { start: Position { line: 749, column: 64, }, end: Position { line: 749, column: 69, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 749, column: 70, }, end: Position { line: 749, column: 73, }, }, }, ), Identifier( Identifier { id: "defsFinal", span: Span { start: Position { line: 749, column: 74, }, end: Position { line: 749, column: 83, }, }, }, ), ], }, ), else_: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allInvalid", span: Span { start: Position { line: 750, column: 18, }, end: Position { line: 750, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 750, column: 31, }, end: Position { line: 750, column: 37, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "type", span: Span { start: Position { line: 750, column: 46, }, end: Position { line: 750, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "check", span: Span { start: Position { line: 750, column: 51, }, end: Position { line: 750, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 750, column: 57, }, end: Position { line: 750, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 750, column: 61, }, end: Position { line: 750, column: 66, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 750, column: 44, }, end: Position { line: 750, column: 66, }, }, }, ), span: Span { start: Position { line: 750, column: 39, }, end: Position { line: 750, column: 66, }, }, }, ), Identifier( Identifier { id: "defsFinal", span: Span { start: Position { line: 750, column: 68, }, end: Position { line: 750, column: 77, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 751, column: 12, }, end: Position { line: 751, column: 17, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "A definition for option `", span: Span { start: Position { line: 751, column: 19, }, end: Position { line: 751, column: 61, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 751, column: 46, }, end: Position { line: 751, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 751, column: 57, }, end: Position { line: 751, column: 60, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' is not of type `", span: Span { start: Position { line: 751, column: 19, }, end: Position { line: 751, column: 79, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "type", span: Span { start: Position { line: 751, column: 81, }, end: Position { line: 751, column: 85, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 751, column: 86, }, end: Position { line: 751, column: 97, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'. Definition values:", span: Span { start: Position { line: 751, column: 19, }, end: Position { line: 751, column: 119, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showDefs", span: Span { start: Position { line: 751, column: 121, }, end: Position { line: 751, column: 129, }, }, }, ), arguments: [ Identifier( Identifier { id: "allInvalid", span: Span { start: Position { line: 751, column: 130, }, end: Position { line: 751, column: 140, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 751, column: 18, }, end: Position { line: 751, column: 142, }, }, }, ), ], }, ), span: Span { start: Position { line: 750, column: 14, }, end: Position { line: 751, column: 142, }, }, }, ), span: Span { start: Position { line: 749, column: 9, }, end: Position { line: 751, column: 142, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 755, column: 9, }, end: Position { line: 755, column: 14, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 755, column: 16, }, end: Position { line: 755, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 755, column: 30, }, end: Position { line: 755, column: 40, }, }, }, ), arguments: [ Identifier( Identifier { id: "loc", span: Span { start: Position { line: 755, column: 41, }, end: Position { line: 755, column: 44, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' is used but not defined.", span: Span { start: Position { line: 755, column: 16, }, end: Position { line: 755, column: 71, }, }, }, ), ], span: Span { start: Position { line: 755, column: 15, }, end: Position { line: 755, column: 72, }, }, }, ), ], }, ), span: Span { start: Position { line: 748, column: 7, }, end: Position { line: 755, column: 72, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isDefined", span: Span { start: Position { line: 757, column: 5, }, end: Position { line: 757, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "defsFinal", span: Span { start: Position { line: 757, column: 17, }, end: Position { line: 757, column: 26, }, }, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 757, column: 30, }, end: Position { line: 757, column: 32, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "optionalValue", span: Span { start: Position { line: 759, column: 5, }, end: Position { line: 759, column: 18, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "isDefined", span: Span { start: Position { line: 760, column: 10, }, end: Position { line: 760, column: 19, }, }, }, ), then: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 760, column: 27, }, end: Position { line: 760, column: 32, }, }, }, ), ], to: Identifier( Identifier { id: "mergedValue", span: Span { start: Position { line: 760, column: 35, }, end: Position { line: 760, column: 46, }, }, }, ), }, ), ], span: Span { start: Position { line: 760, column: 25, }, end: Position { line: 760, column: 49, }, }, }, ), else_: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 761, column: 12, }, end: Position { line: 761, column: 14, }, }, }, ), span: Span { start: Position { line: 760, column: 7, }, end: Position { line: 761, column: 14, }, }, }, ), }, ), ], span: Span { start: Position { line: 723, column: 39, }, end: Position { line: 762, column: 4, }, }, }, ), span: Span { start: Position { line: 723, column: 33, }, end: Position { line: 762, column: 4, }, }, }, ), span: Span { start: Position { line: 723, column: 27, }, end: Position { line: 762, column: 4, }, }, }, ), span: Span { start: Position { line: 723, column: 22, }, end: Position { line: 762, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pushDownProperties", span: Span { start: Position { line: 779, column: 3, }, end: Position { line: 779, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "cfg", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 780, column: 8, }, end: Position { line: 780, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 780, column: 12, }, end: Position { line: 780, column: 17, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 780, column: 21, }, end: Position { line: 780, column: 23, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "merge", span: Span { start: Position { line: 780, column: 28, }, end: Position { line: 780, column: 33, }, }, }, ), ], span: Span { start: Position { line: 780, column: 27, }, end: Position { line: 780, column: 34, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMap", span: Span { start: Position { line: 781, column: 7, }, end: Position { line: 781, column: 16, }, }, }, ), arguments: [ Identifier( Identifier { id: "pushDownProperties", span: Span { start: Position { line: 781, column: 17, }, end: Position { line: 781, column: 35, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 781, column: 36, }, end: Position { line: 781, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "contents", span: Span { start: Position { line: 781, column: 40, }, end: Position { line: 781, column: 48, }, }, }, ), ], default: None, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 782, column: 13, }, end: Position { line: 782, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 782, column: 17, }, end: Position { line: 782, column: 22, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 782, column: 26, }, end: Position { line: 782, column: 28, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "if", span: Span { start: Position { line: 782, column: 33, }, end: Position { line: 782, column: 35, }, }, }, ), ], span: Span { start: Position { line: 782, column: 32, }, end: Position { line: 782, column: 36, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 783, column: 7, }, end: Position { line: 783, column: 10, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 783, column: 12, }, end: Position { line: 783, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 783, column: 28, }, end: Position { line: 783, column: 32, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 783, column: 33, }, end: Position { line: 783, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "condition", span: Span { start: Position { line: 783, column: 37, }, end: Position { line: 783, column: 46, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 783, column: 47, }, end: Position { line: 783, column: 48, }, }, }, ), ], }, ), span: Span { start: Position { line: 783, column: 25, }, end: Position { line: 783, column: 48, }, }, }, ), span: Span { start: Position { line: 783, column: 22, }, end: Position { line: 783, column: 48, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "pushDownProperties", span: Span { start: Position { line: 783, column: 52, }, end: Position { line: 783, column: 70, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 783, column: 71, }, end: Position { line: 783, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "content", span: Span { start: Position { line: 783, column: 75, }, end: Position { line: 783, column: 82, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 784, column: 13, }, end: Position { line: 784, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 784, column: 17, }, end: Position { line: 784, column: 22, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 784, column: 26, }, end: Position { line: 784, column: 28, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "override", span: Span { start: Position { line: 784, column: 33, }, end: Position { line: 784, column: 41, }, }, }, ), ], span: Span { start: Position { line: 784, column: 32, }, end: Position { line: 784, column: 42, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 785, column: 7, }, end: Position { line: 785, column: 10, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 785, column: 12, }, end: Position { line: 785, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 785, column: 28, }, end: Position { line: 785, column: 38, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 785, column: 39, }, end: Position { line: 785, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "priority", span: Span { start: Position { line: 785, column: 43, }, end: Position { line: 785, column: 51, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 785, column: 52, }, end: Position { line: 785, column: 53, }, }, }, ), ], }, ), span: Span { start: Position { line: 785, column: 25, }, end: Position { line: 785, column: 53, }, }, }, ), span: Span { start: Position { line: 785, column: 22, }, end: Position { line: 785, column: 53, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "pushDownProperties", span: Span { start: Position { line: 785, column: 57, }, end: Position { line: 785, column: 75, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 785, column: 76, }, end: Position { line: 785, column: 79, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "content", span: Span { start: Position { line: 785, column: 80, }, end: Position { line: 785, column: 87, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), else_: List( List { elements: [ Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 787, column: 9, }, end: Position { line: 787, column: 12, }, }, }, ), ], span: Span { start: Position { line: 787, column: 7, }, end: Position { line: 787, column: 14, }, }, }, ), span: Span { start: Position { line: 784, column: 10, }, end: Position { line: 787, column: 14, }, }, }, ), span: Span { start: Position { line: 782, column: 10, }, end: Position { line: 787, column: 14, }, }, }, ), span: Span { start: Position { line: 780, column: 5, }, end: Position { line: 787, column: 14, }, }, }, ), span: Span { start: Position { line: 779, column: 24, }, end: Position { line: 787, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dischargeProperties", span: Span { start: Position { line: 799, column: 3, }, end: Position { line: 799, column: 22, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 800, column: 8, }, end: Position { line: 800, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 800, column: 12, }, end: Position { line: 800, column: 17, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 800, column: 21, }, end: Position { line: 800, column: 23, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "merge", span: Span { start: Position { line: 800, column: 28, }, end: Position { line: 800, column: 33, }, }, }, ), ], span: Span { start: Position { line: 800, column: 27, }, end: Position { line: 800, column: 34, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMap", span: Span { start: Position { line: 801, column: 7, }, end: Position { line: 801, column: 16, }, }, }, ), arguments: [ Identifier( Identifier { id: "dischargeProperties", span: Span { start: Position { line: 801, column: 17, }, end: Position { line: 801, column: 36, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 801, column: 37, }, end: Position { line: 801, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "contents", span: Span { start: Position { line: 801, column: 41, }, end: Position { line: 801, column: 49, }, }, }, ), ], default: None, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 802, column: 13, }, end: Position { line: 802, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 802, column: 17, }, end: Position { line: 802, column: 22, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 802, column: 26, }, end: Position { line: 802, column: 28, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "if", span: Span { start: Position { line: 802, column: 33, }, end: Position { line: 802, column: 35, }, }, }, ), ], span: Span { start: Position { line: 802, column: 32, }, end: Position { line: 802, column: 36, }, }, }, ), }, ), then: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isBool", span: Span { start: Position { line: 803, column: 10, }, end: Position { line: 803, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 803, column: 17, }, end: Position { line: 803, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "condition", span: Span { start: Position { line: 803, column: 21, }, end: Position { line: 803, column: 30, }, }, }, ), ], default: None, }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 804, column: 12, }, end: Position { line: 804, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "condition", span: Span { start: Position { line: 804, column: 16, }, end: Position { line: 804, column: 25, }, }, }, ), ], default: None, }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "dischargeProperties", span: Span { start: Position { line: 805, column: 11, }, end: Position { line: 805, column: 30, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 805, column: 31, }, end: Position { line: 805, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "content", span: Span { start: Position { line: 805, column: 35, }, end: Position { line: 805, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), else_: List( List { elements: [], span: Span { start: Position { line: 807, column: 11, }, end: Position { line: 807, column: 14, }, }, }, ), span: Span { start: Position { line: 804, column: 9, }, end: Position { line: 807, column: 14, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 809, column: 9, }, end: Position { line: 809, column: 14, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "‘mkIf’ called with a non-Boolean condition", span: Span { start: Position { line: 809, column: 16, }, end: Position { line: 809, column: 62, }, }, }, ), ], span: Span { start: Position { line: 809, column: 15, }, end: Position { line: 809, column: 63, }, }, }, ), ], }, ), span: Span { start: Position { line: 803, column: 7, }, end: Position { line: 809, column: 63, }, }, }, ), else_: List( List { elements: [ Identifier( Identifier { id: "def", span: Span { start: Position { line: 811, column: 9, }, end: Position { line: 811, column: 12, }, }, }, ), ], span: Span { start: Position { line: 811, column: 7, }, end: Position { line: 811, column: 14, }, }, }, ), span: Span { start: Position { line: 802, column: 10, }, end: Position { line: 811, column: 14, }, }, }, ), span: Span { start: Position { line: 800, column: 5, }, end: Position { line: 811, column: 14, }, }, }, ), span: Span { start: Position { line: 799, column: 25, }, end: Position { line: 811, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filterOverrides", span: Span { start: Position { line: 832, column: 3, }, end: Position { line: 832, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "defs", }, ), body: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterOverrides'", span: Span { start: Position { line: 832, column: 28, }, end: Position { line: 832, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "defs", span: Span { start: Position { line: 832, column: 45, }, end: Position { line: 832, column: 49, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "values", span: Span { start: Position { line: 832, column: 51, }, end: Position { line: 832, column: 57, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 832, column: 21, }, end: Position { line: 832, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filterOverrides'", span: Span { start: Position { line: 834, column: 3, }, end: Position { line: 834, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "defs", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "getPrio", span: Span { start: Position { line: 836, column: 7, }, end: Position { line: 836, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 836, column: 25, }, end: Position { line: 836, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 836, column: 29, }, end: Position { line: 836, column: 34, }, }, }, ), Raw( PartRaw { content: "_type", span: Span { start: Position { line: 836, column: 35, }, end: Position { line: 836, column: 40, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 836, column: 44, }, end: Position { line: 836, column: 46, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "override", span: Span { start: Position { line: 836, column: 51, }, end: Position { line: 836, column: 59, }, }, }, ), ], span: Span { start: Position { line: 836, column: 50, }, end: Position { line: 836, column: 60, }, }, }, ), }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 836, column: 66, }, end: Position { line: 836, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 836, column: 70, }, end: Position { line: 836, column: 75, }, }, }, ), Raw( PartRaw { content: "priority", span: Span { start: Position { line: 836, column: 76, }, end: Position { line: 836, column: 84, }, }, }, ), ], default: None, }, ), else_: Identifier( Identifier { id: "defaultPriority", span: Span { start: Position { line: 836, column: 90, }, end: Position { line: 836, column: 105, }, }, }, ), span: Span { start: Position { line: 836, column: 22, }, end: Position { line: 836, column: 105, }, }, }, ), span: Span { start: Position { line: 836, column: 17, }, end: Position { line: 836, column: 105, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "highestPrio", span: Span { start: Position { line: 837, column: 7, }, end: Position { line: 837, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldl'", span: Span { start: Position { line: 837, column: 21, }, end: Position { line: 837, column: 27, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "prio", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "min", span: Span { start: Position { line: 837, column: 40, }, end: Position { line: 837, column: 43, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getPrio", span: Span { start: Position { line: 837, column: 45, }, end: Position { line: 837, column: 52, }, }, }, ), arguments: [ Identifier( Identifier { id: "def", span: Span { start: Position { line: 837, column: 53, }, end: Position { line: 837, column: 56, }, }, }, ), ], }, ), Identifier( Identifier { id: "prio", span: Span { start: Position { line: 837, column: 58, }, end: Position { line: 837, column: 62, }, }, }, ), ], }, ), span: Span { start: Position { line: 837, column: 35, }, end: Position { line: 837, column: 62, }, }, }, ), span: Span { start: Position { line: 837, column: 29, }, end: Position { line: 837, column: 62, }, }, }, ), Integer( Integer { value: "9999", span: Span { start: Position { line: 837, column: 64, }, end: Position { line: 837, column: 68, }, }, }, ), Identifier( Identifier { id: "defs", span: Span { start: Position { line: 837, column: 69, }, end: Position { line: 837, column: 73, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "strip", span: Span { start: Position { line: 838, column: 7, }, end: Position { line: 838, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 838, column: 23, }, end: Position { line: 838, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 838, column: 27, }, end: Position { line: 838, column: 32, }, }, }, ), Raw( PartRaw { content: "_type", span: Span { start: Position { line: 838, column: 33, }, end: Position { line: 838, column: 38, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 838, column: 42, }, end: Position { line: 838, column: 44, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "override", span: Span { start: Position { line: 838, column: 49, }, end: Position { line: 838, column: 57, }, }, }, ), ], span: Span { start: Position { line: 838, column: 48, }, end: Position { line: 838, column: 58, }, }, }, ), }, ), then: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "def", span: Span { start: Position { line: 838, column: 64, }, end: Position { line: 838, column: 67, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 838, column: 73, }, end: Position { line: 838, column: 78, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 838, column: 81, }, end: Position { line: 838, column: 84, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 838, column: 85, }, end: Position { line: 838, column: 90, }, }, }, ), Raw( PartRaw { content: "content", span: Span { start: Position { line: 838, column: 91, }, end: Position { line: 838, column: 98, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 838, column: 71, }, end: Position { line: 838, column: 101, }, }, }, ), }, ), else_: Identifier( Identifier { id: "def", span: Span { start: Position { line: 838, column: 107, }, end: Position { line: 838, column: 110, }, }, }, ), span: Span { start: Position { line: 838, column: 20, }, end: Position { line: 838, column: 110, }, }, }, ), span: Span { start: Position { line: 838, column: 15, }, end: Position { line: 838, column: 110, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "values", span: Span { start: Position { line: 840, column: 7, }, end: Position { line: 840, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMap", span: Span { start: Position { line: 840, column: 16, }, end: Position { line: 840, column: 25, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getPrio", span: Span { start: Position { line: 840, column: 35, }, end: Position { line: 840, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "def", span: Span { start: Position { line: 840, column: 43, }, end: Position { line: 840, column: 46, }, }, }, ), ], }, ), operator: EqualTo, right: Identifier( Identifier { id: "highestPrio", span: Span { start: Position { line: 840, column: 50, }, end: Position { line: 840, column: 61, }, }, }, ), }, ), then: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "strip", span: Span { start: Position { line: 840, column: 69, }, end: Position { line: 840, column: 74, }, }, }, ), arguments: [ Identifier( Identifier { id: "def", span: Span { start: Position { line: 840, column: 75, }, end: Position { line: 840, column: 78, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 840, column: 67, }, end: Position { line: 840, column: 80, }, }, }, ), else_: List( List { elements: [], span: Span { start: Position { line: 840, column: 86, }, end: Position { line: 840, column: 88, }, }, }, ), span: Span { start: Position { line: 840, column: 32, }, end: Position { line: 840, column: 88, }, }, }, ), span: Span { start: Position { line: 840, column: 27, }, end: Position { line: 840, column: 88, }, }, }, ), Identifier( Identifier { id: "defs", span: Span { start: Position { line: 840, column: 90, }, end: Position { line: 840, column: 94, }, }, }, ), ], }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "highestPrio", span: Span { start: Position { line: 841, column: 15, }, end: Position { line: 841, column: 26, }, }, }, ), ], span: Span { start: Position { line: 839, column: 9, }, end: Position { line: 841, column: 27, }, }, }, ), ], span: Span { start: Position { line: 839, column: 8, }, end: Position { line: 842, column: 6, }, }, }, ), span: Span { start: Position { line: 835, column: 5, }, end: Position { line: 842, column: 6, }, }, }, ), span: Span { start: Position { line: 834, column: 22, }, end: Position { line: 842, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sortProperties", span: Span { start: Position { line: 847, column: 3, }, end: Position { line: 847, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "defs", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "strip", span: Span { start: Position { line: 849, column: 7, }, end: Position { line: 849, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "def", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 850, column: 12, }, end: Position { line: 850, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 850, column: 16, }, end: Position { line: 850, column: 21, }, }, }, ), Raw( PartRaw { content: "_type", span: Span { start: Position { line: 850, column: 22, }, end: Position { line: 850, column: 27, }, }, }, ), ], default: Some( String( String_ { parts: [], span: Span { start: Position { line: 850, column: 31, }, end: Position { line: 850, column: 33, }, }, }, ), ), }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "order", span: Span { start: Position { line: 850, column: 38, }, end: Position { line: 850, column: 43, }, }, }, ), ], span: Span { start: Position { line: 850, column: 37, }, end: Position { line: 850, column: 44, }, }, }, ), }, ), then: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "def", span: Span { start: Position { line: 851, column: 14, }, end: Position { line: 851, column: 17, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 851, column: 23, }, end: Position { line: 851, column: 28, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 851, column: 31, }, end: Position { line: 851, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 851, column: 35, }, end: Position { line: 851, column: 40, }, }, }, ), Raw( PartRaw { content: "content", span: Span { start: Position { line: 851, column: 41, }, end: Position { line: 851, column: 48, }, }, }, ), ], default: None, }, ), }, ), Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "def", span: Span { start: Position { line: 851, column: 59, }, end: Position { line: 851, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 851, column: 63, }, end: Position { line: 851, column: 68, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "priority", span: Span { start: Position { line: 851, column: 70, }, end: Position { line: 851, column: 78, }, }, }, ), ], span: Span { start: Position { line: 851, column: 22, }, end: Position { line: 851, column: 79, }, }, }, ), ], span: Span { start: Position { line: 851, column: 21, }, end: Position { line: 851, column: 81, }, }, }, ), }, ), else_: Identifier( Identifier { id: "def", span: Span { start: Position { line: 852, column: 14, }, end: Position { line: 852, column: 17, }, }, }, ), span: Span { start: Position { line: 850, column: 9, }, end: Position { line: 852, column: 17, }, }, }, ), span: Span { start: Position { line: 849, column: 15, }, end: Position { line: 852, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defs'", span: Span { start: Position { line: 853, column: 7, }, end: Position { line: 853, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 853, column: 15, }, end: Position { line: 853, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "strip", span: Span { start: Position { line: 853, column: 19, }, end: Position { line: 853, column: 24, }, }, }, ), Identifier( Identifier { id: "defs", span: Span { start: Position { line: 853, column: 25, }, end: Position { line: 853, column: 29, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "compare", span: Span { start: Position { line: 854, column: 7, }, end: Position { line: 854, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "b", }, ), body: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "a", span: Span { start: Position { line: 854, column: 24, }, end: Position { line: 854, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "priority", span: Span { start: Position { line: 854, column: 26, }, end: Position { line: 854, column: 34, }, }, }, ), ], default: Some( Integer( Integer { value: "1000", span: Span { start: Position { line: 854, column: 38, }, end: Position { line: 854, column: 42, }, }, }, ), ), }, ), operator: LessThan, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "b", span: Span { start: Position { line: 854, column: 47, }, end: Position { line: 854, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "priority", span: Span { start: Position { line: 854, column: 49, }, end: Position { line: 854, column: 57, }, }, }, ), ], default: Some( Integer( Integer { value: "1000", span: Span { start: Position { line: 854, column: 61, }, end: Position { line: 854, column: 65, }, }, }, ), ), }, ), }, ), span: Span { start: Position { line: 854, column: 20, }, end: Position { line: 854, column: 66, }, }, }, ), span: Span { start: Position { line: 854, column: 17, }, end: Position { line: 854, column: 66, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "sort", span: Span { start: Position { line: 855, column: 8, }, end: Position { line: 855, column: 12, }, }, }, ), arguments: [ Identifier( Identifier { id: "compare", span: Span { start: Position { line: 855, column: 13, }, end: Position { line: 855, column: 20, }, }, }, ), Identifier( Identifier { id: "defs'", span: Span { start: Position { line: 855, column: 21, }, end: Position { line: 855, column: 26, }, }, }, ), ], }, ), span: Span { start: Position { line: 848, column: 5, }, end: Position { line: 855, column: 26, }, }, }, ), span: Span { start: Position { line: 847, column: 20, }, end: Position { line: 855, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fixupOptionType", span: Span { start: Position { line: 860, column: 3, }, end: Position { line: 860, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "loc", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "opt", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 861, column: 8, }, end: Position { line: 861, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 861, column: 12, }, end: Position { line: 861, column: 16, }, }, }, ), Raw( PartRaw { content: "getSubModules", span: Span { start: Position { line: 861, column: 17, }, end: Position { line: 861, column: 30, }, }, }, ), ], default: Some( Identifier( Identifier { id: "null", span: Span { start: Position { line: 861, column: 34, }, end: Position { line: 861, column: 38, }, }, }, ), ), }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 861, column: 42, }, end: Position { line: 861, column: 46, }, }, }, ), }, ), then: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 862, column: 10, }, end: Position { line: 862, column: 13, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 862, column: 19, }, end: Position { line: 862, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 862, column: 26, }, end: Position { line: 862, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 862, column: 30, }, end: Position { line: 862, column: 34, }, }, }, ), ], default: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 862, column: 38, }, end: Position { line: 862, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unspecified", span: Span { start: Position { line: 862, column: 44, }, end: Position { line: 862, column: 55, }, }, }, ), ], default: None, }, ), ), }, ), }, ), ], span: Span { start: Position { line: 862, column: 17, }, end: Position { line: 862, column: 58, }, }, }, ), }, ), else_: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 863, column: 10, }, end: Position { line: 863, column: 13, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 863, column: 19, }, end: Position { line: 863, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 863, column: 26, }, end: Position { line: 863, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 863, column: 30, }, end: Position { line: 863, column: 34, }, }, }, ), Raw( PartRaw { content: "substSubModules", span: Span { start: Position { line: 863, column: 35, }, end: Position { line: 863, column: 50, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 863, column: 51, }, end: Position { line: 863, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 863, column: 55, }, end: Position { line: 863, column: 62, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 863, column: 64, }, end: Position { line: 863, column: 71, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 863, column: 74, }, end: Position { line: 863, column: 76, }, }, }, ), }, ), ], span: Span { start: Position { line: 863, column: 17, }, end: Position { line: 863, column: 79, }, }, }, ), }, ), span: Span { start: Position { line: 861, column: 5, }, end: Position { line: 863, column: 79, }, }, }, ), span: Span { start: Position { line: 860, column: 26, }, end: Position { line: 863, column: 79, }, }, }, ), span: Span { start: Position { line: 860, column: 21, }, end: Position { line: 863, column: 79, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 868, column: 3, }, end: Position { line: 868, column: 7, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "condition", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "content", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 869, column: 7, }, end: Position { line: 869, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "if", span: Span { start: Position { line: 869, column: 16, }, end: Position { line: 869, column: 18, }, }, }, ), ], span: Span { start: Position { line: 869, column: 15, }, end: Position { line: 869, column: 19, }, }, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "condition", span: Span { start: Position { line: 870, column: 15, }, end: Position { line: 870, column: 24, }, }, }, ), Raw( PartRaw { content: "content", span: Span { start: Position { line: 870, column: 25, }, end: Position { line: 870, column: 32, }, }, }, ), ], span: Span { start: Position { line: 869, column: 6, }, end: Position { line: 870, column: 33, }, }, }, ), ], span: Span { start: Position { line: 869, column: 5, }, end: Position { line: 871, column: 6, }, }, }, ), span: Span { start: Position { line: 868, column: 21, }, end: Position { line: 871, column: 6, }, }, }, ), span: Span { start: Position { line: 868, column: 10, }, end: Position { line: 871, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkAssert", span: Span { start: Position { line: 873, column: 3, }, end: Position { line: 873, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "assertion", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "message", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "content", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 874, column: 5, }, end: Position { line: 874, column: 9, }, }, }, ), arguments: [ IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "assertion", span: Span { start: Position { line: 875, column: 11, }, end: Position { line: 875, column: 20, }, }, }, ), then: Identifier( Identifier { id: "true", span: Span { start: Position { line: 875, column: 26, }, end: Position { line: 875, column: 30, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 875, column: 36, }, end: Position { line: 875, column: 41, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\nFailed assertion: ", span: Span { start: Position { line: 875, column: 43, }, end: Position { line: 875, column: 73, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "message", span: Span { start: Position { line: 875, column: 65, }, end: Position { line: 875, column: 72, }, }, }, ), }, ), ], span: Span { start: Position { line: 875, column: 42, }, end: Position { line: 875, column: 74, }, }, }, ), ], }, ), span: Span { start: Position { line: 875, column: 8, }, end: Position { line: 875, column: 74, }, }, }, ), Identifier( Identifier { id: "content", span: Span { start: Position { line: 876, column: 7, }, end: Position { line: 876, column: 14, }, }, }, ), ], }, ), span: Span { start: Position { line: 873, column: 34, }, end: Position { line: 876, column: 14, }, }, }, ), span: Span { start: Position { line: 873, column: 25, }, end: Position { line: 876, column: 14, }, }, }, ), span: Span { start: Position { line: 873, column: 14, }, end: Position { line: 876, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkMerge", span: Span { start: Position { line: 878, column: 3, }, end: Position { line: 878, column: 10, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "contents", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 879, column: 7, }, end: Position { line: 879, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "merge", span: Span { start: Position { line: 879, column: 16, }, end: Position { line: 879, column: 21, }, }, }, ), ], span: Span { start: Position { line: 879, column: 15, }, end: Position { line: 879, column: 22, }, }, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "contents", span: Span { start: Position { line: 880, column: 15, }, end: Position { line: 880, column: 23, }, }, }, ), ], span: Span { start: Position { line: 879, column: 6, }, end: Position { line: 880, column: 24, }, }, }, ), ], span: Span { start: Position { line: 879, column: 5, }, end: Position { line: 881, column: 6, }, }, }, ), span: Span { start: Position { line: 878, column: 13, }, end: Position { line: 881, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkOverride", span: Span { start: Position { line: 883, column: 3, }, end: Position { line: 883, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "priority", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "content", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 884, column: 7, }, end: Position { line: 884, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "override", span: Span { start: Position { line: 884, column: 16, }, end: Position { line: 884, column: 24, }, }, }, ), ], span: Span { start: Position { line: 884, column: 15, }, end: Position { line: 884, column: 25, }, }, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "priority", span: Span { start: Position { line: 885, column: 15, }, end: Position { line: 885, column: 23, }, }, }, ), Raw( PartRaw { content: "content", span: Span { start: Position { line: 885, column: 24, }, end: Position { line: 885, column: 31, }, }, }, ), ], span: Span { start: Position { line: 884, column: 6, }, end: Position { line: 885, column: 32, }, }, }, ), ], span: Span { start: Position { line: 884, column: 5, }, end: Position { line: 886, column: 6, }, }, }, ), span: Span { start: Position { line: 883, column: 26, }, end: Position { line: 886, column: 6, }, }, }, ), span: Span { start: Position { line: 883, column: 16, }, end: Position { line: 886, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkOptionDefault", span: Span { start: Position { line: 888, column: 3, }, end: Position { line: 888, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 888, column: 21, }, end: Position { line: 888, column: 31, }, }, }, ), arguments: [ Integer( Integer { value: "1500", span: Span { start: Position { line: 888, column: 32, }, end: Position { line: 888, column: 36, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkDefault", span: Span { start: Position { line: 889, column: 3, }, end: Position { line: 889, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 889, column: 15, }, end: Position { line: 889, column: 25, }, }, }, ), arguments: [ Integer( Integer { value: "1000", span: Span { start: Position { line: 889, column: 26, }, end: Position { line: 889, column: 30, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkImageMediaOverride", span: Span { start: Position { line: 890, column: 3, }, end: Position { line: 890, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 890, column: 26, }, end: Position { line: 890, column: 36, }, }, }, ), arguments: [ Integer( Integer { value: "60", span: Span { start: Position { line: 890, column: 37, }, end: Position { line: 890, column: 39, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkForce", span: Span { start: Position { line: 891, column: 3, }, end: Position { line: 891, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 891, column: 13, }, end: Position { line: 891, column: 23, }, }, }, ), arguments: [ Integer( Integer { value: "50", span: Span { start: Position { line: 891, column: 24, }, end: Position { line: 891, column: 26, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkVMOverride", span: Span { start: Position { line: 892, column: 3, }, end: Position { line: 892, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 892, column: 18, }, end: Position { line: 892, column: 28, }, }, }, ), arguments: [ Integer( Integer { value: "10", span: Span { start: Position { line: 892, column: 29, }, end: Position { line: 892, column: 31, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkFixStrictness", span: Span { start: Position { line: 894, column: 3, }, end: Position { line: 894, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 894, column: 21, }, end: Position { line: 894, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 894, column: 25, }, end: Position { line: 894, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "lib.mkFixStrictness has no effect and will be removed. It returns its argument unmodified, so you can just remove any calls.", span: Span { start: Position { line: 894, column: 31, }, end: Position { line: 894, column: 155, }, }, }, ), ], span: Span { start: Position { line: 894, column: 30, }, end: Position { line: 894, column: 156, }, }, }, ), Identifier( Identifier { id: "id", span: Span { start: Position { line: 894, column: 157, }, end: Position { line: 894, column: 159, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkOrder", span: Span { start: Position { line: 896, column: 3, }, end: Position { line: 896, column: 10, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "priority", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "content", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_type", span: Span { start: Position { line: 897, column: 7, }, end: Position { line: 897, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "order", span: Span { start: Position { line: 897, column: 16, }, end: Position { line: 897, column: 21, }, }, }, ), ], span: Span { start: Position { line: 897, column: 15, }, end: Position { line: 897, column: 22, }, }, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "priority", span: Span { start: Position { line: 898, column: 15, }, end: Position { line: 898, column: 23, }, }, }, ), Raw( PartRaw { content: "content", span: Span { start: Position { line: 898, column: 24, }, end: Position { line: 898, column: 31, }, }, }, ), ], span: Span { start: Position { line: 897, column: 6, }, end: Position { line: 898, column: 32, }, }, }, ), ], span: Span { start: Position { line: 897, column: 5, }, end: Position { line: 899, column: 6, }, }, }, ), span: Span { start: Position { line: 896, column: 23, }, end: Position { line: 899, column: 6, }, }, }, ), span: Span { start: Position { line: 896, column: 13, }, end: Position { line: 899, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkBefore", span: Span { start: Position { line: 901, column: 3, }, end: Position { line: 901, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOrder", span: Span { start: Position { line: 901, column: 14, }, end: Position { line: 901, column: 21, }, }, }, ), arguments: [ Integer( Integer { value: "500", span: Span { start: Position { line: 901, column: 22, }, end: Position { line: 901, column: 25, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkAfter", span: Span { start: Position { line: 902, column: 3, }, end: Position { line: 902, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOrder", span: Span { start: Position { line: 902, column: 13, }, end: Position { line: 902, column: 20, }, }, }, ), arguments: [ Integer( Integer { value: "1500", span: Span { start: Position { line: 902, column: 21, }, end: Position { line: 902, column: 25, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultPriority", span: Span { start: Position { line: 905, column: 3, }, end: Position { line: 905, column: 18, }, }, }, ), ], to: Integer( Integer { value: "100", span: Span { start: Position { line: 905, column: 21, }, end: Position { line: 905, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkAliasDefinitions", span: Span { start: Position { line: 926, column: 3, }, end: Position { line: 926, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkAliasAndWrapDefinitions", span: Span { start: Position { line: 926, column: 24, }, end: Position { line: 926, column: 49, }, }, }, ), arguments: [ Identifier( Identifier { id: "id", span: Span { start: Position { line: 926, column: 50, }, end: Position { line: 926, column: 52, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkAliasAndWrapDefinitions", span: Span { start: Position { line: 927, column: 3, }, end: Position { line: 927, column: 28, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "wrap", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "option", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkAliasIfDef", span: Span { start: Position { line: 928, column: 5, }, end: Position { line: 928, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "option", span: Span { start: Position { line: 928, column: 18, }, end: Position { line: 928, column: 24, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "wrap", span: Span { start: Position { line: 928, column: 26, }, end: Position { line: 928, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 928, column: 32, }, end: Position { line: 928, column: 39, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "option", span: Span { start: Position { line: 928, column: 40, }, end: Position { line: 928, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "definitions", span: Span { start: Position { line: 928, column: 47, }, end: Position { line: 928, column: 58, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 927, column: 37, }, end: Position { line: 928, column: 60, }, }, }, ), span: Span { start: Position { line: 927, column: 31, }, end: Position { line: 928, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkAliasAndWrapDefsWithPriority", span: Span { start: Position { line: 934, column: 3, }, end: Position { line: 934, column: 33, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "wrap", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "option", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prio", span: Span { start: Position { line: 936, column: 7, }, end: Position { line: 936, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "option", span: Span { start: Position { line: 936, column: 14, }, end: Position { line: 936, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "highestPrio", span: Span { start: Position { line: 936, column: 21, }, end: Position { line: 936, column: 32, }, }, }, ), ], default: Some( Identifier( Identifier { id: "defaultPriority", span: Span { start: Position { line: 936, column: 36, }, end: Position { line: 936, column: 51, }, }, }, ), ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defsWithPrio", span: Span { start: Position { line: 937, column: 7, }, end: Position { line: 937, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 937, column: 22, }, end: Position { line: 937, column: 25, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 937, column: 27, }, end: Position { line: 937, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "prio", span: Span { start: Position { line: 937, column: 38, }, end: Position { line: 937, column: 42, }, }, }, ), ], }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "option", span: Span { start: Position { line: 937, column: 44, }, end: Position { line: 937, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "definitions", span: Span { start: Position { line: 937, column: 51, }, end: Position { line: 937, column: 62, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkAliasIfDef", span: Span { start: Position { line: 938, column: 8, }, end: Position { line: 938, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "option", span: Span { start: Position { line: 938, column: 21, }, end: Position { line: 938, column: 27, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "wrap", span: Span { start: Position { line: 938, column: 29, }, end: Position { line: 938, column: 33, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 938, column: 35, }, end: Position { line: 938, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "defsWithPrio", span: Span { start: Position { line: 938, column: 43, }, end: Position { line: 938, column: 55, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 935, column: 5, }, end: Position { line: 938, column: 57, }, }, }, ), span: Span { start: Position { line: 934, column: 42, }, end: Position { line: 938, column: 57, }, }, }, ), span: Span { start: Position { line: 934, column: 36, }, end: Position { line: 938, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkAliasIfDef", span: Span { start: Position { line: 940, column: 3, }, end: Position { line: 940, column: 15, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "option", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 941, column: 5, }, end: Position { line: 941, column: 9, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isOption", span: Span { start: Position { line: 941, column: 11, }, end: Position { line: 941, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "option", span: Span { start: Position { line: 941, column: 20, }, end: Position { line: 941, column: 26, }, }, }, ), ], }, ), operator: LogicalAnd, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "option", span: Span { start: Position { line: 941, column: 30, }, end: Position { line: 941, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isDefined", span: Span { start: Position { line: 941, column: 37, }, end: Position { line: 941, column: 46, }, }, }, ), ], default: None, }, ), }, ), ], }, ), span: Span { start: Position { line: 940, column: 18, }, end: Position { line: 941, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fixMergeModules", span: Span { start: Position { line: 944, column: 3, }, end: Position { line: 944, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "modules", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "args", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "evalModules", span: Span { start: Position { line: 944, column: 36, }, end: Position { line: 944, column: 47, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 944, column: 58, }, end: Position { line: 944, column: 65, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 944, column: 66, }, end: Position { line: 944, column: 70, }, }, }, ), ], span: Span { start: Position { line: 944, column: 49, }, end: Position { line: 944, column: 71, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "check", span: Span { start: Position { line: 944, column: 72, }, end: Position { line: 944, column: 77, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 944, column: 80, }, end: Position { line: 944, column: 85, }, }, }, ), }, ), ], span: Span { start: Position { line: 944, column: 48, }, end: Position { line: 944, column: 88, }, }, }, ), ], }, ), span: Span { start: Position { line: 944, column: 30, }, end: Position { line: 944, column: 88, }, }, }, ), span: Span { start: Position { line: 944, column: 21, }, end: Position { line: 944, column: 88, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkRemovedOptionModule", span: Span { start: Position { line: 959, column: 3, }, end: Position { line: 959, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "optionName", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "replacementInstructions", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "options", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 961, column: 7, }, end: Position { line: 961, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttrByPath", span: Span { start: Position { line: 961, column: 17, }, end: Position { line: 961, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "optionName", span: Span { start: Position { line: 961, column: 31, }, end: Position { line: 961, column: 41, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 961, column: 43, }, end: Position { line: 961, column: 51, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "visible", span: Span { start: Position { line: 962, column: 9, }, end: Position { line: 962, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 962, column: 19, }, end: Position { line: 962, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 963, column: 9, }, end: Position { line: 963, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 963, column: 20, }, end: Position { line: 963, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 963, column: 27, }, end: Position { line: 963, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 963, column: 41, }, end: Position { line: 963, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "optionName", span: Span { start: Position { line: 963, column: 52, }, end: Position { line: 963, column: 62, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' can no longer be used since it's been removed. ", span: Span { start: Position { line: 963, column: 27, }, end: Position { line: 963, column: 112, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "replacementInstructions", span: Span { start: Position { line: 963, column: 114, }, end: Position { line: 963, column: 137, }, }, }, ), }, ), ], span: Span { start: Position { line: 963, column: 26, }, end: Position { line: 963, column: 139, }, }, }, ), ], }, ), span: Span { start: Position { line: 963, column: 17, }, end: Position { line: 963, column: 139, }, }, }, ), }, ), ], span: Span { start: Position { line: 961, column: 52, }, end: Position { line: 964, column: 8, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 965, column: 7, }, end: Position { line: 965, column: 13, }, }, }, ), Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 965, column: 14, }, end: Position { line: 965, column: 24, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 966, column: 13, }, end: Position { line: 966, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getAttrFromPath", span: Span { start: Position { line: 966, column: 19, }, end: Position { line: 966, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "optionName", span: Span { start: Position { line: 966, column: 35, }, end: Position { line: 966, column: 45, }, }, }, ), Identifier( Identifier { id: "options", span: Span { start: Position { line: 966, column: 46, }, end: Position { line: 966, column: 53, }, }, }, ), ], }, ), }, ), ], target: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 967, column: 11, }, end: Position { line: 967, column: 20, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 967, column: 24, }, end: Position { line: 967, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isDefined", span: Span { start: Position { line: 967, column: 28, }, end: Position { line: 967, column: 37, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 967, column: 23, }, end: Position { line: 967, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 968, column: 11, }, end: Position { line: 968, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The option definition `", span: Span { start: Position { line: 969, column: 1, }, end: Position { line: 969, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 969, column: 38, }, end: Position { line: 969, column: 48, }, }, }, ), arguments: [ Identifier( Identifier { id: "optionName", span: Span { start: Position { line: 969, column: 49, }, end: Position { line: 969, column: 59, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' in ", span: Span { start: Position { line: 969, column: 1, }, end: Position { line: 969, column: 65, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showFiles", span: Span { start: Position { line: 969, column: 67, }, end: Position { line: 969, column: 76, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 969, column: 77, }, end: Position { line: 969, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "files", span: Span { start: Position { line: 969, column: 81, }, end: Position { line: 969, column: 86, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " no longer has any effect; please remove it.\n", span: Span { start: Position { line: 969, column: 1, }, end: Position { line: 970, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "replacementInstructions", span: Span { start: Position { line: 970, column: 15, }, end: Position { line: 970, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 969, column: 1, }, end: Position { line: 971, column: 11, }, }, }, ), ], span: Span { start: Position { line: 968, column: 21, }, end: Position { line: 971, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 966, column: 59, }, end: Position { line: 972, column: 10, }, }, }, ), ], span: Span { start: Position { line: 966, column: 58, }, end: Position { line: 972, column: 11, }, }, }, ), span: Span { start: Position { line: 966, column: 9, }, end: Position { line: 972, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 961, column: 5, }, end: Position { line: 973, column: 6, }, }, }, ), span: Span { start: Position { line: 960, column: 5, }, end: Position { line: 973, column: 6, }, }, }, ), span: Span { start: Position { line: 959, column: 39, }, end: Position { line: 973, column: 6, }, }, }, ), span: Span { start: Position { line: 959, column: 27, }, end: Position { line: 973, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkRenamedOptionModule", span: Span { start: Position { line: 988, column: 3, }, end: Position { line: 988, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "from", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "to", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "doRename", span: Span { start: Position { line: 988, column: 37, }, end: Position { line: 988, column: 45, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "from", span: Span { start: Position { line: 989, column: 13, }, end: Position { line: 989, column: 17, }, }, }, ), Raw( PartRaw { content: "to", span: Span { start: Position { line: 989, column: 18, }, end: Position { line: 989, column: 20, }, }, }, ), ], span: Span { start: Position { line: 988, column: 47, }, end: Position { line: 989, column: 21, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "visible", span: Span { start: Position { line: 990, column: 5, }, end: Position { line: 990, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 990, column: 15, }, end: Position { line: 990, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 991, column: 5, }, end: Position { line: 991, column: 9, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 991, column: 12, }, end: Position { line: 991, column: 16, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "use", span: Span { start: Position { line: 992, column: 5, }, end: Position { line: 992, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 992, column: 11, }, end: Position { line: 992, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "trace", span: Span { start: Position { line: 992, column: 20, }, end: Position { line: 992, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Obsolete option `", span: Span { start: Position { line: 992, column: 27, }, end: Position { line: 992, column: 62, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 992, column: 46, }, end: Position { line: 992, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "from", span: Span { start: Position { line: 992, column: 57, }, end: Position { line: 992, column: 61, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' is used. It was renamed to `", span: Span { start: Position { line: 992, column: 27, }, end: Position { line: 992, column: 92, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 992, column: 94, }, end: Position { line: 992, column: 104, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 992, column: 105, }, end: Position { line: 992, column: 107, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "'.", span: Span { start: Position { line: 992, column: 27, }, end: Position { line: 992, column: 110, }, }, }, ), ], span: Span { start: Position { line: 992, column: 26, }, end: Position { line: 992, column: 111, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 988, column: 46, }, end: Position { line: 993, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 988, column: 33, }, end: Position { line: 993, column: 4, }, }, }, ), span: Span { start: Position { line: 988, column: 27, }, end: Position { line: 993, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkRenamedOptionModuleWith", span: Span { start: Position { line: 995, column: 3, }, end: Position { line: 995, column: 28, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "from", default: None, }, FunctionHeadDestructuredArgument { identifier: "to", default: None, }, FunctionHeadDestructuredArgument { identifier: "sinceRelease", default: None, }, ], }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "doRename", span: Span { start: Position { line: 1007, column: 6, }, end: Position { line: 1007, column: 14, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "from", span: Span { start: Position { line: 1008, column: 13, }, end: Position { line: 1008, column: 17, }, }, }, ), Raw( PartRaw { content: "to", span: Span { start: Position { line: 1008, column: 18, }, end: Position { line: 1008, column: 20, }, }, }, ), ], span: Span { start: Position { line: 1007, column: 16, }, end: Position { line: 1008, column: 21, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "visible", span: Span { start: Position { line: 1009, column: 5, }, end: Position { line: 1009, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 1009, column: 15, }, end: Position { line: 1009, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 1010, column: 5, }, end: Position { line: 1010, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 1010, column: 12, }, end: Position { line: 1010, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isInOldestRelease", span: Span { start: Position { line: 1010, column: 16, }, end: Position { line: 1010, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "sinceRelease", span: Span { start: Position { line: 1010, column: 34, }, end: Position { line: 1010, column: 46, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "use", span: Span { start: Position { line: 1011, column: 5, }, end: Position { line: 1011, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 1011, column: 11, }, end: Position { line: 1011, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "warnIf", span: Span { start: Position { line: 1011, column: 15, }, end: Position { line: 1011, column: 21, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 1011, column: 23, }, end: Position { line: 1011, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isInOldestRelease", span: Span { start: Position { line: 1011, column: 27, }, end: Position { line: 1011, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "sinceRelease", span: Span { start: Position { line: 1011, column: 45, }, end: Position { line: 1011, column: 57, }, }, }, ), ], }, ), String( String_ { parts: [ Raw( PartRaw { content: "Obsolete option `", span: Span { start: Position { line: 1012, column: 8, }, end: Position { line: 1012, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1012, column: 27, }, end: Position { line: 1012, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "from", span: Span { start: Position { line: 1012, column: 38, }, end: Position { line: 1012, column: 42, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' is used. It was renamed to `", span: Span { start: Position { line: 1012, column: 8, }, end: Position { line: 1012, column: 73, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1012, column: 75, }, end: Position { line: 1012, column: 85, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1012, column: 86, }, end: Position { line: 1012, column: 88, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "'.", span: Span { start: Position { line: 1012, column: 8, }, end: Position { line: 1012, column: 91, }, }, }, ), ], span: Span { start: Position { line: 1012, column: 7, }, end: Position { line: 1012, column: 92, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 1007, column: 15, }, end: Position { line: 1013, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 995, column: 31, }, end: Position { line: 1013, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkMergedOptionModule", span: Span { start: Position { line: 1043, column: 3, }, end: Position { line: 1043, column: 23, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "from", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "to", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "mergeFn", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 1046, column: 7, }, end: Position { line: 1046, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldl'", span: Span { start: Position { line: 1046, column: 17, }, end: Position { line: 1046, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "recursiveUpdate", span: Span { start: Position { line: 1046, column: 24, }, end: Position { line: 1046, column: 39, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 1046, column: 40, }, end: Position { line: 1046, column: 42, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 1046, column: 44, }, end: Position { line: 1046, column: 47, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "path", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttrByPath", span: Span { start: Position { line: 1046, column: 55, }, end: Position { line: 1046, column: 68, }, }, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 1046, column: 69, }, end: Position { line: 1046, column: 73, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 1046, column: 75, }, end: Position { line: 1046, column: 83, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "visible", span: Span { start: Position { line: 1047, column: 9, }, end: Position { line: 1047, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 1047, column: 19, }, end: Position { line: 1047, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 1049, column: 9, }, end: Position { line: 1049, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "_mkMergedOptionModule", span: Span { start: Position { line: 1049, column: 20, }, end: Position { line: 1049, column: 41, }, }, }, ), ], span: Span { start: Position { line: 1049, column: 19, }, end: Position { line: 1049, column: 42, }, }, }, ), }, ), ], span: Span { start: Position { line: 1046, column: 84, }, end: Position { line: 1050, column: 8, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 1046, column: 49, }, end: Position { line: 1050, column: 9, }, }, }, ), Identifier( Identifier { id: "from", span: Span { start: Position { line: 1050, column: 11, }, end: Position { line: 1050, column: 15, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 1052, column: 7, }, end: Position { line: 1052, column: 13, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warnings", span: Span { start: Position { line: 1053, column: 9, }, end: Position { line: 1053, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 1053, column: 20, }, end: Position { line: 1053, column: 26, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "x", span: Span { start: Position { line: 1053, column: 31, }, end: Position { line: 1053, column: 32, }, }, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 1053, column: 36, }, end: Position { line: 1053, column: 38, }, }, }, ), }, ), span: Span { start: Position { line: 1053, column: 28, }, end: Position { line: 1053, column: 38, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 1053, column: 41, }, end: Position { line: 1053, column: 44, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "val", span: Span { start: Position { line: 1054, column: 15, }, end: Position { line: 1054, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getAttrFromPath", span: Span { start: Position { line: 1054, column: 21, }, end: Position { line: 1054, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 1054, column: 37, }, end: Position { line: 1054, column: 38, }, }, }, ), Identifier( Identifier { id: "config", span: Span { start: Position { line: 1054, column: 39, }, end: Position { line: 1054, column: 45, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 1055, column: 15, }, end: Position { line: 1055, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getAttrFromPath", span: Span { start: Position { line: 1055, column: 21, }, end: Position { line: 1055, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 1055, column: 37, }, end: Position { line: 1055, column: 38, }, }, }, ), Identifier( Identifier { id: "options", span: Span { start: Position { line: 1055, column: 39, }, end: Position { line: 1055, column: 46, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 1057, column: 11, }, end: Position { line: 1057, column: 25, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "val", span: Span { start: Position { line: 1058, column: 14, }, end: Position { line: 1058, column: 17, }, }, }, ), operator: NotEqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "_mkMergedOptionModule", span: Span { start: Position { line: 1058, column: 22, }, end: Position { line: 1058, column: 43, }, }, }, ), ], span: Span { start: Position { line: 1058, column: 21, }, end: Position { line: 1058, column: 44, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 1059, column: 14, }, end: Position { line: 1059, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1059, column: 28, }, end: Position { line: 1059, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 1059, column: 39, }, end: Position { line: 1059, column: 40, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' defined in ", span: Span { start: Position { line: 1059, column: 14, }, end: Position { line: 1059, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showFiles", span: Span { start: Position { line: 1059, column: 56, }, end: Position { line: 1059, column: 65, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 1059, column: 66, }, end: Position { line: 1059, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "files", span: Span { start: Position { line: 1059, column: 70, }, end: Position { line: 1059, column: 75, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " has been changed to `", span: Span { start: Position { line: 1059, column: 14, }, end: Position { line: 1059, column: 98, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1059, column: 100, }, end: Position { line: 1059, column: 110, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1059, column: 111, }, end: Position { line: 1059, column: 113, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' that has a different type. Please read `", span: Span { start: Position { line: 1059, column: 14, }, end: Position { line: 1059, column: 156, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1059, column: 158, }, end: Position { line: 1059, column: 168, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1059, column: 169, }, end: Position { line: 1059, column: 171, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' documentation and update your configuration accordingly.", span: Span { start: Position { line: 1059, column: 14, }, end: Position { line: 1059, column: 230, }, }, }, ), ], span: Span { start: Position { line: 1059, column: 13, }, end: Position { line: 1059, column: 231, }, }, }, ), ], }, ), span: Span { start: Position { line: 1054, column: 11, }, end: Position { line: 1059, column: 231, }, }, }, ), span: Span { start: Position { line: 1053, column: 46, }, end: Position { line: 1059, column: 231, }, }, }, ), Identifier( Identifier { id: "from", span: Span { start: Position { line: 1060, column: 11, }, end: Position { line: 1060, column: 15, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 1052, column: 16, }, end: Position { line: 1061, column: 8, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttrByPath", span: Span { start: Position { line: 1061, column: 12, }, end: Position { line: 1061, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1061, column: 26, }, end: Position { line: 1061, column: 28, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 1061, column: 30, }, end: Position { line: 1061, column: 37, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 1062, column: 15, }, end: Position { line: 1062, column: 23, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "any", span: Span { start: Position { line: 1063, column: 17, }, end: Position { line: 1063, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getAttrFromPath", span: Span { start: Position { line: 1063, column: 26, }, end: Position { line: 1063, column: 41, }, }, }, ), arguments: [ Identifier( Identifier { id: "f", span: Span { start: Position { line: 1063, column: 42, }, end: Position { line: 1063, column: 43, }, }, }, ), Identifier( Identifier { id: "config", span: Span { start: Position { line: 1063, column: 44, }, end: Position { line: 1063, column: 50, }, }, }, ), ], }, ), operator: NotEqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "_mkMergedOptionModule", span: Span { start: Position { line: 1063, column: 56, }, end: Position { line: 1063, column: 77, }, }, }, ), ], span: Span { start: Position { line: 1063, column: 55, }, end: Position { line: 1063, column: 78, }, }, }, ), }, ), span: Span { start: Position { line: 1063, column: 22, }, end: Position { line: 1063, column: 78, }, }, }, ), Identifier( Identifier { id: "from", span: Span { start: Position { line: 1063, column: 80, }, end: Position { line: 1063, column: 84, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mergeFn", span: Span { start: Position { line: 1064, column: 17, }, end: Position { line: 1064, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "config", span: Span { start: Position { line: 1064, column: 25, }, end: Position { line: 1064, column: 31, }, }, }, ), ], }, ), ], }, ), ], }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 1045, column: 5, }, end: Position { line: 1065, column: 6, }, }, }, ), span: Span { start: Position { line: 1044, column: 5, }, end: Position { line: 1065, column: 6, }, }, }, ), span: Span { start: Position { line: 1043, column: 36, }, end: Position { line: 1065, column: 6, }, }, }, ), span: Span { start: Position { line: 1043, column: 32, }, end: Position { line: 1065, column: 6, }, }, }, ), span: Span { start: Position { line: 1043, column: 26, }, end: Position { line: 1065, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkChangedOptionModule", span: Span { start: Position { line: 1090, column: 3, }, end: Position { line: 1090, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "from", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "to", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "changeFn", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMergedOptionModule", span: Span { start: Position { line: 1091, column: 5, }, end: Position { line: 1091, column: 25, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "from", span: Span { start: Position { line: 1091, column: 28, }, end: Position { line: 1091, column: 32, }, }, }, ), ], span: Span { start: Position { line: 1091, column: 26, }, end: Position { line: 1091, column: 34, }, }, }, ), Identifier( Identifier { id: "to", span: Span { start: Position { line: 1091, column: 35, }, end: Position { line: 1091, column: 37, }, }, }, ), Identifier( Identifier { id: "changeFn", span: Span { start: Position { line: 1091, column: 38, }, end: Position { line: 1091, column: 46, }, }, }, ), ], }, ), span: Span { start: Position { line: 1090, column: 37, }, end: Position { line: 1091, column: 46, }, }, }, ), span: Span { start: Position { line: 1090, column: 33, }, end: Position { line: 1091, column: 46, }, }, }, ), span: Span { start: Position { line: 1090, column: 27, }, end: Position { line: 1091, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkAliasOptionModule", span: Span { start: Position { line: 1094, column: 3, }, end: Position { line: 1094, column: 22, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "from", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "to", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "doRename", span: Span { start: Position { line: 1094, column: 35, }, end: Position { line: 1094, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "from", span: Span { start: Position { line: 1095, column: 13, }, end: Position { line: 1095, column: 17, }, }, }, ), Raw( PartRaw { content: "to", span: Span { start: Position { line: 1095, column: 18, }, end: Position { line: 1095, column: 20, }, }, }, ), ], span: Span { start: Position { line: 1094, column: 45, }, end: Position { line: 1095, column: 21, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "visible", span: Span { start: Position { line: 1096, column: 5, }, end: Position { line: 1096, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 1096, column: 15, }, end: Position { line: 1096, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 1097, column: 5, }, end: Position { line: 1097, column: 9, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 1097, column: 12, }, end: Position { line: 1097, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "use", span: Span { start: Position { line: 1098, column: 5, }, end: Position { line: 1098, column: 8, }, }, }, ), ], to: Identifier( Identifier { id: "id", span: Span { start: Position { line: 1098, column: 11, }, end: Position { line: 1098, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 1094, column: 44, }, end: Position { line: 1099, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 1094, column: 31, }, end: Position { line: 1099, column: 4, }, }, }, ), span: Span { start: Position { line: 1094, column: 25, }, end: Position { line: 1099, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkDerivedConfig", span: Span { start: Position { line: 1116, column: 3, }, end: Position { line: 1116, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "opt", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "f", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 1117, column: 5, }, end: Position { line: 1117, column: 15, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 1118, column: 8, }, end: Position { line: 1118, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "highestPrio", span: Span { start: Position { line: 1118, column: 12, }, end: Position { line: 1118, column: 23, }, }, }, ), ], default: Some( Identifier( Identifier { id: "defaultPriority", span: Span { start: Position { line: 1118, column: 27, }, end: Position { line: 1118, column: 42, }, }, }, ), ), }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "f", span: Span { start: Position { line: 1119, column: 8, }, end: Position { line: 1119, column: 9, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 1119, column: 10, }, end: Position { line: 1119, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 1119, column: 14, }, end: Position { line: 1119, column: 19, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 1116, column: 26, }, end: Position { line: 1119, column: 20, }, }, }, ), span: Span { start: Position { line: 1116, column: 21, }, end: Position { line: 1119, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "doRename", span: Span { start: Position { line: 1121, column: 3, }, end: Position { line: 1121, column: 11, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "from", default: None, }, FunctionHeadDestructuredArgument { identifier: "to", default: None, }, FunctionHeadDestructuredArgument { identifier: "visible", default: None, }, FunctionHeadDestructuredArgument { identifier: "warn", default: None, }, FunctionHeadDestructuredArgument { identifier: "use", default: None, }, FunctionHeadDestructuredArgument { identifier: "withPriority", default: Some( Identifier( Identifier { id: "true", span: Span { start: Position { line: 1121, column: 61, }, end: Position { line: 1121, column: 65, }, }, }, ), ), }, ], }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fromOpt", span: Span { start: Position { line: 1124, column: 7, }, end: Position { line: 1124, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getAttrFromPath", span: Span { start: Position { line: 1124, column: 17, }, end: Position { line: 1124, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "from", span: Span { start: Position { line: 1124, column: 33, }, end: Position { line: 1124, column: 37, }, }, }, ), Identifier( Identifier { id: "options", span: Span { start: Position { line: 1124, column: 38, }, end: Position { line: 1124, column: 45, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toOf", span: Span { start: Position { line: 1125, column: 7, }, end: Position { line: 1125, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrByPath", span: Span { start: Position { line: 1125, column: 14, }, end: Position { line: 1125, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1125, column: 25, }, end: Position { line: 1125, column: 27, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "abort", span: Span { start: Position { line: 1126, column: 10, }, end: Position { line: 1126, column: 15, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Renaming error: option `", span: Span { start: Position { line: 1126, column: 17, }, end: Position { line: 1126, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1126, column: 43, }, end: Position { line: 1126, column: 53, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1126, column: 54, }, end: Position { line: 1126, column: 56, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' does not exist.", span: Span { start: Position { line: 1126, column: 17, }, end: Position { line: 1126, column: 74, }, }, }, ), ], span: Span { start: Position { line: 1126, column: 16, }, end: Position { line: 1126, column: 75, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toType", span: Span { start: Position { line: 1127, column: 7, }, end: Position { line: 1127, column: 13, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 1127, column: 20, }, end: Position { line: 1127, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrByPath", span: Span { start: Position { line: 1127, column: 26, }, end: Position { line: 1127, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1127, column: 37, }, end: Position { line: 1127, column: 39, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 1127, column: 40, }, end: Position { line: 1127, column: 42, }, }, }, ), Identifier( Identifier { id: "options", span: Span { start: Position { line: 1127, column: 43, }, end: Position { line: 1127, column: 50, }, }, }, ), ], }, ), }, ), ], target: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 1127, column: 55, }, end: Position { line: 1127, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 1127, column: 59, }, end: Position { line: 1127, column: 63, }, }, }, ), ], default: Some( FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 1127, column: 68, }, end: Position { line: 1127, column: 73, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 1127, column: 74, }, end: Position { line: 1127, column: 83, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 1127, column: 84, }, end: Position { line: 1127, column: 86, }, }, }, ), ], }, ), ), }, ), span: Span { start: Position { line: 1127, column: 16, }, end: Position { line: 1127, column: 87, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 1130, column: 7, }, end: Position { line: 1130, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttrByPath", span: Span { start: Position { line: 1130, column: 17, }, end: Position { line: 1130, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "from", span: Span { start: Position { line: 1130, column: 31, }, end: Position { line: 1130, column: 35, }, }, }, ), BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 1130, column: 37, }, end: Position { line: 1130, column: 45, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "visible", span: Span { start: Position { line: 1131, column: 17, }, end: Position { line: 1131, column: 24, }, }, }, ), ], span: Span { start: Position { line: 1130, column: 47, }, end: Position { line: 1131, column: 25, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 1132, column: 9, }, end: Position { line: 1132, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 1132, column: 23, }, end: Position { line: 1132, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 1132, column: 27, }, end: Position { line: 1132, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Alias of {option}`", span: Span { start: Position { line: 1132, column: 34, }, end: Position { line: 1132, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1132, column: 54, }, end: Position { line: 1132, column: 64, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1132, column: 65, }, end: Position { line: 1132, column: 67, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "`.", span: Span { start: Position { line: 1132, column: 34, }, end: Position { line: 1132, column: 70, }, }, }, ), ], span: Span { start: Position { line: 1132, column: 33, }, end: Position { line: 1132, column: 71, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 1133, column: 9, }, end: Position { line: 1133, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "use", span: Span { start: Position { line: 1133, column: 20, }, end: Position { line: 1133, column: 23, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toOf", span: Span { start: Position { line: 1133, column: 25, }, end: Position { line: 1133, column: 29, }, }, }, ), arguments: [ Identifier( Identifier { id: "config", span: Span { start: Position { line: 1133, column: 30, }, end: Position { line: 1133, column: 36, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 1133, column: 17, }, end: Position { line: 1133, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 1130, column: 46, }, end: Position { line: 1134, column: 8, }, }, }, ), ], }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 1134, column: 12, }, end: Position { line: 1134, column: 25, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "toType", span: Span { start: Position { line: 1134, column: 27, }, end: Position { line: 1134, column: 33, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 1134, column: 37, }, end: Position { line: 1134, column: 41, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 1135, column: 9, }, end: Position { line: 1135, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "toType", span: Span { start: Position { line: 1135, column: 16, }, end: Position { line: 1135, column: 22, }, }, }, ), }, ), ], span: Span { start: Position { line: 1134, column: 43, }, end: Position { line: 1136, column: 8, }, }, }, ), ], }, ), }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 1137, column: 7, }, end: Position { line: 1137, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 1137, column: 16, }, end: Position { line: 1137, column: 23, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warnings", span: Span { start: Position { line: 1139, column: 11, }, end: Position { line: 1139, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 1139, column: 22, }, end: Position { line: 1139, column: 30, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "warn", span: Span { start: Position { line: 1139, column: 32, }, end: Position { line: 1139, column: 36, }, }, }, ), operator: LogicalAnd, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "fromOpt", span: Span { start: Position { line: 1139, column: 40, }, end: Position { line: 1139, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isDefined", span: Span { start: Position { line: 1139, column: 48, }, end: Position { line: 1139, column: 57, }, }, }, ), ], default: None, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 1140, column: 14, }, end: Position { line: 1140, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1140, column: 28, }, end: Position { line: 1140, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "from", span: Span { start: Position { line: 1140, column: 39, }, end: Position { line: 1140, column: 43, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' defined in ", span: Span { start: Position { line: 1140, column: 14, }, end: Position { line: 1140, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showFiles", span: Span { start: Position { line: 1140, column: 59, }, end: Position { line: 1140, column: 68, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "fromOpt", span: Span { start: Position { line: 1140, column: 69, }, end: Position { line: 1140, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "files", span: Span { start: Position { line: 1140, column: 77, }, end: Position { line: 1140, column: 82, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " has been renamed to `", span: Span { start: Position { line: 1140, column: 14, }, end: Position { line: 1140, column: 105, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "showOption", span: Span { start: Position { line: 1140, column: 107, }, end: Position { line: 1140, column: 117, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1140, column: 118, }, end: Position { line: 1140, column: 120, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "'.", span: Span { start: Position { line: 1140, column: 14, }, end: Position { line: 1140, column: 123, }, }, }, ), ], span: Span { start: Position { line: 1140, column: 13, }, end: Position { line: 1140, column: 124, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 1138, column: 9, }, end: Position { line: 1141, column: 10, }, }, }, ), IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "withPriority", span: Span { start: Position { line: 1142, column: 13, }, end: Position { line: 1142, column: 25, }, }, }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkAliasAndWrapDefsWithPriority", span: Span { start: Position { line: 1143, column: 16, }, end: Position { line: 1143, column: 46, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttrByPath", span: Span { start: Position { line: 1143, column: 48, }, end: Position { line: 1143, column: 61, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1143, column: 62, }, end: Position { line: 1143, column: 64, }, }, }, ), ], }, ), Identifier( Identifier { id: "fromOpt", span: Span { start: Position { line: 1143, column: 66, }, end: Position { line: 1143, column: 73, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkAliasAndWrapDefinitions", span: Span { start: Position { line: 1144, column: 16, }, end: Position { line: 1144, column: 41, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "setAttrByPath", span: Span { start: Position { line: 1144, column: 43, }, end: Position { line: 1144, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "to", span: Span { start: Position { line: 1144, column: 57, }, end: Position { line: 1144, column: 59, }, }, }, ), ], }, ), Identifier( Identifier { id: "fromOpt", span: Span { start: Position { line: 1144, column: 61, }, end: Position { line: 1144, column: 68, }, }, }, ), ], }, ), span: Span { start: Position { line: 1142, column: 10, }, end: Position { line: 1144, column: 68, }, }, }, ), ], span: Span { start: Position { line: 1137, column: 24, }, end: Position { line: 1145, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 1129, column: 5, }, end: Position { line: 1146, column: 6, }, }, }, ), span: Span { start: Position { line: 1123, column: 5, }, end: Position { line: 1146, column: 6, }, }, }, ), span: Span { start: Position { line: 1122, column: 5, }, end: Position { line: 1146, column: 6, }, }, }, ), span: Span { start: Position { line: 1121, column: 14, }, end: Position { line: 1146, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "importJSON", span: Span { start: Position { line: 1152, column: 3, }, end: Position { line: 1152, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "file", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 1153, column: 5, }, end: Position { line: 1153, column: 10, }, }, }, ), ], to: Identifier( Identifier { id: "file", span: Span { start: Position { line: 1153, column: 13, }, end: Position { line: 1153, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 1154, column: 5, }, end: Position { line: 1154, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 1154, column: 14, }, end: Position { line: 1154, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "importJSON", span: Span { start: Position { line: 1154, column: 18, }, end: Position { line: 1154, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "file", span: Span { start: Position { line: 1154, column: 29, }, end: Position { line: 1154, column: 33, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 1152, column: 22, }, end: Position { line: 1155, column: 4, }, }, }, ), span: Span { start: Position { line: 1152, column: 16, }, end: Position { line: 1155, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "importTOML", span: Span { start: Position { line: 1161, column: 3, }, end: Position { line: 1161, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "file", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 1162, column: 5, }, end: Position { line: 1162, column: 10, }, }, }, ), ], to: Identifier( Identifier { id: "file", span: Span { start: Position { line: 1162, column: 13, }, end: Position { line: 1162, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 1163, column: 5, }, end: Position { line: 1163, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 1163, column: 14, }, end: Position { line: 1163, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "importTOML", span: Span { start: Position { line: 1163, column: 18, }, end: Position { line: 1163, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "file", span: Span { start: Position { line: 1163, column: 29, }, end: Position { line: 1163, column: 33, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 1161, column: 22, }, end: Position { line: 1164, column: 4, }, }, }, ), span: Span { start: Position { line: 1161, column: 16, }, end: Position { line: 1164, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 64, column: 1, }, end: Position { line: 1165, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 1165, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 1165, column: 2, }, }, }, )