• KaKi87@jlai.luOP
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

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

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