Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 4, column: 6, }, end: Position { line: 4, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "displayName", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 9, column: 19, }, end: Position { line: 9, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 10, column: 20, }, end: Position { line: 10, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 14, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 11, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 34, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"Python 3\"\n\"Python 3 for Data Science\"\n", span: Span { start: Position { line: 13, column: 1, }, end: Position { line: 15, column: 7, }, }, }, ), ], span: Span { start: Position { line: 12, column: 35, }, end: Position { line: 15, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 16, column: 25, }, end: Position { line: 16, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Name that will be shown to the user.\n", span: Span { start: Position { line: 17, column: 1, }, end: Position { line: 18, column: 7, }, }, }, ), ], span: Span { start: Position { line: 16, column: 31, }, end: Position { line: 18, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 28, }, end: Position { line: 19, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "argv", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 21, column: 12, }, end: Position { line: 21, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 22, column: 14, }, end: Position { line: 22, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 22, column: 20, }, end: Position { line: 22, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 22, column: 27, }, end: Position { line: 22, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 22, column: 33, }, end: Position { line: 22, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "{customEnv.interpreter}", span: Span { start: Position { line: 24, column: 10, }, end: Position { line: 24, column: 33, }, }, }, ), ], span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 34, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-m", span: Span { start: Position { line: 25, column: 10, }, end: Position { line: 25, column: 12, }, }, }, ), ], span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 13, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "ipykernel_launcher", span: Span { start: Position { line: 26, column: 10, }, end: Position { line: 26, column: 28, }, }, }, ), ], span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 29, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-f", span: Span { start: Position { line: 27, column: 10, }, end: Position { line: 27, column: 12, }, }, }, ), ], span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 13, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "{connection_file}", span: Span { start: Position { line: 28, column: 10, }, end: Position { line: 28, column: 27, }, }, }, ), ], span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 28, }, }, }, ), ], span: Span { start: Position { line: 23, column: 17, }, end: Position { line: 29, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 30, column: 21, }, end: Position { line: 30, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 30, column: 25, }, end: Position { line: 30, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Command and arguments to start the kernel.\n", span: Span { start: Position { line: 31, column: 1, }, end: Position { line: 32, column: 7, }, }, }, ), ], span: Span { start: Position { line: 30, column: 31, }, end: Position { line: 32, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 21, column: 21, }, end: Position { line: 33, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "language", span: Span { start: Position { line: 35, column: 5, }, end: Position { line: 35, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 35, column: 16, }, end: Position { line: 35, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 36, column: 14, }, end: Position { line: 36, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 36, column: 20, }, end: Position { line: 36, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "python", span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 24, }, }, }, ), ], span: Span { start: Position { line: 37, column: 17, }, end: Position { line: 37, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 38, column: 21, }, end: Position { line: 38, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 38, column: 25, }, end: Position { line: 38, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Language of the environment. Typically the name of the binary.\n", span: Span { start: Position { line: 39, column: 1, }, end: Position { line: 40, column: 7, }, }, }, ), ], span: Span { start: Position { line: 38, column: 31, }, end: Position { line: 40, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 35, column: 25, }, end: Position { line: 41, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logo32", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 43, column: 14, }, end: Position { line: 43, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 44, column: 14, }, end: Position { line: 44, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 44, column: 20, }, end: Position { line: 44, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 44, column: 27, }, end: Position { line: 44, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 44, column: 33, }, end: Position { line: 44, column: 37, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 45, column: 17, }, end: Position { line: 45, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 46, column: 17, }, end: Position { line: 46, column: 34, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 46, column: 37, }, end: Position { line: 46, column: 38, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 46, column: 37, }, end: Position { line: 46, column: 41, }, }, }, ), Raw( PartRaw { content: "{env.sitePackages}/ipykernel/resources/logo-32x32.png\"", span: Span { start: Position { line: 46, column: 37, }, end: Position { line: 46, column: 95, }, }, }, ), ], span: Span { start: Position { line: 46, column: 35, }, end: Position { line: 46, column: 97, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 47, column: 21, }, end: Position { line: 47, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 47, column: 25, }, end: Position { line: 47, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to 32x32 logo png.\n", span: Span { start: Position { line: 48, column: 1, }, end: Position { line: 49, column: 7, }, }, }, ), ], span: Span { start: Position { line: 47, column: 31, }, end: Position { line: 49, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 43, column: 23, }, end: Position { line: 50, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logo64", span: Span { start: Position { line: 51, column: 5, }, end: Position { line: 51, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 51, column: 14, }, end: Position { line: 51, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 14, }, end: Position { line: 52, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 52, column: 20, }, end: Position { line: 52, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 27, }, end: Position { line: 52, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 52, column: 33, }, end: Position { line: 52, column: 37, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 53, column: 17, }, end: Position { line: 53, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 54, column: 17, }, end: Position { line: 54, column: 34, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 54, column: 37, }, end: Position { line: 54, column: 38, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 54, column: 37, }, end: Position { line: 54, column: 41, }, }, }, ), Raw( PartRaw { content: "{env.sitePackages}/ipykernel/resources/logo-64x64.png\"", span: Span { start: Position { line: 54, column: 37, }, end: Position { line: 54, column: 95, }, }, }, ), ], span: Span { start: Position { line: 54, column: 35, }, end: Position { line: 54, column: 97, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 55, column: 7, }, end: Position { line: 55, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 55, column: 21, }, end: Position { line: 55, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 55, column: 25, }, end: Position { line: 55, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to 64x64 logo png.\n", span: Span { start: Position { line: 56, column: 1, }, end: Position { line: 57, column: 7, }, }, }, ), ], span: Span { start: Position { line: 55, column: 31, }, end: Position { line: 57, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 51, column: 23, }, end: Position { line: 58, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraPaths", span: Span { start: Position { line: 60, column: 5, }, end: Position { line: 60, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 18, }, end: Position { line: 60, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 14, }, end: Position { line: 61, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 61, column: 20, }, end: Position { line: 61, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 28, }, end: Position { line: 61, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 61, column: 34, }, end: Position { line: 61, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 62, column: 17, }, end: Position { line: 62, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 63, column: 17, }, end: Position { line: 63, column: 34, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"{ examples = ", span: Span { start: Position { line: 63, column: 37, }, end: Position { line: 63, column: 51, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 63, column: 37, }, end: Position { line: 63, column: 54, }, }, }, ), Raw( PartRaw { content: "{env.sitePack}/IRkernel/kernelspec/kernel.js\"; }", span: Span { start: Position { line: 63, column: 37, }, end: Position { line: 63, column: 102, }, }, }, ), ], span: Span { start: Position { line: 63, column: 35, }, end: Position { line: 63, column: 104, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 64, column: 21, }, end: Position { line: 64, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 64, column: 25, }, end: Position { line: 64, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra paths to link in kernel directory\n", span: Span { start: Position { line: 65, column: 1, }, end: Position { line: 66, column: 7, }, }, }, ), ], span: Span { start: Position { line: 64, column: 31, }, end: Position { line: 66, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 60, column: 27, }, end: Position { line: 67, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 68, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 69, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 69, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 69, column: 2, }, }, }, )