fn func<T: FloatingPoint>(fp: T) { ... }
And the "auto" variant is similar to impl argument in Rust: fn func(fp: impl FloatingPoint) { ... }60 karma · joined January 27, 2016
fn func<T: FloatingPoint>(fp: T) { ... }
And the "auto" variant is similar to impl argument in Rust: fn func(fp: impl FloatingPoint) { ... }[1]: https://www.w3.org/TR/html52/sec-forms.html#number-state-typ...
> User agents must not allow the user to set the value to a non-empty string that is not a valid floating-point number. If the user agent provides a user interface for selecting a number, then the value must be set to the best representation of the number representing the user’s selection as a floating-point number.
https://github.com/vuejs/vue-cli/blob/master/docs/build.md
Just create a single `.vue` file, run it with `vue build file.vue` and you can immediately just start hacking around. It can be even built that way for production.
Feels simple like in the old days with single index.html, but you aren't missing any features of modern frontend stack.
Disclaimer: I'm one of the authors