Skip to content

Some way to set a default callback #4937

Answered by ogoffart
sgued asked this question in Ideas
Discussion options

You must be logged in to vote

I think you can do that, for example:

export component Foo {
 pure callback parse(string) -> string
 parse(x) => { return x; }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sgued
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants