Beginner: How to type a generic decoding function? - Effect Community