Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Spice syntax for variants with argument

$
0
0

Hello all, I’m trying to migrate from decco to ppx-spice and I’m wondering how to migrate the following type:

type gameType =
| StandAlone
| Master(string)
| Slave(string)

Can anyone help me?

Thanks!
René


Viewing all articles
Browse latest Browse all 2592

Trending Articles