News for hackers. Stuff that matters.
Re:Is Haskell a good choice for software security? by griffinmb on Friday December 17, 2021 @10:19AM (#29593300)
Effects can definitely help, but a strong type system allows you to encode security concerns for compile time feedback as well.

See https://gmb.is/refinement-types.html for a non-Haskell example.

Re:Is Haskell a good choice for software security? by Quekid5 on Friday December 17, 2021 @11:15AM (#29594190)
For a much simpler example: newtypes can make enforcing proper escaping[0] completely trivial and checked by the compiler. It's very similar to tainted values in Perl except enforced at compile time.

[0] No, not sanitization!