Skip to content
/ da4a Public

Util-like standard library written in Scala and for Scala/Java. With a random project name.

License

Notifications You must be signed in to change notification settings

suk-ws/da4a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

da4a (?)

GitHub release
Maven metadata of snapshots
GitHub Workflow Status of test

A util-like standard library written in Scala and for Scala/Java.

With a random project name.

Supported Platforms

Both Scala3 and Java aimed to be supported.

However, due to my primary-used platform is Scala3, and I need to make it available on it as soon as possible to support developing for my other project. Undercurrent stage, we haven't taken enough time and efforts to do test on the Java platform. So the features may not be easy to use with Java.

For the Scala2 platform, I am poor with the scala/sbt build system and cannot work easily with cross-compile in sbt. Additions the reason I have just claimed in the above paragraph, the Scala2 support may not come so quickly without any contributions.

What it contains?

It contains utils, DSLs for scala, and some tiny feature modules that can be used in many projects. This aims to combine the duplicated util code used in multiple projects.

Current features:

  • Bytes data processing
    • Convert a singed byte (or a byte array) to a HEX string
  • Scala DSLs provide a way to do more simple jobs easier
    • some commonly used math operator (/-/(over), *^(pow))
    • extension methods to encapsulate values to scala base data types
  • Library Tools
    • GivenContext -— put(provide) and get(use) variables using its type as the key
  • Series random utils (currently only weighted boolean)
  • Numeric Statistics from the Morny project.

Scheduled features:

  • All the util modules in the existing project (Morny, etc.) that are reusable and have a weight.

Contributes

Feel free to PRs for any reason, include but not only the new features, docs, tests, bug fixes...

About

Util-like standard library written in Scala and for Scala/Java. With a random project name.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages