Skip to content

function overwrite #7

@mlandis

Description

@mlandis

jembrown [11:58 PM]
Nope, doesn't seem so. For instance, this function definition works fine with the command-line version, but suppresses output in Jupyter (at least for me):
Untitled
function test () { # test comments
print("test")
}

jembrown [12:34 AM]
One other thing I noticed - if you call the same function definition twice on the command line, it prompts you to ask if you want to overwrite the previous definition. But in Jupyter it will hang, because you can't respond to the prompt.

jembrown [9:54 AM]
Update: this behavior can be avoided by adding clear(<FUNCTION_NAME>) right above the function definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions