Hi,
I am starting with reasonml and I am creating a bindings for a library that one of the props is generic and next it have an other prop that it is a functions that get the value of the other prop. I know i can do this with functors but i want to know if it is posible to use a syntax like this:
Implementation
let make('data) = ....
use
<MyComponent(string)
prop1="Hi"
prop2={data => data}
/>
If i try to do that i get a syntax error in the implementation, i only want to know if it is possible or something similar or i have to make a functor.
Thank you.