[m-users.] Concise syntax for initialising and updating discriminated union types

Zoltan Somogyi zoltan.somogyi at runbox.com
Tue Jul 19 03:11:40 AEST 2022


2022-07-19 03:04 GMT+10:00 "Volker Wysk" <post at volker-wysk.de>:
>> If I find myself updating two or three fields one after the other more 
>> than once then I just abstract it away into a predicate so it's following
>> DRY, and if one is really concerned with performance then you can 'inline'
>> it by I don't go that far.
> 
> What does "DRY" mean?

https://en.wikipedia.org/wiki/Don%27t_repeat_yourself

Zoltan.


More information about the users mailing list