Scala, Programming, Functional Programming, Type Safety.
constraints for values that are not known at compile time. Last three recipients are invalid and the compiler should fail with the following error messages: As you can see the compile errors provide clear information about what’s wrong. That’s not so common 🙂 Also the compiler won’t let us pass