DEV Community

Discussion on: Thinking in ReScript

Collapse
 
redbar0n profile image
Magne

In the ReScript equivalent: Why didn't you have to associate 'makePoint' with the type 'point'? Was it inferred from naming convention?

Collapse
 
kevanstannard profile image
Kevan Stannard

Yes that's correct. ReScript does quite well with inferring types.