Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "nodes", 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: "attrNames", span: Span { start: Position { line: 5, column: 5, }, end: Position { line: 5, column: 14, }, }, }, ), Raw( PartRaw { content: "concatMap", span: Span { start: Position { line: 5, column: 15, }, end: Position { line: 5, column: 24, }, }, }, ), Raw( PartRaw { content: "concatMapStrings", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 41, }, }, }, ), Raw( PartRaw { content: "flip", span: Span { start: Position { line: 5, column: 42, }, end: Position { line: 5, column: 46, }, }, }, ), Raw( PartRaw { content: "forEach", span: Span { start: Position { line: 5, column: 47, }, end: Position { line: 5, column: 54, }, }, }, ), Raw( PartRaw { content: "head", span: Span { start: Position { line: 5, column: 55, }, end: Position { line: 5, column: 59, }, }, }, ), Raw( PartRaw { content: "listToAttrs", span: Span { start: Position { line: 6, column: 5, }, end: Position { line: 6, column: 16, }, }, }, ), Raw( PartRaw { content: "mkDefault", span: Span { start: Position { line: 6, column: 17, }, end: Position { line: 6, column: 26, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 6, column: 27, }, end: Position { line: 6, column: 35, }, }, }, ), Raw( PartRaw { content: "nameValuePair", span: Span { start: Position { line: 6, column: 36, }, end: Position { line: 6, column: 49, }, }, }, ), Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 6, column: 50, }, end: Position { line: 6, column: 64, }, }, }, ), Raw( PartRaw { content: "range", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 10, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 7, column: 11, }, end: Position { line: 7, column: 16, }, }, }, ), Raw( PartRaw { content: "zipListsWith", span: Span { start: Position { line: 7, column: 17, }, end: Position { line: 7, column: 29, }, }, }, ), Raw( PartRaw { content: "zipLists", span: Span { start: Position { line: 7, column: 30, }, end: Position { line: 7, column: 38, }, }, }, ), Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 10, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 9, column: 6, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodeNumbers", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 16, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "zipListsWith", span: Span { start: Position { line: 13, column: 8, }, end: Position { line: 13, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 22, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 15, column: 10, }, end: Position { line: 15, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "nodes", span: Span { start: Position { line: 15, column: 20, }, end: Position { line: 15, column: 25, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "range", span: Span { start: Position { line: 16, column: 10, }, end: Position { line: 16, column: 15, }, }, }, ), arguments: [ Integer( Integer { value: "1", span: Span { start: Position { line: 16, column: 16, }, end: Position { line: 16, column: 17, }, }, }, ), Integer( Integer { value: "254", span: Span { start: Position { line: 16, column: 18, }, end: Position { line: 16, column: 21, }, }, }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networkModule", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 16, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "nodes", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interfacesNumbered", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "zipLists", span: Span { start: Position { line: 21, column: 28, }, end: Position { line: 21, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 21, column: 37, }, end: Position { line: 21, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 21, column: 44, }, end: Position { line: 21, column: 58, }, }, }, ), Raw( PartRaw { content: "vlans", span: Span { start: Position { line: 21, column: 59, }, end: Position { line: 21, column: 64, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "range", span: Span { start: Position { line: 21, column: 66, }, end: Position { line: 21, column: 71, }, }, }, ), arguments: [ Integer( Integer { value: "1", span: Span { start: Position { line: 21, column: 72, }, end: Position { line: 21, column: 73, }, }, }, ), Integer( Integer { value: "255", span: Span { start: Position { line: 21, column: 74, }, end: Position { line: 21, column: 77, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interfaces", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "forEach", span: Span { start: Position { line: 22, column: 20, }, end: Position { line: 22, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "interfacesNumbered", span: Span { start: Position { line: 22, column: 28, }, end: Position { line: 22, column: 46, }, }, }, ), Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "fst", default: None, }, FunctionHeadDestructuredArgument { identifier: "snd", default: None, }, ], }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 22, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "eth", span: Span { start: Position { line: 23, column: 24, }, end: Position { line: 23, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 23, column: 29, }, end: Position { line: 23, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "snd", span: Span { start: Position { line: 23, column: 38, }, end: Position { line: 23, column: 41, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 43, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ipv4", span: Span { start: Position { line: 24, column: 11, }, end: Position { line: 24, column: 15, }, }, }, ), Raw( PartRaw { content: "addresses", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 25, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "address", span: Span { start: Position { line: 26, column: 15, }, end: Position { line: 26, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "192.168.", span: Span { start: Position { line: 26, column: 26, }, end: Position { line: 26, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 26, column: 36, }, end: Position { line: 26, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "fst", span: Span { start: Position { line: 26, column: 45, }, end: Position { line: 26, column: 48, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ".", span: Span { start: Position { line: 26, column: 26, }, end: Position { line: 26, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 26, column: 52, }, end: Position { line: 26, column: 60, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 26, column: 61, }, end: Position { line: 26, column: 67, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 26, column: 68, }, end: Position { line: 26, column: 82, }, }, }, ), Raw( PartRaw { content: "test", span: Span { start: Position { line: 26, column: 83, }, end: Position { line: 26, column: 87, }, }, }, ), Raw( PartRaw { content: "nodeNumber", span: Span { start: Position { line: 26, column: 88, }, end: Position { line: 26, column: 98, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 26, column: 25, }, end: Position { line: 26, column: 100, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prefixLength", span: Span { start: Position { line: 27, column: 15, }, end: Position { line: 27, column: 27, }, }, }, ), ], to: Integer( Integer { value: "24", span: Span { start: Position { line: 27, column: 30, }, end: Position { line: 27, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 25, column: 14, }, end: Position { line: 28, column: 14, }, }, }, ), ], span: Span { start: Position { line: 25, column: 13, }, end: Position { line: 28, column: 15, }, }, }, ), }, ), ], span: Span { start: Position { line: 23, column: 44, }, end: Position { line: 29, column: 10, }, }, }, ), ], }, ), span: Span { start: Position { line: 22, column: 48, }, end: Position { line: 29, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networkConfig", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 33, column: 11, }, end: Position { line: 33, column: 21, }, }, }, ), Raw( PartRaw { content: "hostName", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 33, column: 33, }, end: Position { line: 33, column: 42, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 33, column: 43, }, end: Position { line: 33, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 33, column: 50, }, end: Position { line: 33, column: 64, }, }, }, ), Raw( PartRaw { content: "test", span: Span { start: Position { line: 33, column: 65, }, end: Position { line: 33, column: 69, }, }, }, ), Raw( PartRaw { content: "nodeName", span: Span { start: Position { line: 33, column: 70, }, end: Position { line: 33, column: 78, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 35, column: 11, }, end: Position { line: 35, column: 21, }, }, }, ), Raw( PartRaw { content: "interfaces", span: Span { start: Position { line: 35, column: 22, }, end: Position { line: 35, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 35, column: 35, }, end: Position { line: 35, column: 46, }, }, }, ), arguments: [ Identifier( Identifier { id: "interfaces", span: Span { start: Position { line: 35, column: 47, }, end: Position { line: 35, column: 57, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 37, column: 11, }, end: Position { line: 37, column: 21, }, }, }, ), Raw( PartRaw { content: "primaryIPAddress", span: Span { start: Position { line: 37, column: 22, }, end: Position { line: 37, column: 38, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 38, column: 13, }, end: Position { line: 38, column: 27, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "interfaces", span: Span { start: Position { line: 38, column: 29, }, end: Position { line: 38, column: 39, }, }, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 38, column: 43, }, end: Position { line: 38, column: 46, }, }, }, ), }, ), PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 38, column: 49, }, end: Position { line: 38, column: 53, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 38, column: 55, }, end: Position { line: 38, column: 59, }, }, }, ), arguments: [ Identifier( Identifier { id: "interfaces", span: Span { start: Position { line: 38, column: 60, }, end: Position { line: 38, column: 70, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 38, column: 72, }, end: Position { line: 38, column: 77, }, }, }, ), Raw( PartRaw { content: "ipv4", span: Span { start: Position { line: 38, column: 78, }, end: Position { line: 38, column: 82, }, }, }, ), Raw( PartRaw { content: "addresses", span: Span { start: Position { line: 38, column: 83, }, end: Position { line: 38, column: 92, }, }, }, ), ], default: None, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "address", span: Span { start: Position { line: 38, column: 94, }, end: Position { line: 38, column: 101, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 45, column: 11, }, end: Position { line: 45, column: 21, }, }, }, ), Raw( PartRaw { content: "extraHosts", span: Span { start: Position { line: 45, column: 22, }, end: Position { line: 45, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flip", span: Span { start: Position { line: 45, column: 35, }, end: Position { line: 45, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "concatMapStrings", span: Span { start: Position { line: 45, column: 40, }, end: Position { line: 45, column: 56, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 45, column: 58, }, end: Position { line: 45, column: 67, }, }, }, ), arguments: [ Identifier( Identifier { id: "nodes", span: Span { start: Position { line: 45, column: 68, }, end: Position { line: 45, column: 73, }, }, }, ), ], }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "m'", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nodes", span: Span { start: Position { line: 47, column: 28, }, end: Position { line: 47, column: 33, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "m'", span: Span { start: Position { line: 47, column: 36, }, end: Position { line: 47, column: 38, }, }, }, ), }, ), ], default: None, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 48, column: 15, }, end: Position { line: 48, column: 29, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 48, column: 31, }, end: Position { line: 48, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 48, column: 38, }, end: Position { line: 48, column: 48, }, }, }, ), Raw( PartRaw { content: "primaryIPAddress", span: Span { start: Position { line: 48, column: 49, }, end: Position { line: 48, column: 65, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 48, column: 69, }, end: Position { line: 48, column: 71, }, }, }, ), }, ), BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 49, column: 21, }, end: Position { line: 49, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 49, column: 28, }, end: Position { line: 49, column: 38, }, }, }, ), Raw( PartRaw { content: "primaryIPAddress", span: Span { start: Position { line: 49, column: 39, }, end: Position { line: 49, column: 55, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 49, column: 19, }, end: Position { line: 49, column: 57, }, }, }, ), ], span: Span { start: Position { line: 49, column: 18, }, end: Position { line: 49, column: 58, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 50, column: 19, }, end: Position { line: 50, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 50, column: 35, }, end: Position { line: 50, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 50, column: 42, }, end: Position { line: 50, column: 52, }, }, }, ), Raw( PartRaw { content: "domain", span: Span { start: Position { line: 50, column: 53, }, end: Position { line: 50, column: 59, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 50, column: 63, }, end: Position { line: 50, column: 67, }, }, }, ), }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 51, column: 24, }, end: Position { line: 51, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 51, column: 31, }, end: Position { line: 51, column: 41, }, }, }, ), Raw( PartRaw { content: "hostName", span: Span { start: Position { line: 51, column: 42, }, end: Position { line: 51, column: 50, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ".", span: Span { start: Position { line: 51, column: 22, }, end: Position { line: 51, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 51, column: 54, }, end: Position { line: 51, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 51, column: 61, }, end: Position { line: 51, column: 71, }, }, }, ), Raw( PartRaw { content: "domain", span: Span { start: Position { line: 51, column: 72, }, end: Position { line: 51, column: 78, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 51, column: 22, }, end: Position { line: 51, column: 80, }, }, }, ), ], span: Span { start: Position { line: 51, column: 21, }, end: Position { line: 51, column: 81, }, }, }, ), ], }, ), }, ), operator: Addition, right: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 52, column: 29, }, end: Position { line: 52, column: 39, }, }, }, ), Raw( PartRaw { content: "hostName", span: Span { start: Position { line: 52, column: 40, }, end: Position { line: 52, column: 48, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 52, column: 20, }, end: Position { line: 52, column: 51, }, }, }, ), ], span: Span { start: Position { line: 52, column: 19, }, end: Position { line: 52, column: 52, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 47, column: 15, }, end: Position { line: 52, column: 53, }, }, }, ), span: Span { start: Position { line: 46, column: 14, }, end: Position { line: 52, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 54, column: 11, }, end: Position { line: 54, column: 25, }, }, }, ), Raw( PartRaw { content: "qemu", span: Span { start: Position { line: 54, column: 26, }, end: Position { line: 54, column: 30, }, }, }, ), Raw( PartRaw { content: "options", span: Span { start: Position { line: 54, column: 31, }, end: Position { line: 54, column: 38, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "qemu-common", span: Span { start: Position { line: 55, column: 17, }, end: Position { line: 55, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 55, column: 31, }, end: Position { line: 55, column: 37, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "../qemu-common.nix", span: Span { start: Position { line: 55, column: 38, }, end: Position { line: 55, column: 56, }, }, }, ), ], span: Span { start: Position { line: 55, column: 38, }, end: Position { line: 55, column: 56, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 55, column: 67, }, end: Position { line: 55, column: 70, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 55, column: 71, }, end: Position { line: 55, column: 75, }, }, }, ), ], span: Span { start: Position { line: 55, column: 58, }, end: Position { line: 55, column: 76, }, }, }, ), ], span: Span { start: Position { line: 55, column: 57, }, end: Position { line: 55, column: 78, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flip", span: Span { start: Position { line: 57, column: 13, }, end: Position { line: 57, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "concatMap", span: Span { start: Position { line: 57, column: 18, }, end: Position { line: 57, column: 27, }, }, }, ), Identifier( Identifier { id: "interfacesNumbered", span: Span { start: Position { line: 57, column: 28, }, end: Position { line: 57, column: 46, }, }, }, ), Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "fst", default: None, }, FunctionHeadDestructuredArgument { identifier: "snd", default: None, }, ], }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "qemu-common", span: Span { start: Position { line: 58, column: 30, }, end: Position { line: 58, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "qemuNICFlags", span: Span { start: Position { line: 58, column: 42, }, end: Position { line: 58, column: 54, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "snd", span: Span { start: Position { line: 58, column: 55, }, end: Position { line: 58, column: 58, }, }, }, ), Identifier( Identifier { id: "fst", span: Span { start: Position { line: 58, column: 59, }, end: Position { line: 58, column: 62, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 58, column: 63, }, end: Position { line: 58, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 58, column: 70, }, end: Position { line: 58, column: 84, }, }, }, ), Raw( PartRaw { content: "test", span: Span { start: Position { line: 58, column: 85, }, end: Position { line: 58, column: 89, }, }, }, ), Raw( PartRaw { content: "nodeNumber", span: Span { start: Position { line: 58, column: 90, }, end: Position { line: 58, column: 100, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 58, column: 16, }, end: Position { line: 58, column: 100, }, }, }, ), ], }, ), span: Span { start: Position { line: 55, column: 13, }, end: Position { line: 58, column: 101, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 59, column: 10, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "ip-address", span: Span { start: Position { line: 63, column: 14, }, end: Position { line: 63, column: 24, }, }, }, ), ], span: Span { start: Position { line: 63, column: 13, }, end: Position { line: 63, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 13, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "networkConfig", span: Span { start: Position { line: 64, column: 16, }, end: Position { line: 64, column: 29, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 15, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 67, column: 16, }, end: Position { line: 67, column: 21, }, }, }, ), Raw( PartRaw { content: "networkConfig", span: Span { start: Position { line: 67, column: 22, }, end: Position { line: 67, column: 35, }, }, }, ), ], to: Identifier( Identifier { id: "networkConfig", span: Span { start: Position { line: 67, column: 38, }, end: Position { line: 67, column: 51, }, }, }, ), }, ), ], span: Span { start: Position { line: 64, column: 33, }, end: Position { line: 68, column: 8, }, }, }, ), }, ), }, ), ], span: Span { start: Position { line: 62, column: 5, }, end: Position { line: 69, column: 6, }, }, }, ), span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 69, column: 6, }, }, }, ), span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 69, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodeNumberModule", span: Span { start: Position { line: 71, column: 3, }, end: Position { line: 71, column: 19, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: LeftAt( "regular", ), arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "name", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 72, column: 5, }, end: Position { line: 72, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 21, }, }, }, ), Raw( PartRaw { content: "test", span: Span { start: Position { line: 73, column: 22, }, end: Position { line: 73, column: 26, }, }, }, ), Raw( PartRaw { content: "nodeName", span: Span { start: Position { line: 73, column: 27, }, end: Position { line: 73, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 73, column: 38, }, end: Position { line: 73, column: 46, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 74, column: 20, }, end: Position { line: 74, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "name", span: Span { start: Position { line: 75, column: 19, }, end: Position { line: 75, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 78, column: 23, }, end: Position { line: 78, column: 28, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `name` in `nodes.`; stable across `specialisations`.\n", span: Span { start: Position { line: 79, column: 1, }, end: Position { line: 80, column: 9, }, }, }, ), ], span: Span { start: Position { line: 78, column: 29, }, end: Position { line: 80, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 73, column: 47, }, end: Position { line: 81, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 82, column: 7, }, end: Position { line: 82, column: 21, }, }, }, ), Raw( PartRaw { content: "test", span: Span { start: Position { line: 82, column: 22, }, end: Position { line: 82, column: 26, }, }, }, ), Raw( PartRaw { content: "nodeNumber", span: Span { start: Position { line: 82, column: 27, }, end: Position { line: 82, column: 37, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 82, column: 40, }, end: Position { line: 82, column: 48, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 83, column: 20, }, end: Position { line: 83, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 84, column: 16, }, end: Position { line: 84, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 84, column: 22, }, end: Position { line: 84, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "readOnly", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 85, column: 20, }, end: Position { line: 85, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 86, column: 9, }, end: Position { line: 86, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nodeNumbers", span: Span { start: Position { line: 86, column: 19, }, end: Position { line: 86, column: 30, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 86, column: 33, }, end: Position { line: 86, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 86, column: 40, }, end: Position { line: 86, column: 54, }, }, }, ), Raw( PartRaw { content: "test", span: Span { start: Position { line: 86, column: 55, }, end: Position { line: 86, column: 59, }, }, }, ), Raw( PartRaw { content: "nodeName", span: Span { start: Position { line: 86, column: 60, }, end: Position { line: 86, column: 68, }, }, }, ), ], default: None, }, ), }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 87, column: 9, }, end: Position { line: 87, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 87, column: 23, }, end: Position { line: 87, column: 28, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A unique number assigned for each node in `nodes`.\n", span: Span { start: Position { line: 88, column: 1, }, end: Position { line: 89, column: 9, }, }, }, ), ], span: Span { start: Position { line: 87, column: 29, }, end: Position { line: 89, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 82, column: 49, }, end: Position { line: 90, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "specialisation", span: Span { start: Position { line: 94, column: 7, }, end: Position { line: 94, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 94, column: 24, }, end: Position { line: 94, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 95, column: 9, }, end: Position { line: 95, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 95, column: 16, }, end: Position { line: 95, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 95, column: 22, }, end: Position { line: 95, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 95, column: 31, }, end: Position { line: 95, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 95, column: 37, }, end: Position { line: 95, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 96, column: 11, }, end: Position { line: 96, column: 18, }, }, }, ), Raw( PartRaw { content: "configuration", span: Span { start: Position { line: 96, column: 19, }, end: Position { line: 96, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 96, column: 35, }, end: Position { line: 96, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 97, column: 13, }, end: Position { line: 97, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 97, column: 20, }, end: Position { line: 97, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submoduleWith", span: Span { start: Position { line: 97, column: 26, }, end: Position { line: 97, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 98, column: 15, }, end: Position { line: 98, column: 22, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 100, column: 19, }, end: Position { line: 100, column: 25, }, }, }, ), Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 100, column: 26, }, end: Position { line: 100, column: 40, }, }, }, ), Raw( PartRaw { content: "test", span: Span { start: Position { line: 100, column: 41, }, end: Position { line: 100, column: 45, }, }, }, ), Raw( PartRaw { content: "nodeName", span: Span { start: Position { line: 100, column: 46, }, end: Position { line: 100, column: 54, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "regular", span: Span { start: Position { line: 102, column: 21, }, end: Position { line: 102, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 102, column: 29, }, end: Position { line: 102, column: 35, }, }, }, ), Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 102, column: 36, }, end: Position { line: 102, column: 50, }, }, }, ), Raw( PartRaw { content: "test", span: Span { start: Position { line: 102, column: 51, }, end: Position { line: 102, column: 55, }, }, }, ), Raw( PartRaw { content: "nodeName", span: Span { start: Position { line: 102, column: 56, }, end: Position { line: 102, column: 64, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 99, column: 17, }, end: Position { line: 103, column: 18, }, }, }, ), ], span: Span { start: Position { line: 98, column: 25, }, end: Position { line: 104, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 97, column: 40, }, end: Position { line: 105, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 96, column: 44, }, end: Position { line: 106, column: 12, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 95, column: 47, }, end: Position { line: 107, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 94, column: 33, }, end: Position { line: 108, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 72, column: 15, }, end: Position { line: 109, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 71, column: 54, }, end: Position { line: 110, column: 4, }, }, }, ), span: Span { start: Position { line: 71, column: 23, }, end: Position { line: 110, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 114, column: 3, }, end: Position { line: 114, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraBaseModules", span: Span { start: Position { line: 115, column: 5, }, end: Position { line: 115, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 115, column: 26, }, end: Position { line: 115, column: 33, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "networkModule", span: Span { start: Position { line: 115, column: 38, }, end: Position { line: 115, column: 51, }, }, }, ), Identifier( Identifier { id: "nodeNumberModule", span: Span { start: Position { line: 115, column: 52, }, end: Position { line: 115, column: 68, }, }, }, ), ], span: Span { start: Position { line: 115, column: 36, }, end: Position { line: 115, column: 70, }, }, }, ), }, ), ], span: Span { start: Position { line: 115, column: 24, }, end: Position { line: 115, column: 73, }, }, }, ), }, ), ], span: Span { start: Position { line: 114, column: 12, }, end: Position { line: 116, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 113, column: 1, }, end: Position { line: 117, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 117, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 117, column: 2, }, }, }, )