Skip to contents

Provides a custom print method for typed functions, displaying their parameter types and return type.

Usage

# S3 method for class 'typed_function'
print(x, ...)

Arguments

x

A typed function.

...

Additional arguments (not used).

Value

No return value, called for side effects. Prints a human-readable representation of the typed function to the console, showing the argument types and return type.