All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy