On Monday, September 11, 2017 at 7:25:54 PM UTC-6, Michael Jones wrote: > > int(boolvalue) could mean 0 for false and 1 otherwise > bool(intvalue) could mean false for 0 an true otherwise > > quite a useful notion >
Yeah, too bad that was shot down years ago (cf. proposal: support int(bool) conversions in Go.1.5 <https://groups.google.com/forum/#!topic/golang-nuts/wyuBhAb1Rzk/discussion> ). — Scott -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.