Scala

Scala is a general-purpose programming language providing support for functional programming and a strong static type system. Designed to be concise, many of Scala's design decisions aimed to address criticisms of Java.
Here are 12,551 public repositories matching this topic...
-
Updated
Apr 29, 2022 - Scala
-
Updated
Jan 9, 2021 - Scala
We use sbt-dynver to set the version for the Play project based on git tags.
E.g. when you run sbt in the Play project folder you will see:
// If you haven't you need to get the Play framework source code
git clone git@github.com:playframework/playframework.git
cd ./playframework
// You are in the master branch now, from which we want to rele
Exact URL where the bug happened
Created a team for testing purposes
https://lichess.org/team/cmgchess/request/new
Steps to reproduce the bug
Go to https://lichess.org/team/cmgchess
Click on "JOIN TEAM"
What did you expect to happen?
I should have access to the "Join Team button
-
Updated
Apr 29, 2022 - Scala
-
Updated
Apr 4, 2022 - TeX
-
Updated
Apr 27, 2022 - Assembly
-
Updated
Apr 28, 2022 - Python
-
Updated
Apr 13, 2022 - Python
Let's support at least reading "b3" header from a single string, most commonly traceid-spanid-1
It would also be nice to support optionally writing this, especially in message providers or others with constrained environments.
Expected behavior
As discussed on openzipkin/b3-propagation#21 and first implemented here: https://github.com/openzipkin/brave/blob/master/brave/src/main/java/bra
-
Updated
Feb 9, 2022 - Java
Not that complicated to implement:
- introduce in SslClientContext the same kind of changes as in SslServerContext so it's no longer
Compiler version
3.0.1-RC1
Minimized example
class Bag extends reflect.Selectable
val m = new Bag { val f = 23; def g = 47; def h(i: Int): Int = i }
Output
in the repl the type printed has a type that is not source compatible
scala> val m = new Bag { val f = 23; def g = 47; def h(i: Int): Int = i; var i = 101; type N = Int }
val m: Bag{f: Int;
Show[Throwable]
I just came across the fact that a Show[Throwable]
exists.
- It is not wired up into
import Scalaz._
, one needs toimport scalaz.std.java.throwable._
- It discards the stack trace entirely.
What's going on with this? :D
Is it OK if I fix both of these (for 7.2 and 7.3)?
steps
I have reproduced the bug with both sbt 1.6.2 and 1.6.0, but no problem with sbt 1.5.8.
To reproduce, just take any SBT project using SBT 1.6 and try to compile with Scala 2.12.4, eg.
sbt new scala/scala-seed.g8
# cd into directory and change Scala version to 2.12.4
sbt compile
Note that the issue does not show up with Scala versions 2.12.2, 2.12.3, nor 2.12.5.
-
Updated
May 1, 2022 - Scala
Description
It looks the Polynote doesn't support to configure Scala REPL like other notebook product.
For example, jupyter notebook support to configure Scala REPL such as
interp.configureCompiler(_.settings.outputDirs.setSingleOutput(replClassPath))
interp.configureCompiler(_.settings.Yreplclassbased)
Some configuration is hard-coded such as settings.Ydelambdafy.value
is s
The code in question should be here.
https://github.com/scala-native/scala-native/blob/63d07093f6d0a6e9de28cd8f9fb6bc1d6596c6ec/test-interface/src/main/scala/scala/scalanative/testinterface/signalhandling/SignalConfig.scala#L45-L71
Potential idea for a fix.
https://stackoverflow.com/questions/16509614/signal-number-to-name
-
Updated
Apr 29, 2022 - Jupyter Notebook
-
Updated
Apr 30, 2022 - Emacs Lisp
-
Updated
Apr 21, 2022 - Python
-
Updated
Apr 30, 2022 - Kotlin
At this moment relu_layer op doesn't allow threshold configuration, and legacy RELU op allows that.
We should add configuration option to relu_layer.