- cross-posted to:
- programminghumor@lemmy.world
- programmerhumor@lemmy.ml
- cross-posted to:
- programminghumor@lemmy.world
- programmerhumor@lemmy.ml
Made with KolourPaint and screenshots from Kate (with the GitHub theme).
Made with KolourPaint and screenshots from Kate (with the GitHub theme).
If type constraints later in the function let the compiler infer the type, this syntax totally works.
Like if the variable is then used in a function that only takes one type? Huh.