- Sort Score
- Result 10 results
- Languages All
- Labels All
Results 31 - 40 of 352 for test (0.02 sec)
-
Capture Checking
using `fs` def test(fs: FileSystem^) = val l: Logger^{fs}...# $i") i * i } xs Here, the test method takes a FileSystem as...docs.scala-lang.org/scala3/reference/experimental/cc.htmlRegistered: Fri May 17 04:34:54 UTC 2024 - Last Modified: Thu May 16 15:53:02 UTC 2024 - 92K bytes - Viewed (0) -
SIP-57 - Replace non-sensical @unchecked annota...
/new/test.scala:6:16 ---------- 6 | val...B.scala package example @main def Test = val xs = List [ Any ]( 1 ,...docs.scala-lang.org/sips/replace-nonsensical-unchecked-annotation.htmlRegistered: Fri May 17 05:25:58 UTC 2024 - Last Modified: Fri May 17 05:13:08 UTC 2024 - 51.3K bytes - Viewed (0) -
CanThrow Capabilities
> scala test 1 2 3 14.0 > scala test 0.0 > scala test 1 2 3 100000000000...catches LimitExceeded : @main def test(xs: Double*) = try println(xs.map(f).sum)...docs.scala-lang.org/scala3/reference/experimental/canthrow.htmlRegistered: Fri May 17 04:33:36 UTC 2024 - Last Modified: Thu May 16 15:53:02 UTC 2024 - 56K bytes - Viewed (0) -
Core Library Contributions | Contributing to Sc...
docs.scala-lang.org/contribute/corelibs.htmlRegistered: Fri May 17 04:17:03 UTC 2024 - Last Modified: Thu May 16 15:37:00 UTC 2024 - 38.6K bytes - Viewed (0) -
Dropped: Symbol Literals
Example: scalac Test.scala -- Error: Test.scala:1:25 ----------...---------- 1 |@main def test = println('abc) | ^ | symbol literal 'abc...docs.scala-lang.org/scala3/reference/dropped-features/symlits.htmlRegistered: Fri May 17 04:33:20 UTC 2024 - Last Modified: Thu May 16 15:53:02 UTC 2024 - 24.6K bytes - Viewed (0) -
Companion Objects | Scala Book | Scala Document...
None When running tests like this, it’s best to clear the REPL’s...Person p . name = name p } } To test this code, paste both the class...docs.scala-lang.org/overviews/scala-book/companion-objects.htmlRegistered: Fri May 17 04:02:46 UTC 2024 - Last Modified: Thu May 16 15:37:00 UTC 2024 - 80.6K bytes - Viewed (0) -
Hygiene | Quasiquotes | Scala Documentation
// ---- Test.scala ---- package example object Test extends App...expansion, Test.scala will look like: // Expanded Test.scala package...docs.scala-lang.org/overviews/quasiquotes/hygiene.htmlRegistered: Fri May 17 04:26:29 UTC 2024 - Last Modified: Thu May 16 15:37:00 UTC 2024 - 45.9K bytes - Viewed (0) -
Code Review Contributions | Contributing to Sca...
2 Hacker's Guide Running the Test Suite Contribute to Scala 3...negative critique. Assume the best, rather than the worst. Pull...docs.scala-lang.org/contribute/codereviews.htmlRegistered: Fri May 17 04:16:50 UTC 2024 - Last Modified: Thu May 16 15:37:00 UTC 2024 - 40.4K bytes - Viewed (0) -
Trait Iterable | Collections (Scala 2.8 - 2.12)...
Comparison: xs sameElements ys A test whether xs and ys contain the...sets, apply is a membership test. For instance, Set('a', 'b',...docs.scala-lang.org/overviews/collections/trait-iterable.htmlRegistered: Fri May 17 04:25:00 UTC 2024 - Last Modified: Thu May 16 15:37:00 UTC 2024 - 48.3K bytes - Viewed (0) -
Scala 3 Macros | Macros in Scala 3 | Scala Docu...
inline def test ( inline ignore : Boolean ,...side effects. The macro call test(false, EXPRESSION) will generate...docs.scala-lang.org/scala3/guides/macros/macros.htmlRegistered: Fri May 17 04:28:20 UTC 2024 - Last Modified: Thu May 16 15:37:00 UTC 2024 - 76.3K bytes - Viewed (0)