10 ms·
I think this would be correct for declarative programming languages, but I don't agree that Haskell is a declarative programming language. Haskell is pure funct
by janetacarr 4y ago
I think this would be correct for declarative programming languages, but I don't agree that Haskell is a declarative programming language. Haskell is pure functional programming in my mind. A declarative programming language might be something more akin to DML SQL for a RDBMS, or HCL for Terraform (pre-looping, v0.X).
- margorczynski 4y agoPure FP languages are declarative just with additional restrictions like referential transparity, no explicit handling of state and immutability of the underlying state. For these restrictions to be effectively held it requires for it to be declarative.
- janetacarr 4y agoOh I see what you mean. I had to look into this a bit. Sorry for the confusion!