Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/<:<

<:<

scala.<:<
See the<:< companion class
object<:<

Attributes

Companion
class
Source
typeConstraints.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
<:<.type

Members list

Value members

Concrete methods

defantisymm[A,B](implicitl:A<:<B,r:B<:<A):A=:=B

IfA <: B andB <: A, thenA = B (subtyping is antisymmetric)

IfA <: B andB <: A, thenA = B (subtyping is antisymmetric)

Attributes

Source
typeConstraints.scala

Implicits

Implicits

implicitdefrefl[A]:A=:=A

A =:= A for allA (equality is reflexive).

A =:= A for allA (equality is reflexive). This also provides implicit viewsA <:< B whenA <: B, because(A =:= A) <: (A <:< A) <: (A <:< B).

Attributes

Source
typeConstraints.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp