a concise library with debug, math and others utils for scala 3
published on jitpack
add following in sbt :
resolvers += "jitpack" at "https://jitpack.io"
for scala3:
"com.github.doofin.stdScala" %% "stdscala" % "2515133003"
or replace last string with latest commit
for scala2:
"com.github.doofin.stdScala" %%% "stdscala" % "scala213-910b407538-1"
import com.doofin.stdScalaCross.*
import com.doofin.stdScalaJvm.*
will give
logical connectives like def or(bs: Boolean*)
and 2D vectors
read,write text file
since it's a cross project, the main shared codebase reside in https://github.com/doofin/stdScala/tree/master/shared/src/main/scala/com/doofin/stdScala
the jvm specific code is at https://github.com/doofin/stdScala/tree/master/jvm/src/main/scala/com/doofin/stdScala
start by following the entry at https://github.com/doofin/stdScala/blob/master/shared/src/main/scala/com/doofin/stdScala/stdScalaCross.scala with metals IDE