[Haskell-beginners] [OT] To Mock A Mockingbird

Lyndon Maydwell maydwell at gmail.com
Wed Sep 8 08:19:43 EDT 2010

I've just read this.

Check out: http://dkeenan.com/Lambda/

Best analysis ever.

On Wed, Sep 8, 2010 at 8:08 PM, Brent Yorgey <byorgey at seas.upenn.edu> wrote:
> On Wed, Sep 08, 2010 at 07:57:14AM -0400, Patrick LeBoutillier wrote:
>> Hi all,
>> I've been reading the book "To Mock A Mockingbird" by Robert Smullyan
>> recently and I don't get the part about the birds at all. I think I
>> understand that a bird is a function, but what would it's type be in
>> Haskell?
>> It says that birds hear a call and answer by another call, so I
>> thought String -> String or something like that. But if you have a
>> mockingbird that can answer what a bird would answer to itself, that
>> means that it's input must contain the other bird... Do all the birds
>> have the same type?
> No, each bird has its own type; each bird represents some particular
> combinator (= polymorphic function).
> -Brent
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list