Skip to content

Commit bf1e3be

Browse files
committed
add some annotation ideas
1 parent c736e58 commit bf1e3be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/src/main/scala/coulomb/runtime/runtime.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ object meta:
8080
val rtuU = typeReprRTU(TypeRepr.of[U])
8181
'{ kernelRuntime($v, $u, ${ Expr(rtuU) })(using $cmp) }
8282

83+
// maybe this should return Either[String, Rational]
84+
// this is the core of a hypothetical RuntimeUnitConversion type
8385
def kernelRuntime(v: Rational, rtuF: RuntimeUnit, rtuT: RuntimeUnit)(using
8486
staging.Compiler
8587
): Rational =

0 commit comments

Comments
 (0)