Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    \$\begingroup\$ Is that an actual Mathematica built-in? I wouldn't be surprised. :D \$\endgroup\$ Commented Feb 23, 2016 at 4:17
  • 4
    \$\begingroup\$ No, but that can be corrected with Party[_]:=While[True,Print["PARTY!!!"]]. The argument is ignored because all partying is partying. \$\endgroup\$ Commented Feb 23, 2016 at 4:24
  • 1
    \$\begingroup\$ @CatsAreFluffy I disagree. Party[Where] should print Here!, and Party[When] should print Now!, etc. Do not think lightly of partying. \$\endgroup\$ Commented Feb 24, 2016 at 15:29
  • \$\begingroup\$ Party[x_]:=Switch[x,Where,"Here!",When,"Now!",How,Pause[1];"...Really?",_,While [True,Print["PARTY!!!"]]] \$\endgroup\$ Commented Feb 24, 2016 at 16:44
  • \$\begingroup\$ outgolfed[Hard] (by more than 50%) \$\endgroup\$ Commented Jan 28, 2020 at 9:43