scalus.utils
Members list
Type members
Classlikes
This object was generated by sbt-buildinfo.
This object was generated by sbt-buildinfo.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
BuildInfo.type
Low-priority Pretty instances for automatic ADT derivation. These are lower priority than manually defined instances.
Low-priority Pretty instances for automatic ADT derivation. These are lower priority than manually defined instances.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Pretty
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Typeclass for pretty printing values to org.typelevel.paiges.Doc.
Typeclass for pretty printing values to org.typelevel.paiges.Doc.
Pretty instances should be defined in companion objects of the types they print. This typeclass supports two rendering modes:
pretty: concise, single-line friendly outputprettyDetailed: expanded, multi-line output with full details
Example usage:
import scalus.utils.Pretty.given
val value: Value = ...
println(value.show) // concise output
println(value.showDetailed) // detailed output
println(value.showHighlighted) // with XTerm colors
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object given_Pretty_ByronAddressobject given_Pretty_Anchorobject given_Pretty_AssetNameobject given_Pretty_Certificateobject given_Pretty_Coinobject given_Pretty_Credentialobject given_Pretty_DRepobject given_Pretty_DatumOptionobject given_Pretty_ExUnitsobject given_Pretty_Languageobject given_Pretty_MultiAssetobject given_Pretty_Redeemerobject given_Pretty_Redeemersobject prettyScriptobject given_Pretty_Timelockobject given_Pretty_Transactionobject given_Pretty_TransactionBodyobject given_Pretty_VKeyWitnessobject given_Pretty_Valueobject given_Pretty_Dataobject given_Pretty_Programobject given_Pretty_Termobject given_Pretty_BigIntobject given_Pretty_Booleanobject given_Pretty_ByteStringobject given_Pretty_Intobject given_Pretty_Longobject given_Pretty_StringShow all
Attributes
Pretty printing style: Normal (plain text) or XTerm (with color highlighting)
Pretty printing style: Normal (plain text) or XTerm (with color highlighting)
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Extensions
Extensions
Get pretty Doc (concise)
Get pretty Doc (concise)
Attributes
Get pretty Doc (detailed)
Get pretty Doc (detailed)
Attributes
Get pretty Doc with XTerm colors (detailed)
Get pretty Doc with XTerm colors (detailed)
Attributes
Get pretty Doc with XTerm colors (concise)
Get pretty Doc with XTerm colors (concise)
Attributes
Render to string (concise, 80 columns)
Render to string (concise, 80 columns)
Attributes
Render to string (detailed, 80 columns)
Render to string (detailed, 80 columns)
Attributes
Render to string with XTerm colors (detailed, 80 columns)
Render to string with XTerm colors (detailed, 80 columns)
Attributes
Render to string with XTerm colors (concise, 80 columns)
Render to string with XTerm colors (concise, 80 columns)
Attributes
Extension method to block and await the result of a Future.
Extension method to block and await the result of a Future.
Value parameters
- timeout
-
maximum duration to wait (default: infinite)
Attributes
- Returns
-
the result of the Future
- Throws
-
Exception
if the Future fails
java.util.concurrent.TimeoutExceptionif the timeout is exceeded