A friendly programming language from the future.

  • hansl@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    It’s not parenthesis (in the PEMDAS sense), it’s the unit type and it’s normally expressed like that. If you’re not familiar with type systems, it’s the typing equivalent of void.

      • hansl@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        I’m not sure what you’re asking. Plenty of modern languages use the unit type; typescript, Rust, not sure you consider Haskell a modern language.

        From the look of it, this language seems to use it in a function signature declaration, which would make sense.