@colinhacks ("Colin McDonnell") replied to a tweet by @colinhacks:
Here's a more compact way to implement that second example. This pattern is probably how most people would implement discriminated unions with `z.switch()`:
@colinhacks ("Colin McDonnell") replied to a tweet by @colinhacks:
Here's a more compact way to implement that second example. This pattern is probably how most people would implement discriminated unions with `z.switch()`: