• KaKi87@jlai.luOP
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    Actual pattern-matching allows matching on the structure of a data type

    That’s a condition, so it can fit in a ternary.