Is this example found in the "Composite literals" section of Go Spec a joke?// list of prime numbersprimes := []int{2, 3, 5, 7, 9, 2147483647}I checked on the internet and 2147483647 is a prime number (https://en.wikipedia.org/wiki/2,147,483,647), so this element is fine.Best regardsKamil
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-dev/CACKEwjGpekmnq%2BViUfYp7LWtmg2KErgM5CUjKWRW5XHz-_nSLg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-dev/CACKEwjGpekmnq%2BViUfYp7LWtmg2KErgM5CUjKWRW5XHz-_nSLg%40mail.gmail.com.