libretto.util.Equal.scala Maven / Gradle / Ivy
The newest version!
package libretto.util
/** Used to document laws in a typechecked manner. The purpose of expression `Equal(f, g)` is just to ensure
* that `f` and `g` compile and are of the same type.
*/
case class Equal[A](a1: A, a2: A)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy