Skip to content

[REQ] wp.partial() #1127

@daedalus5

Description

@daedalus5

Description

Similar to functools.partial, it would be useful to have wp.partial() to define function specializations with a subset of fixed parameters for Warp functions.

For example: if an int32 seed is known at compile time, a rng function that relies on the seed can be passed to tile functions likes tile_map() without needing to supply the seed as an argument.

Metadata

Metadata

Assignees

Labels

feature requestRequest for something to be added

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions