599
submitted 6 days ago by andros_rex@lemmy.world to c/transmemes
you are viewing a single comment's thread
view the rest of the comments
[-] zea_64 14 points 5 days ago* (last edited 5 days ago)

PR: support polyamory

This also changes the API to take a shared reference rather than ownership of the lovers :3

pub fn lovers(partners: &[&dyn Gender]) {
    println!("smooch~");
}

Oh and while we're at it, for our agender users:

impl Gender for () {}
[-] tuna@discuss.tchncs.de 7 points 5 days ago

PR: Merged

Good call with using a shared reference so now we can kiss our partner(s) more than once!!

Kissing many partners with one big smooch might be hard tho, maybe we need to change the implementation to use combinatorics so that everyone kisses each of their partners at least once.

Since there's no way to tell who kisses who, i can cheat by printing nCr times :3

pub fn lovers(partners: &[&dyn Gender]) {
    match partners.len() {
        0 => {
            println!("ghost smooch~");
        }
        1 => {
            println!("mirror smooch~");
        }
        p => {
            // p >= 2, safe to unwrap
            for _ in 0..ncr(p, 2).unwrap() {
                println!("smooch~");
            }
        }
    }
}
this post was submitted on 31 May 2025
599 points (100.0% liked)

Trans Memes

1819 readers
111 users here now

A place to post memes relating to the transgender experience.

Rules

  1. Follow lemmy.blahaj.zone community guidelines.
  2. Posts must be trans related.
  3. No bigotry.
  4. Do not post or link to pornography.
  5. If a post is tagged with a specific gender identity, keep the conversation centered on that identity.
  6. Posts that assume the viewer’s gender and/or contain potentially triggering content must be spoilered and tagged at the beginning of the post title. Example content-warning tags that you can copy include the following:
  1. Mods can be arbitrary.

Recommendations

  1. Include other tags in posts for example:
  1. Include image description when possible.
  2. Link to source

founded 2 years ago
MODERATORS