[plt-scheme] Racket solves wiring problems!

From: Joe Marshall (jmarshall at alum.mit.edu)
Date: Mon Mar 15 20:55:46 EDT 2010

If we add the axiom that extension cords are always freely available,
you have the beginnings of category theory.

On Mon, Mar 15, 2010 at 11:33 AM, Robby Findler
<robby at eecs.northwestern.edu> wrote:
> My first thought was "how many connections can there be? I have a
> mildly complex stereo, but there's generally not that many choices in
> it." and then I looked at the code and now my second thought is "how
> do you get any work done?"  :)
>
> (define-av Wii () (Component-Video RCA) ())
> (define-av PS3 () (HDMI-Audio HDMI-Video) ())
> (define-av Xbox360 () (HDMI-Audio HDMI-Video) ())
> (define-av PS2 () (Component-Video RCA) ())
> (define-av Saturn () (S-Video RCA) ())
> (define-av Dreamcast:VGA () (DC:VGA) ())
> (define-av Dreamcast:S-Video () (DC:S-Video) ())
>
> Robby
>
> On Mon, Mar 15, 2010 at 1:01 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>> I had a conundrum hooking up all my audio/video components together
>> this weekend. Racket to the rescue!
>>
>> It's cute and short enough I thought I'd share. Run it and it tells
>> you how to make the connections. You can modify the available
>> components or the query and see different options.
>>
>> Jay
>>
>> --
>> Jay McCarthy <jay at cs.byu.edu>
>> Assistant Professor / Brigham Young University
>> http://teammccarthy.org/jay
>>
>> "The glory of God is Intelligence" - D&C 93
>>
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
>>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
~jrm


Posted on the users mailing list.