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

Pages: 1-

monadic progrmaming in scheme

Name: Anonymous 2007-09-12 0:29 ID:fbzwbQp3

anyone done it? do you like it? kthx

Name: Anonymous 2007-09-12 3:16 ID:/yCO56JK

HURR Continuation Passing Style.

It took a long time before haskell faggots figured that one out.

Name: Anonymous 2007-09-12 4:57 ID:pul3K6EL

>>1
Just code imperatively when you need side effects. Then code functionally when you need not.

Name: Anonymous 2007-09-12 7:54 ID:CdgvmYIm

http://okmij.org/ftp/Scheme/monad-in-Scheme.html
http://okmij.org/ftp/Scheme/misc.html#monadic-io
http://okmij.org/ftp/Scheme/misc.html#multiple-value-effect

I'd only consider it an academic curiosity though. As >>3 said, Scheme allows lots of programming paradigms and in the spirit of choosing the right tool for the job I think I/O should be coded imperatively.

Name: Anonymous 2007-09-12 13:22 ID:Ysr+LTgU

>>1

(  ____ \|\     /|(  ____ \| \    /\  |\     /|(  ___  )|\     /|
| (    \/| )   ( || (    \/|  \  / /  ( \   / )| (   ) || )   ( |
| (__    | |   | || |      |  (_/ /    \ (_) / | |   | || |   | |
|  __)   | |   | || |      |   _ (      \   /  | |   | || |   | |
| (      | |   | || |      |  ( \ \      ) (   | |   | || |   | |
| )      | (___) || (____/\|  /  \ \     | |   | (___) || (___) |
|/       (_______)(_______/|_/    \/     \_/   (_______)(_______)

Name: Anonymous 2007-09-12 16:23 ID:Heaven

We've been getting a lot of good, coherent posts lately.
What's wrong? Is the "holy fuck at your ID" guy on vacation?

Name: Anonymous 2013-01-19 23:07

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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