Write a Scheme function evens-odds (using at least one abstract list function), which consumes a list of numbers lst and produces the difference between the sum of the odd numbers and the sum of the even numbers in the list lst. Some examples follow:
(evens-odds (list 1 2 3 4)) => -2
(evens-odds empty) => 0 (evens-odds (list 2 4 16)) => -22 (evens-odds (list 1 3 7 21 13)) => 45
Note: You should use local function(s) only (in case of need).
>>6
«He knows his stuff, but is not a good professor. Very sure of his opinions, and can not take into account others ideas. He treats people badly (like children). Hey Gerry - just cause you have a phd does not mean you should be a loser. Get your head out of academia and hit the real world, fail (cause you will) and learn to treat people with respect.»
"Please... please let me go ze~"
The black-white pleaded to the rainbow magician; while battling the forceful urge within her, Marisa begged again. With tears in her eyes, her actions were simply ignored by an apathetic Alice; sitting not even five feet away and reading a book, peering out the corner of her eye at the witch's struggle. Her many dolls completely restricting Marisa's movement in her time of desperation.
"You must..." the witch whined, "please, release your dolls! I can't take it much more..."
Alice remained idle and flipped a page in her book. The pressure within the Marisa grew greater with every passing second, a force that she could never prevent merely with knowledge and wit.
"I... beg of you... please..." a mixture of tears and sweat streamed from the witch's face and made its way to the magician's wooden floor.
"I... I..." with her last shred of willpower, Marisa fell to the floor. With her face down, in a shameless admit of defeat, a puddle formed from under her; the liquid passing through the thin fabric and drenched her dress within mere seconds. A smirk appeared on Alice's face as the liquid expanded on her floor and made it's way up Marisa's body; the magician placed her book down and walked passed the witch, stepping in the shallow puddle of Marisa's urine.
"I hate you... you damn bitch." With her head still facing the floor, tears multiplied in the witch's eyes and diffused with liquid she exerted moments ago. Whelps and sobs came from Marisa's mouth along with mumbles of "damn Alice..." and "I'll never forgive you."
The magician walked back into the room and tapped the witch on the shoulder; looking up, she saw Alice's hand reaching out. Knowing she couldn't continue to wallow in her piss, she picked herself up and hung her head as Alice lead her to another room.
In Alice's bedroom with the door shut behind them, the magician began to remove the soiled dress of the witch; however, she was met with a forceful hand.
"What are you doing ze~? I don't need your help," muddled Marisa with the slightest hint of red in her cheek. "I can do this myself. Also, what are those things..." she pointed to her bed. Alice picked up one of the white objects; "those can't be..." the magician nodded.
Marisa signed with a hint of disgust, "You get weirder everyday, doll freak..." A thought occurred. "Hey, wait, why do you even have those things?" Hesitant, Alice lifted her skirt and revealed that she herself was wearing a diaper. Despite the humility that bestowed onto Marisa minutes ago, a smile came to her face. "So it is true, you do lea..."
Alice forcefully grunted and a trio of dolls surrounded the witch. One quickly flew behind Marisa and untied her apron and the other two grabbed the straps of her dress and lifted it over her head; the dolls then flew off with the garments. Before the black-white had a chance to fight it, she stood in Alice's bedroom with nothing but her shirt and soaked bloomers.
Alice, face redden, placed her hand on the witch's shoulders and led her to her bed. Marisa, unsure of what she should do, was forcefully seated on the edge and pushed back by the doll otaku.
Alice excitingly placed her fingers on the witch's waist; as she was about to pull down her bloomers, the magician was met with Marisa's grasp.
"No, ze~. Don't you dare do that." Just then, a group of dolls flew onto Marisa and restrained her arms and legs once again. "Dammit, ze~; let me go!" Alice ignored the demand and pulled down the wet bloomers. Staring at what was now exposed, trickles of blood dripped from the magician's nose.
"You sad, lonely freak." Marisa remarked as it was all she could do. Wiping the drippings of passion from her face, she slid the diaper under Marisa. Sprinkling a blot of powder onto the area, she quickly taped the garment into position before she fainted from blood loss.
Regaining her composure, Alice witnessed what she had accomplished and let out a delightful smile. Flushed with redness, she placed her face next to Marisa's and gave her a quick kiss on the cheek. Then with a soft giggle, she slowly walked toward the door.
"I'll make some tea and cakes." The dollmaster opened the door and exited the room; her minions release their grasp on the witch and followed.
Marisa sat up, hearing the unfamiliar crinkle as Alice's success, and pondered what the magician really meant to her.
Suddenly, a huge black snake head with retarded-looking eyes materialized in front of them, and in a loud booming hiss, asked "Have you read your SICP today?"
The surroundings faded into blackness and within a few moments the group found themselves seated in a lecture hall at MIT, amongst several dozen other students. "Welcome to 6.001" was written on the blackboard, and Professor Gerald Jay Sussman walked into the room, dressed in his robe and wizard hat.
"Is this a hack?" he asked as he glanced around and saw the witch, the magician, Alice, and Marisa.
"What...?" Marisa managed to say, all of the confused by what had just happened.
"Nevermind, let's start the lecture." The Sussman said softly.
"I'd like to welcome you to this course on computer science. ... Actually, it's a terrible way to start. Computer science is a terrible name for this business. First of all it's not a science." The Sussman lectured while the students sat and listened attentively.
"What's going on?" Alice whispered to Marisa.
"I have no idea. But this is getting interesting."
"Or we'll actually see that computer... so-called science actually has a lot in common with magic." The Sussman continued.
"But... how can he do that? He's only a human, right?" the witch whispered.
The Sussman, who up until now had paid no attention to the group, turned and stared at the witch with an astonished expression.
"What did you just say?" he asked, pointing his wand at the witch.
All of the other students turned in the direction of the group.
"Nothing," she answered quietly.
"I hope so," The Sussman said in stern tone, ending his pointing with the wand.
"And... well I guess you know everyone needs a magical language and sorcerers, right, real sorcerers use ancient Arcadian, or Sumerian, or Babylonian or whatever. We're gonna control our spirits in a magical language called LISP, which is a language designed for talking about... for casting the spells that are procedures to direct the processes," the Sussman continued, waving his wand around as he spoke.
"What a disappointment. I thought he was going to teach us magic," Marisa muttered almost inaudibly.
Once again, the Sussman quickly turned and stared at her, pointing with his wand.
"Excuse me?" he asked, "What did you say again?"
"Nothing," she replied, trying to avoid attention.
"No, I'm pretty sure you said something. Please repeat it for us, so as not to miss a fine learning opportunity."
"She said, 'What a disappointment. I thought he was going to teach us magic'," the witch exclaimed. At the sound of those words the Sussman's face turned a bright red.
"HOW DARE YOU DOUBT ME!!" The Sussman shouted angrily. "By the power of the Y combinator I send thee to the land of Java!"
The Sussman raised his wand and a pointed it at the group, sending from its blunt point a stream of red parentheses. Almost immediately Alice sent forth her dolls, which collided with the parentheses at 61.8034% of their way toward her, creating a blindingly bright blue ball of plasma. The other students watched in amazement as the parentheses slowly ate their way through the doll-storm towards Alice.
CP: That's a good question. As I said, I just went back to school, and I am considering majoring in urban studies and then going on to urban planning, kind of taking whatever I've learned from online communities and trying to adapt that to a physical community.
Do you even need a degree to form a WEB APP STARTUP? I thought you just needed to read w(p)gtr and then you were qualified enough for Y Combinator funding.
He graduated from Berlin's Luisenstädtisches Gymnasium in 1889. He then studied mathematics, physics and philosophy at the universities of Berlin, Halle and Freiburg. He finished his doctorate in 1894 at the University of Berlin, awarded for a dissertation on the calculus of variations (Untersuchungen zur Variationsrechnung). Zermelo remained at the University of Berlin, where he was appointed assistant to Planck, under whose guidance he began to study hydrodynamics. In 1897, Zermelo went to Göttingen, at that time the leading centre for mathematical research in the world, where he completed his habilitation thesis in 1899.
Name:
Anonymous2013-09-01 19:17
Intersection of the sets A and B, denoted A ∩ B, is the set of all objects that are members of both A and B. The intersection of {1, 2, 3} and {2, 3, 4} is the set {2, 3} .