Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

...guess

Name: Anonymous 2010-04-27 8:58


foldl1 (++) $ List.intersperse "-n" (replicate 3 "om")

Name: Anonymous 2010-04-27 9:14

Sorry, i'm not really into Pokemon.

Name: Anonymous 2010-04-27 9:24

Wouldn't it have been easier just to type "om-nom-nom"?

Name: Anonymous 2010-04-27 9:28

>>3
Probably yes, however it wouldn't have been so funny nor challenging for you to... well, not so challenging, anyways.

Name: Anonymous 2010-04-27 9:28



    Sorry, i'm not really into Pokemon.

Name: Anonymous 2010-04-27 9:30

(string-join (make-list 3 "om") "-n")

Name: Anonymous 2010-04-27 9:33

>>4
It was neither funny nor challenging.

Name: Anonymous 2010-04-27 9:33

>>6
Which language did you use?
also '-n'.join(('om' for x in xrange(3))) in FIOC

Name: Anonymous 2010-04-27 9:51

>>7
Oh come on, don't be rude with Anonymous. He just wanted to make you enjoy some well written code.

Name: Anonymous 2010-04-27 9:53

SORRY, IM NOT REALLY INTO POKEMON

Name: Anonymous 2010-04-27 10:00

take 10$cycle"om-n"

Name: Anonymous 2010-04-27 10:01

>>11
even better: cycle"om-n"

Name: Anonymous 2010-04-27 10:09

>>8
scheme, string-join comes from srfi 13

Name: Anonymous 2010-04-27 13:49

>>13
Actually, it is Haskell

Name: Anonymous 2010-04-27 13:54

>>11
OP SAYS: pretty smart, master.

Name: Anonymous 2010-04-27 14:07

>>14
Thanks for telling me what language I wrote my own code in, whatever would I do without you

Name: Anonymous 2010-04-27 14:08

join "-n", (split "-", ("om-" x 3))

Name: Anonymous 2010-04-27 14:10

echo {,n,n}om

Name: Anonymous 2010-04-27 14:19

>>13

Sorry, Anonymous, my post was an answer for the guy in >>8 .

Name: Anonymous 2010-04-27 14:26


ruby -e 'puts Array.new(3){|n|(n>0?"n":"")+"om"}.join("-")'

Name: Anonymous 2010-04-27 14:38


#define P putchar
#include <stdio.h>
int x = 0157; int main() { P(x--); P(--x); P((++x)-65); P(x++); P(x--); P(--x); P((++x)-65); P(x++); P(x--); P(--x); P(10); }

Name: Anonymous 2010-04-27 15:55

>>21 o_o
also +++++++++++[>++++++++++>++++++++++>++++++++++<<<-]>+>>-<<<<+++++[<+++++++++>-]>>.>>.<<<<<.>>>>.<.>>.<<<<<.>>>>.<.>>.

Name: Anonymous 2010-04-27 16:45

SORRY, IM NOT REALLY INTO POKEMON

Name: Anonymous 2010-04-27 16:52

ENTERPRISE C SOLUTIONS


#include <stdio.h>
#define C(c) putchar(c);
int main() {
  unsigned char o=111,b;
  for(b=o-99;b-2;b--) { C(o);if(b&2) o^=1<<6; if(!(b&1)) o^=1<<1; if(!!(b&1)^(!!(b&2))) o^=1; }
  C('\n');
  return 0;
}

Name: Anonymous 2010-04-27 16:59

>>23
back to /xkcd/, please

Name: Anonymous 2010-04-27 17:16


Transcript show: ((#('Not' 'into' 'Pokemon') collect: [ :e | 'om' ]) join: '-n'); nl.


Newbie Smalltalker here, feel free to improve.

Name: Anonymous 2010-04-27 23:28

>>23
back to /buttsort/ plz

Name: Anonymous 2010-04-28 0:08

join "-n","om","om","om"
join qw/-n om om om/
join "-n",map "om",1..3

Name: Anonymous 2010-04-28 1:40

msum[x<|>y|x<-["om"],y<-ap(:)(:[[]])"-n"]

Name: Anonymous 2010-04-28 2:21

>>28
u mena join-n,(om)x3?

Name: Anonymous 2010-04-28 3:03

>>29
improved!
(((<|>).((<|>)<$>(!!0)<*>(!!1)))<*>(!!2))[x<|>y|x<-["om"],y<-(<*>)(:)(:[[]])"-n"]

Name: Anonymous 2010-04-28 19:07

>>31
The true beauty of pointfree.

Name: Anonymous 2010-04-28 19:37

>>30
I came a little in my pants.

Name: Anonymous 2010-04-28 19:38

nigger anus

Name: Anonymous 2010-04-28 23:24

>>34
* African American

Name: Anonymous 2010-04-29 11:51

pissing

Name: Anonymous 2010-04-29 14:06

>>36
[su]*[/sup] Urinating

Name: Anonymous 2010-04-29 14:06

>>37
Oh fuck, bbcode fail.
* Urinating

Name: Anonymous 2010-04-29 15:40

>>32
You meant pointless, right?

Don't change these.
Name: Email:
Entire Thread Thread List