In Scheme, procedures are first class objects. This means that a function can return another function. A function can take a function as its arguments. A function can be stored in a list of functions. Functions can be named (with define) or anonymous (with lambda). Functions can be nested within each other, creating closures - binding variables within the scope of the function. We can use currying to reduce the arity of a function (make it require fewer arguments.)
A silly example that lets us do several of those things with funtions:
(define
(double procedure)
(lambda
(x) (procedure
(procedure x)
)
)
)
So what does this do? Well it's a function that takes a procedure of some argument x and returns another function that applies the procedure twice to x.
(
(double 1+)
3)
results in 5. (add one to three twice). It is the same as typing
(1+
(1+ 3)
)
(
(double cube)
3)
results in 19683. Cube the cube of 3. It is the same as typing
(cube
(cube 3)
)
where cube is defined as
(define
(cube x) (* x x x)
)
These days it's not that exciting that a language supports first-class functions. C doesn't. Ruby doesn't allow nested functions but supports the other things. Fortran doesn't support anonymous functions. Java only partially supports first class functions. But Scheme's support for first class functions is probably part of why it has survived as a usable language in spite of being 43 years old. For example aisleriot, gnome's solitaire game that supports 88 varieties of solitaire, is written in Scheme and GIMP's extensions are written in Scheme. We've been looking at the basic building blocks, but there are libraries for running a web server or building gtk applications.
@teacher you're a regular sherlock holmes with your investigation this game
VOTE: dici
teacher hasn't voted here yet but has indicated a preference. Teacher is playing his heart out this game. for the most part I agree with his thinking, and i'm going to support him. It's not quite follow the cop, but im sticking with the blood hound interrogator for the moment
I'm a bit hesitant on the clemency clear because it stems from the reasoning, "if my town reads are correct, then clemency is also town." Obviously this can lead to the total failure where you have town binned both scum through this thinking. It's fine for day one, but later days this assumption should be one of the first to be challenged. I guess this is more a reminder to myself than anything else since im sure teacher knows this stuff.
It's looking like dici will be replaced soon. He has less than 10 hours to post according to mod's post about prodding him. I'm not voting him again until someone replaces him or he comes back and starts to participate.
In post 340, teacher wrote:, I think we are both at a similar place with the other: Town for now, but definitely willing to revisit as needed.
Exactly. You appear to be town but I'm assuming it's within your abilities to do this as scum. Experienced players who are widely TR'd in newbie games tend to just get NK'd. If they survive to lylo it's time to question everything.
Truuue, which is unfortunate because I think this might be an ideal day length for us as a town. Game sense says that right about now is when we start picking apart our town reads over little things while scum lurks/is replaced
I was going to say that obviously i'd prefer to get a replacement and talk with em etc before a lynch but I think I'm actually just good with this lynch right now.
I still like this wagon composition and target. I’m out for the night So prob won’t contribute til the morning - whether that’s the RL or in game. @ura2- that is indeed why Clem is still in the “sort zone”.
tHIS IS L-1 so give intent and all that. VOTE: dici
In post 357, EGL wrote:I don't like the alternative if he's town though.
Fair. But if he's scum, I'd like to avoid a good scum player replacing-in and casting doubt on this lynch and then the townbloc crumbles as we push other wagons and we end up scrambling for a lynch at EOD after forcing townies to claim and scum NKs a claimed PR.
Because that's how day1 usually goes.
I think it's waaaay more likely he's newbscum scared of the game, than that he's a newb town PR who is legit laying low.
Also, most people on MS call me Loop if they are doing it shortened. For those who've been calling me Dan, it's no problem at all, but thought I'd mention it. I've also been called LD or Elephant but the most common is Loop. Also scumfuck gets thrown around occasionally but I don't care for that name.
Yeah you're probably right. Mod prodded him last night. He logged on after and didn't post. Still want to give him some time as a courtesy. And who knows, we could be hitting scum, so that would be nice.
Dicideaq1 has been prodded. They have (expired on 2019-01-01 07:55:00) to post before I start looking for a replacement. This prod is about 4 hours late because I am just waking up. teacher has the algorithm right but I think he was counting in UTC instead of UTC+1. When we were on 48 hours prods I was able to do the weekends halftime math in my head but I just couldn't get used to the 36 hours shedule so I wrote a script for it.
Yep, he has logged in since the prod.
I say give him until the prod timer hits zero then hammer, but it's your call.
In post 311, Loopdan wrote:
Empflipz, you haven't voted or even said you are scum-reading anybody yet this game. Or even expressed suspicions. If you had to pick your two most likely candidates for scum right now who would it be and why?