fn(*) -> *
?
#2909
Answered
by
lpil
Rudxain
asked this question in
Questions & support
`fn(*) -> *`?
#2909
-
Is it possible to have a type-signature that declares "This is a callable value"? That is, the parameter count, parameter types, and return type, are all irrelevant |
Beta Was this translation helpful? Give feedback.
Answered by
lpil
Apr 7, 2024
Replies: 1 comment
-
Gleam doesn't have subtyping, so not, there is no super-type for functions. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Rudxain
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gleam doesn't have subtyping, so not, there is no super-type for functions.