twisol
2017-7-12 16:33:00

did anyone else end up implementing the semantics of Functions3? I just finished mine and would like to compare


twisol
2017-7-12 16:57:56

binding forms make everybody happy


twisol
2017-7-12 17:00:02

@zenspider This is kind of related to the semi-spoilery stuff, yes, but the exact connection still isn’t obvious — I’d say that thread is still a spoiler


shu--hung
2017-7-12 17:53:42

definitely! should I just PM you the code and we discuss?


twisol
2017-7-12 17:53:57

sure!


shu--hung
2017-7-12 17:54:15

And thanks for the hint. I finally also get one program that distinguishes all three functions lang :smile:


twisol
2017-7-12 19:03:45
#lang RacketSchool/FunctionsAll

(defun (p x)
  (if (zero? (+ x -50))
      (++ 1 1)
      (+ x 1)))
(defun (h x)
  (if (zero? x)
      0
      (p (h (+ x -1)))))

(h 4)

twisol
2017-7-12 19:03:55
4
0
'stuck

ettrai
2017-7-12 19:20:25

@ettrai has joined the channel


twisol
2017-7-12 19:23:13

fyi, I was trying to use RacketSchool/VariablesAll, but I was getting 'syntax-error until I updated the languages package again.


twisol
2017-7-12 19:23:18

in case someone else runs into that



zeeshanlakhani
2017-7-12 19:25:50

He also has a great talk called the birth and death of javascript


twisol
2017-7-12 19:51:44

and that’s not even counting generators and async functions and …


twisol
2017-7-12 20:57:40

If anyone here is unfamiliar with the joy of Google Translate, and why some of us laughed at that comment, see this video: https://www.youtube.com/watch?v=3-rfBsWmo0M


twisol
2017-7-12 21:45:03

“On the expressive power of programming languages” https://link.springer.com/content/pdf/10.1007/3-540-52592-0_60.pdf


fbie
2017-7-12 22:03:58

The Natural History Museum of Utah will be open until 9pm today and it is located very close to campus, about 15 minutes by foot. Admission is $15 for adults. They exhibit a whole lot of dinosaur fossils. There were a quite few others who were interested in going, so I’d propose to go to day after dinner, maybe around 6:30pm and spend the evening there until either we get bored or they throw us out.

NHMU website: https://nhmu.utah.edu/visit/hours Directions: http://bit.ly/2uaCveX


zenspider
2017-7-12 22:27:53

I’m in. Probably going to whisky street pub afterwards for dinner & homework-enhancing libations


zenspider
2017-7-12 22:56:11

Anyone know why this paper is so different from the springer link above? http://www.sciencedirect.com/science/article/pii/016764239190036W (I can’t link directly to it. Their CDN is stamped)


zenspider
2017-7-12 22:57:05

eg, mine has twice as many references in the back. Also section 2 is drastically different


twisol
2017-7-12 22:57:17

possibly the “revised” bit under the title? I think the one I linked was ’90


twisol
2017-7-12 22:57:44

hmm, doesn’t seem to be


twisol
2017-7-12 22:57:50

would wager it’s the “revised” bit though.


zenspider
2017-7-12 22:58:02

yeah. I couldn’t find a date on yours… but “revised” seems a bit much given the differences I’ve found


twisol
2017-7-12 22:58:28

do you recommend the sciencedirect edition over the springer edition?


zenspider
2017-7-12 22:58:45

On the expressive power of programming languages, pt 2: electric boogaloo


zenspider
2017-7-12 22:59:08

I do because you can actually use your mouse to highlight text… but not recommended on content differences yet. :slightly_smiling_face:


zenspider
2017-7-12 23:01:54

mine does seem extended a fair amount. look at the second paragraph in the first section


zenspider
2017-7-12 23:02:55

I might grab some of the other papers from that sciencedirect link.


vincent_nys
2017-7-12 23:48:58

@vincent_nys has joined the channel


vincent_nys
2017-7-12 23:50:25

I’m in. So dinner at… 6, meet up in the lobby at 6.30?


vincent_nys
2017-7-13 00:08:47

Okay, I’ll assume you meant dinner at 6.30…


zenspider
2017-7-13 04:16:47

I love (yet find it ridiculous) that (test-results) is special-cased to say Both tests passed.


dan
2017-7-13 04:18:09

@zenspider I believe there’s a case for a single test as well


zenspider
2017-7-13 04:18:38

I sorta wish I could get emacs to display emoji so I can name my test function :thumbsup:


zenspider
2017-7-13 04:18:45

yup


leafac
2017-7-13 04:21:34

leafac
2017-7-13 04:21:57

What happens when you try that?


zenspider
2017-7-13 04:23:58

comes up blank for me. might be my font setup? I dunno.


leafac
2017-7-13 04:26:17

For me, it automatically falls back to Apple Color Emoji. DrRacket renders just blank like your Emacs, I’m afraid.


awe
2017-7-13 04:37:45

If you’re on a Mac, you’ll want t make sure you install emacs-plus via homebrew.


awe
2017-7-13 04:37:55

Emacs removed multicolor font support since it’s not supported on Linux.


awe
2017-7-13 04:38:16

I contributed a patch to the emacs-plus formula that reenables it.



awe
2017-7-13 04:38:43

People frequently use it with spacemacs, but there’s no requirement to do so.


leafac
2017-7-13 04:40:01

Alternatively, there’s the emacs cask: brew cask install emacs. That’s how I installed it, anyway :slightly_smiling_face:


zenspider
2017-7-13 05:18:17

is there an addendum for the redex book anywhere? the syntax in the book is a bit crufty. not sure what else changed


zenspider
2017-7-13 05:18:33

I have a brew cask of emacs… hrm


zenspider
2017-7-13 05:39:36

@leafac hrm. nope. I just reinstalled via that. same problem.


zenspider
2017-7-13 05:48:14

emacs-plus… nope. that thing is a monster…