haskell / bytestring

An efficient compact, immutable byte string type (both strict and lazy) suitable for binary or 8-bit character data.
http://hackage.haskell.org/package/bytestring
Other
291 stars 141 forks source link

Question concerning the use of "blats" #230

Closed ericdeansanchez closed 4 years ago

ericdeansanchez commented 4 years ago

Hello, I've begun to read through the codebase and came across the term blats and wondered what this term refers to.

While I'm hoping to be enlightened, I'd be equally happy to contribute a few spelling corrections (if desired/valued, of course).

https://github.com/haskell/bytestring/blob/e6cb01e2ec0bfdd19298418c85f220925a9fa307/Data/ByteString/Internal.hs#L274

Also, the comments are entertaining, thanks for the good read!

sjakobi commented 4 years ago

It might be a misspelling of "blasts"?!

ericdeansanchez commented 4 years ago

Yeah, that's what I was thinking... I could open a PR on it..? There certainly is a misspelling in the line above as well in effeciently:

https://github.com/haskell/bytestring/blob/e6cb01e2ec0bfdd19298418c85f220925a9fa307/Data/ByteString/Internal.hs#L273

sjakobi commented 4 years ago

Yeah, typo fixes are very welcome! :) It might just take a while until your PR is merged.

ericdeansanchez commented 4 years ago

Cool, thanks! No worries! Thanks for the response––really appreciated :)

chessai commented 4 years ago

i wonder if there is some way to have spellchecking on comments? there's probably editor plugins for that

vdukhovni commented 4 years ago

The only other word that's close is blit, but we're not dealing with bitmapped graphics, so likely not the intended one...

ericdeansanchez commented 4 years ago

Googling something like "blats the list into memory" returned results for both BLAT and BLAST where BLAT stands for "Blast-like alignment tool." Apparently BLAT is:

a pairwise sequence alignment algorithm that was developed by Jim Kent at the University of California Santa Cruz (UCSC) in the early 2000s to assist in the assembly and annotation of the human genome.

While interesting, I don't think this comment is a reference to that either ha.

vdukhovni commented 4 years ago

So blast wins...

chessai commented 4 years ago

I am nearly 100% certain this is supposed to say blast

On Wed, Jun 24, 2020, 8:38 PM Viktor Dukhovni notifications@github.com wrote:

So blast wins...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/haskell/bytestring/issues/230#issuecomment-649195790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOIX25KOUDEZFOZRMQVQFLRYLBCBANCNFSM4OC3Z2OQ .

chessai commented 4 years ago

To clarify somewhat, IIRC this same usage of blast appears in binary

On Wed, Jun 24, 2020, 8:38 PM chessai chessai1996@gmail.com wrote:

I am nearly 100% certain this is supposed to say blast

On Wed, Jun 24, 2020, 8:38 PM Viktor Dukhovni notifications@github.com wrote:

So blast wins...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/haskell/bytestring/issues/230#issuecomment-649195790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOIX25KOUDEZFOZRMQVQFLRYLBCBANCNFSM4OC3Z2OQ .