Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Enforce the same generic type between two functions

$
0
0

Thanks, was thinking along those lines as well.
One issue with that approach is that I can’t really restrict the Specification to take in a variant that will produce a string. That is another requirement to ensure the runtime behaviour will match.
I suppose that can’t done.


Viewing all articles
Browse latest Browse all 2592

Trending Articles