Have you read the geekhack TOS lately?
0 Members and 1 Guest are viewing this topic.
If today had been a hippo, then you'd really have to worry about tomorrow.
(define (union-find-find x) (let loop ([root x]) (let ([next (union-find-parent root)]) (cond [(union-find? next) (loop next)] [(equal? root x) root] [else (let loop ([element x]) (let ([next (union-find-parent element)]) (cond [(not (equal? root next)) (union-find-parent-set! element root) (loop next)])))]))))
Quote from: tufty on Tue, 11 November 2014, 06:29:55 (define (union-find-find x) (let loop ([root x]) (let ([next (union-find-parent root)]) (cond [(union-find? next) (loop next)] [(equal? root x) root] [else (let loop ([element x]) (let ([next (union-find-parent element)]) (cond [(not (equal? root next)) (union-find-parent-set! element root) (loop next)])))]))))Which functional language is this? I am not recognising the syntax/libs for some reason.
Quote from: swill on Tue, 25 November 2014, 21:07:46Quote from: tufty on Tue, 11 November 2014, 06:29:55 (define (union-find-find x) (let loop ([root x]) (let ([next (union-find-parent root)]) (cond [(union-find? next) (loop next)] [(equal? root x) root] [else (let loop ([element x]) (let ([next (union-find-parent element)]) (cond [(not (equal? root next)) (union-find-parent-set! element root) (loop next)])))]))))Which functional language is this? I am not recognising the syntax/libs for some reason. Looks a bit like LISP.
Quote from: Computer-Lab in Basement on Mon, 23 March 2015, 15:14:18tp thread is tp threadSometimes it's like he accidentally makes a thread instead of a google search.
tp thread is tp thread
im so glad you've stopped flipping the spacebar
cl_crosshair_drawoutline "0"
Quote from: hwood34 on Wed, 26 November 2014, 12:58:22cl_crosshair_drawoutline "0"Stock crosshair ftw
http://deskthority.net/resources/image/17339
idiots does it take to brake a staircase
I will literally **** you raw paicrai, I hope you're legal by the time I meet you.
Can we get them to build the Alps ten feet higher and get Cherry to pay for it?