Conversation

Replying to
I really want staged programming in dependently typed languages to let us do similar stuff at compile time. I'm thinking that it might be helpful to say instantiations are 'monomorphised' as opposed to 'inlined' though… I think the latter approach is more usual for staging?
1
2
The difference between them is that monomorphisation lets you share specialised implementations (like in templates), where as inlining generates specialised code in-place (like in macros).
1