News for hackers. Stuff that matters.
Re:Type-safe GraphQL with OCaml by masklinn on Friday December 01, 2017 @07:02AM (#15823333)
> Couldn’t the type system still allow using the + operator, but requiring the values on both sides to have the same type?

'course it could, multiple languages already do that e.g. Rust (https://play.rust-lang.org/?gist=530fa94d3f451e896ac0d3ddeaf...), Haskell (https://repl.it/repls/FrozenBlondUmbrellabird), Swift (https://repl.it/repls/LuckyNaiveBream)

There are no comments on this comment yet.