Registry / utility / newtype-2-12

newtype-2-12

JSON →
library0.4.4javamavenunverified

A Scala library providing zero-cost newtype wrappers for type safety without runtime overhead, compiled for Scala 2.12.

<dependency> <groupId>io.estatico</groupId> <artifactId>newtype_2.12</artifactId> <version>0.4.4</version> </dependency>
INSTALL
IMPORT
SIG · NEWTYPE-2-12
N
newtype-2-12
utilityjavav0.4.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NewType
io.estatico.newtype.NewType

Minimal example showing how to create and use a newtype wrapper.

import io.estatico.newtype.NewType; public class Example { public static void main(String[] args) { NewType<String> myType = NewType.apply("hello"); System.out.println(myType.value()); } }
Debug
Known issues
breakingThis library is for Scala 2.12; ensure your project uses the correct Scala version.
fix
Use the artifact for your Scala version (e.g., newtype_2.13 for Scala 2.13).
affects: >=0.4.0
Upgrade
Version history
0.4.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
newtype-2-12 — mvn dependency:get newtype-2-12 · libregistry