Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save archer884/e0ab2d186eb9066eb2fb70e6f9fe82b2 to your computer and use it in GitHub Desktop.
Save archer884/e0ab2d186eb9066eb2fb70e6f9fe82b2 to your computer and use it in GitHub Desktop.
1. type Foo = struct { X | Int, Float, Array[X]}
2. type Foo = struct {X ; Int, Float, Array[X]}
3. type Foo = Struct[X; Int, Float, Array[X]]
4. type Foo = struct [X; Int, Float, Array[X]]
5. type Foo = struct X, Y { Int, Y, Array[X] }
1. type Foo = struct {
X |
Int,
Float,
Array[X]
}
2. type Foo = struct {
X;
Int,
Float,
Array[X]
}
3. type Foo = Struct[
X;
Int,
Float,
Array[X]
]
4. type Foo = struct [
X;
Int,
Float,
Array[X]
]
5. type Foo = struct
X: Add X,
Y: Div Y,
{
Int,
Y,
Array[X]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment