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

Monadic cond in LISP

Name: Anonymous 2011-02-08 17:34

I'll now post code written with some obscure macros whose implementation will never be released.


(define-macro mcond
  #:keyword (else =>)
  (macro-case
   (() #f)
   (((t) (e . r) ...) (>> failure-m t (mcond (e . r) ...)))
   (((else . t)) (begin . t))
   (((p => f) (e . r) ...) (>> failure-m (>>= maybe-m p f) (mcond (e . r) ...)))
   (((p . t) (e . r) ...) (>> failure-m (>> maybe-m p (begin . t)) (~ (e . r) ...)))))

Name: Anonymous 2011-02-09 18:07

>>40
premature optimizer detected.

Name: Anonymous 2011-02-09 18:13

>>42
What're these 4 Gbytes of memory for, if not for stack?

Name: Anonymous 2011-02-09 18:19

>>44
We should replace stack with heap then.

Name: Anonymous 2011-02-09 18:25

>>46
Use memory defragmentation, Luke. Even Windows 95 did it.

Name: Anonymous 2011-02-09 18:45

>>48
So defragmentation would be faster. Copying garbage collector already do some form of defrag.

Name: Anonymous 2011-02-09 18:56

>>50
Whats wrong?

Name: Anonymous 2011-02-09 22:00

>>51
Your dna. But it's ok, keep dreaming that your DSL actually exist: every autistic boy needs imaginary friends, even if just LISP

Name: Anonymous 2011-02-10 0:03

>>52
back to anus, plz

Name: Anonymous 2011-02-10 0:32

>>53
Wait, what? You seriously telling someone on /prog/ to
back to anus,

Is it your first day here? Telling someone here gb2anus is like telling swimming fish to swim: it makes no sense. Because /prog/ IS /anus/

IHBTH

Name: Anonymous 2011-02-10 1:11

>>54
And then MILKRIKS4k was an /prog/.

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