On Tuesday, 16 October 2018 10:19:49 UTC+3, Mark Carroll wrote:
On 15 Oct 2018, Tuukka Turto wrote:
I would like to have CropsViltedEvent and CropsViltedOptions somehow linked together, so it wouldn't be possible to respond to CropsViltedEvent with some choice related to completely different event.
This part makes me wonder if
https://wiki.haskell.org/Functional_dependencies
is what you want.
-- Mark
Thanks, this seems to be exactly what I was looking for.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)