write initial type signature notation proposal #5
Loading…
Reference in a new issue
No description provided.
Delete branch ":type-notation"
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?
this is just an initial proposal
@ -0,0 +1,23 @@
#import "../template.typ": conf
#show: doc => conf(
doc
)
Can be simplified.
Also I suggest adding a title and subtitle once #2 is merged.
@ -0,0 +6,4 @@
= Type/signature notation
Operator signature that takes two unnamed arbitrary numbers of the same type and returns another:
`Op<T: Num> [ T T ] -> T`
Should be full codeblocks.
How would one write type signatures with multiple generic arguments?
Otherwise, LGTM.
added the requested example!
LGTM! 🎉