#Distinct typing

1 messages · Page 1 of 1 (latest)

austere citrus
#

Three Questions with code example related to this in the Overview https://odin-lang.org/docs/overview/#implicit-type-conversions:

  1. What are ***examples ***(both directions) of and implicit type conversion in code for the double-ended arrow examples below?

  2. What does ***base *** refer to: bin v hex v dec etc. or f32 v int etc.?

  3. Is this base designation related to the term 'distinct' and if not what does ***distinct ***mean?

distinct proc <-> proc (same base types)
distinct matrix <-> matrix (same base types)
austere citrus
#

From @steady marten : #beginners message

From @lament ruin :
#beginners message
#beginners message

#

The three links to the *beginners * channel answer most of the three questions.

If anyone has another example without pointers for (1) above that would be much appreciated.

#

In both directions....