Skip to content

a math and other std lib functions for scala

Notifications You must be signed in to change notification settings

doofin/stdScala

Repository files navigation

stdScala

a concise library with debug, math and others utils for scala 3

published on jitpack

usage :

find latest commit at

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"

in JVM

import com.doofin.stdScalaCross.*

in JS

import com.doofin.stdScalaJvm.*

content

dbg print similar to it in rust :

image

will give

image

math ops

logical connectives like def or(bs: Boolean*) and 2D vectors

jvm utils

read,write text file

contributing

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

About

a math and other std lib functions for scala

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages