spdegabrielle
2020-11-26 13:00:15

Lol - I never thought a silly pic I found would provoke a response about what is and is not a bee:rolling_on_the_floor_laughing:


spdegabrielle
2020-11-26 13:02:50

According to Wikipedia: ‘There are over 16,000 known species of bees in seven recognized biological families.[1][2]’


badkins
2020-11-26 17:11:38

C++ initialization. I love Racket …


gknauth
2020-11-26 20:28:46

Me too, I loved finding out about dive.


gknauth
2020-11-26 20:44:54

This congame project looks really interesting, I’m definitely going to check it out. I studied economics in college, in an era when people had greater appreciation for economic truths.


spdegabrielle
2020-11-26 22:22:57

(+ (append '() 1 ) 2) !!!


sorawee
2020-11-26 22:34:47

what happens? does it give a surprising result or something?


massung
2020-11-27 00:30:56

Certainly was surprising to me. The + and 2 are largely irrelevant. (append '() 1) ;=> 1.

Technically if follows the documentation, but the docs imply that if the last argument isn’t a list that the result would be an improper list (e.g. (append '(1 2) 3) ;=> (1 2 . 3).

Other than an error, I’m not sure what I would actually expect it to return, though.


sorawee
2020-11-27 01:02:54

oh, initially I thought it’s a business with improper list, but when I tried it, it errors, so I thought all is good. It turns out I am using #lang rosette whose semantics of append is more restricted.