Currently, cforRange is parameterised on a union of
Range | NumericRange[Long]
where the element type is selected with a match type on this union.
the cforRangeMacroGen inspects the quoted.Type of the range input and appropriately selects the correct macro to expand if it is a Range or NumericRange[Long]
Future work: potentially can revert back to two inline methods if erasure of inline methods is fixed.
fixes #11
Currently,
cforRange
is parameterised on a union ofwhere the element type is selected with a match type on this union.
the
cforRangeMacroGen
inspects thequoted.Type
of the range input and appropriately selects the correct macro to expand if it is aRange
orNumericRange[Long]
Future work: potentially can revert back to two inline methods if erasure of inline methods is fixed.