Pattern matching in function heads #196
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: UlfNorell
From the Sophia discussion at the Sofia workshop.
Created by: UlfNorell
The current syntax (mixing left-hand sides and type signatures) is not well suited for this. We could imagine allowing separate type signatures and multiple clauses:
Created by: radrow
I love this
Created by: nikita-fuchs
I sense a strong smell of erlang in here - wouldn't this defacto lever out all strict type checking and allow for fallback functions taking whatever data ?
Created by: UlfNorell
What, no! Why would you think this would change the type system? The above is the same as