functional-csharp-code
functional-csharp-code copied to clipboard
How to lift a function into Validation
In book P198, I learned how to lift a function into Validation by calling Valid(PhoneNumber.Create). But it didn't work in my exercise. Valid is only used for data type T, not a function. Can someone help me out? Thanks.