All Questions
Tagged with static-typing traits
1
question
5
votes
3
answers
209
views
How can I reconcile “all functions are variables” with a typeclass type system?
In my WIP language, all functions are really just variables with a callable type. That is, a function call foo(bar) is parsed into the following AST:
...