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.runtime/TypeBox

TypeBox

scala.runtime.TypeBox
final abstractclassTypeBox[-L <:U,+U]

A type for skolems that are generated during capture conversion. Capture conversion narrows the type of a tree whose type has wildcard arguments. A typical situation is a treet of typeC[_ >: L <: U] and an expected typeC[X] whereX is an instantiatable type variable. To be able to instantiateX, we cast the tree to typeX[$n.CAP] where$n is a fresh skolem type with underlying typeTypeBox[L, U].

Attributes

Source
TypeBox.scala
Graph
Supertypes
classObject
traitMatchable
classAny

Members list

Type members

Types

typeCAP >:L <:U

Attributes

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

[8]ページ先頭

©2009-2025 Movatter.jp