io.github.iltotore.iron.numeric.Main.scala Maven / Gradle / Ivy
package io.github.iltotore.iron.numeric
import io.github.iltotore.iron._, constraint.{_, given} , numeric.constraint.{_, given}
object Main {
def log(x: Double / Greater[0d]): Raw[Double] = refined {
Math.log(x)
}
@main def testMain(): Unit = {
val x: Double / Less[8d] = 4d
}
}