unit - pannous/wasp GitHub Wiki

as in julia and math, a number next to an object means multiplication:

3x == 3*x

we have a problem with significant whitespace though:

3 x == [3 x]

as defined by commaless list semantics

this should be a typical case of ambiguity handled by the compiler by asking the user to specify the intent

since the first case is unambivalent it works out of the box and is especially useful for units:

3km+10m = 3010 meters