Snippets tagged literal

  • Byte literals

    Demonstrates an array initialized from byte literals, which use the 'uy' suffix, and an array initialized from a string byte array literal

    48 people like this

    Posted: 13 years ago by Tim Robinson

  • Simple NumericLiteral example

    You can use numeric literals, constant expressions and operator overloading to make your own arithmetics. Useful in DSL languages. With NumericLiterals, you can use any of Q, R, Z, I, N, G. Basic syntax: [Number][Letter] will forward the call to the type NumericLiteral[Letter] to FromInt32 [Number] (or FromInt64 or FromString...)

    9 people like this

    Posted: 12 years ago by Tuomas Hietanen