I generally use the fact that you can omit the parentheses (or dot) for
conversions of literals, leading to a pretty natural looking notation:
let a = [float 1, 2, 3, 4]
let b = [int8 1, 2, 3, 4]
- shorthand for literal type annotations? jackmott
- Re: shorthand for literal type annotations? pqflx3
- Re: shorthand for literal type annotations? jester
- Re: shorthand for literal type annotations? pqflx3
- Re: shorthand for literal type annotations? jackmott
- Re: shorthand for literal type annotation... Arrrrrrrrr
- Re: shorthand for literal type annota... stisa
- Re: shorthand for literal type an... Jehan
- Re: shorthand for literal type an... Arrrrrrrrr
