4 ms·
`discard` isn’t part of the type signature. The functions in the blog post have void return type because between `)` and `=` there is no `: [type]`.
by michaelsbradley 4y ago
`discard` isn’t part of the type signature.
The functions in the blog post have void return type because between `)` and `=` there is no `: [type]`.