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.
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 51:20:30 |
Calls: | 6,649 |
Calls today: | 1 |
Files: | 12,200 |
Messages: | 5,330,303 |