mccoybecker
2019-7-11 14:17:43

I know I’ve chatted with a few people about probabilistic programming. I wanted to provide a detailed reference for folk who are more accustomed to PL, here is an in-progress grad textbook by Jan-Willem van de Meent at Northeastern: https://arxiv.org/abs/1809.10756


badkins
2019-7-11 22:31:17

markus.pfeiffer
2019-7-11 22:39:05

was also posted in #random ealier today :wink:


badkins
2019-7-12 01:39:14

I’m really going to miss this view from Racket School when I leave!!


jordan
2019-7-12 02:09:49

OK, I’m just perplexed at this: in this code snippet, DrR was correctly id’ing e1- and e3- as bound on lines 5, 7, 12, and 14, but complaining that e2- (lines 6 & 13) was unbound. Deleting & retyping the e2- seems to have fixed the problem. Wonder what that was all about.


sorawee
2019-7-12 02:15:39

e2– and e2- are different. The left one is unicode en-dash. The right one is ASCII hyphen.


jordan
2019-7-12 02:40:50

Gah. Now that you mention it I see it. Wonder how that got in there.


markus.pfeiffer
2019-7-12 02:43:59

ahhh unicode


markus.pfeiffer
2019-7-12 02:44:01

constant source of joy


me1531
2019-7-12 03:05:27

ẏ̸͔̤̥̱̱̘̬̰̼̦͍͚̽̑͌̅͂̔̇̀̆͊͂̎̽͋̚͜ȩ̸̡̢͖̥̠̱̺̟͈̞̫̘͕̦̞͂̌a̸̢̡͍̯̘̟̱͙̠̳̫̺̫̗͊̓ḧ̴̛͎͕̞̣͖̔͂̏͝ ̴̛͎̓͗̍̓̑̾̈́̐͛̄̈́̆̽̇͌̕ǔ̶̧̬̼̦̜̗͓͖̪̗̦̻̭̬̓͜͜ǹ̸̨̗̞̳͙̗̬͚̳̼̭̗̱̞̗͎̿͊̀͊̄̏́͝ͅi̶͍̗̪̗͙̹̣̩͎̍ͅc̷̳̒̈̿͜o̵̺͙͠d̶͔̲̟͈͔̜̭̄̈́̏̎̎̈́̎͐͌̈́̓͘͘͠e̵̱̙͊̈́̕ ̵̢̧̲̼̺͔̹͉̘̩̳̖̻͙̜̎͑̎͑̊̃͊̒̄͂̚̚͜i̶̧͇͔̲͎̰̭͙̅͘s̴̢̮͖͖͉̠̔̽̓̒̎̾̾̈ ̴̧̢̛̟̬̣̟̤̺̮̺͍̮͚͙̖̈́̽̿͗̏ġ̶̭̜̱̜͕̫̼͚̙̮̙̩͋̊͊͛͆̄̅̔͗̌́̇̚͠ͅṙ̴̡̢̡͔͕̘͈̫͚̹̳̯̰̮̹͆͛̽̒ę̷̤̤͇̞̝̫̟̻͔̮̣͈̱̦̤̖̂͛͗̉̎̔̕͝͠͝ạ̵̤̱̝͙͕̝̍̂̈͌̑̎͋̍̀̇̂̅̓ͅt̵̢̨̘͍̟̖̱̺̯̙͔̰͋̚͜͝


markus.pfeiffer
2019-7-12 03:20:04

eris those error messages


markus.pfeiffer
2019-7-12 03:20:43

at least now my factorial works as well, but I have the same porblem that @me1531 had today: I am not sure my type inference actyally does what it should :confused:


markus.pfeiffer
2019-7-12 03:21:28

lets try coming up with some tests


me1531
2019-7-12 03:35:48

wish I could participate. too busy deleting slides. you can tell by how on slack i’m not


me1150
2019-7-12 04:45:16

out of curiosity, does anyone know how this support in DrRacket is implemented for figuring out this binding:


me1150
2019-7-12 04:45:23

me1150
2019-7-12 04:46:06

it splits the single identifier body:expr that contains a colon and figures out that body is bound below.


me1150
2019-7-12 04:46:22

me1150
2019-7-12 04:46:40

^ this also seems pretty magical. How does this work? special-case support in DrRacket? Or some more general functionality that we can hook into as well?


samth
2019-7-12 04:58:12

me1150
2019-7-12 05:16:03

Oh neat! Thank you for the link


markus.pfeiffer
2019-7-12 05:16:34

is there a (built in) way to have racket infer the type of an expression in our STLC example?


markus.pfeiffer
2019-7-12 05:16:59

(and print the resutl)