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

Favorite function

Name: Anonymous 2010-01-10 22:29

printf

Name: Anonymous 2010-01-10 22:33

eval

Name: Anonymous 2010-01-10 22:37

hax :: MVar Anus -> IO ()

Name: Anonymous 2010-01-10 22:57

>>3
but it's impure!

Name: Anonymous 2010-01-10 23:08

id

Name: Anonymous 2010-01-10 23:15

f <- do { let Just (@:) = Nothing; return (@:); }

Name: Anonymous 2010-01-10 23:17

Suggested topic change: Favorite print function

Mine would have to be printf as well. Those mongoloid addition-sign wielding proponents of print can rot in ignorance for all I care.

Name: Anonymous 2010-01-10 23:20

I enjoy echo and puts.

Name: Anonymous 2010-01-11 0:12

strdupa()
Becase.

Name: Anonymous 2010-01-11 1:54

socket()

Name: Anonymous 2010-01-11 2:09

I like format for being able to print Roman numerals.

Name: Anonymous 2010-01-11 2:58

>>4
is your anus pure? no? i thought so.

Name: Anonymous 2010-01-11 3:12

substr gets a lot of use from me. pure C string manipulation is something of a mystery

Name: Anonymous 2010-01-11 4:52

pure C strings are like pure Neanderthals battling pure saber-toothed tigers..

Name: Anonymous 2010-01-11 6:26

I LOVE PRINTF

Name: Anonymous 2010-01-11 7:08

>>9
Are you Polish or something? Pole? Polar?

Name: Anonymous 2010-01-11 7:33

call-with-current-continuation

Name: Anonymous 2010-01-11 7:44

loeb :: Functor f => f (f a -> a) -> f a

Name: Anonymous 2010-01-11 8:06

For printing:
C, sprintf
CL, format or formatter
format is probably the most superior formatting function I've seen when it comes to features that it's not even funny, but it's more complex, and thus is slower than just sprintf, which is slower than just manually converting your strings. formatter strikes a good balance as it compiles the format string into real code, which means it's usually much faster than printf-likes (imagine what it would be if your printf statement would convert into strdups, itoa's and the like, at compile time, only you could also add conditionals and more complex expressions!).

If I had to pick some general functions... COMPILE and MULTIPLE-VALUE-CALL would be in my list of favorites, but I barely use them directly, even though most things rely on them invisibly.

Name: Anonymous 2010-01-11 8:21

In general I find the call-with-* style functions to be extremely useful, but I'd have to give the prize to apply

Name: Anonymous 2010-01-11 8:35

>>16
I guess you are, if you noticed this.
Also, strrchr. Seems a bit like hrhrhrhrhr

Name: Anonymous 2010-01-11 9:26

cdr(NULL, NULL, NULL, NULL, NULL);

Name: Anonymous 2010-01-11 9:53

fact

Name: Anonymous 2010-01-11 10:59

hehehhehehHEH DICKDICK

Name: Anonymous 2010-01-11 11:15

For string formatting and output: fmt ( http://synthcode.com/scheme/fmt/ )
In general: reset and shift

Name: Anonymous 2010-01-11 11:18

f(x)=sin(x)

Name: Anonymous 2010-01-11 11:18

>>26
f = sin, pointless.

Name: Anonymous 2010-01-11 11:40

Eeeff is my siiiin!

Sorry.

Name: Anonymous 2010-01-11 12:15

>>27
Lrn to math...

Name: Anonymous 2010-01-11 12:20

loeb

Name: Anonymous 2010-01-11 13:27

>>29
Go back to where you came from and do not pester glorious board of /prog/ with your pestilence.

malloc is the best function, though.

Name: Anonymous 2010-01-11 13:33

I love strchr

Name: Anonymous 2010-01-11 13:42

lambda

Name: Anonymous 2010-01-11 14:46

Eval

Name: Anonymous 2010-01-11 15:21

apply

Name: Anonymous 2010-01-11 15:36

(conjure-spirits)

Name: Anonymous 2010-01-11 16:22

main

Name: Anonymous 2010-01-11 16:59

>>12
Actually, unlike you, I don't receive anal sex on a daily basis, so my anus is indeed pure.

Name: Anonymous 2010-01-11 17:16

>>38
How will you do IO with a pure Anus? It doesn't seem very practical to me. In the real world we need impure Anii, and you can fuck off with your ivory tower bullshit.

Name: Anonymous 2010-01-11 18:05

>>1
COMEFROM

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