• Redkey
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    2 days ago

    Sorry for not being clear; when I said “keep track automatically” I meant dynamic typing. Of course you’re right that “keeping track of your variables” could also be interpreted to refer to static typing.

    • chonglibloodsport@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      Haskell keeps track of your types automatically. You can ask it “what is the type of this expression” and it will infer it for you. Haskell is of course fully static typed (types erased at compile time).