No, this seems to have nothing to do with the pigeonhole principle. It seems to be about the sizes of length-indexed vectors. The "pigeonhole size" is just the vector length, available at the type level. This all seems to be about matching up vectors to representable functors. So it would match up

    data Foo a = Foo a a a a

to the type of vectors of length 4, giving functions to convert between them. I'm ... not exactly sure what purpose this serves.

On Sun, Nov 28, 2021, 11:07 PM Galaxy Being <borgauf@gmail.com> wrote:
Spam detection software, running on the system "mail.haskell.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
@@CONTACT_ADDRESS@@ for details.

Content preview:  This <https://hackage.haskell.org/package/vec-0.4/docs/Data-Vec-DataFamily-SpineStrict-Pigeonhole.html>
   in Hackage is something a rank amateur like me can't fathom. I just hit a
   chapter in a book that dives into the Pigeonhole Principle. Is this the "accompanying
   Haskell Wundercode" for the math world's PHP? I know PHP is a big deal in
   math. I don't see an "author," and I see no documentation. Anyone know how
   I can figure this mystery out, like at least find the author or someone that
   knows something about this? [...]

Content analysis details:   (5.0 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail provider
                            (borgauf[at]gmail.com)
-0.0 SPF_PASS               SPF: sender matches SPF record
-0.0 BAYES_40               BODY: Bayes spam probability is 20 to 40%
                            [score: 0.3039]
 5.0 UNWANTED_LANGUAGE_BODY BODY: Message written in an undesired language
 0.0 HTML_MESSAGE           BODY: HTML included in message
 0.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.




---------- Forwarded message ----------
From: Galaxy Being <borgauf@gmail.com>
To: haskell-cafe <haskell-cafe@haskell.org>
Cc: 
Bcc: 
Date: Sun, 28 Nov 2021 22:05:44 -0600
Subject: What is Data.Vec.DataFamily.SpineStrict.Pigeonhole and why is it following me?
This in Hackage is something a rank amateur like me can't fathom. I just hit a chapter in a book that dives into the Pigeonhole Principle. Is this the "accompanying Haskell Wundercode" for the math world's PHP? I know PHP is a big deal in math. I don't see an "author," and I see no documentation. Anyone know how I can figure this mystery out, like at least find the author or someone that knows something about this?

--

Lawrence Bottorff
Grand Marais, MN, USA
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.