Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
anonymoushn
2y ago
0 comments
Save
Share
It would be swell if functions could be generic over this capability at compile time, so that you could get the same guarantees from the type system without implementing the same protocols more than one time.
0 comments
3 comments · 2 top-level
top
newest
oldest
logicchains
2y ago
· 1 in thread
Haskell supports this, but right from the start Rust was always wary of trying to add higher kinded types, which are necessary to support this.
anonymoushn
OP
2y ago
As a Zig programmer I also get to enjoy this, but from the angle of language implementors not caring about type theory
bobbylarrybobby
2y ago
Keyword generics!
j
/
k
navigate · click thread line to collapse