Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
anonymoushn
2y ago
0 comments
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.
undefined | Better HN
0 comments
default
newest
oldest
logicchains
2y ago
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