convert-roc-scala
Installation
SKILL.md
Roc ↔ Scala Conversion
Bidirectional conversion between Roc and Scala. This skill extends meta-convert-dev with Roc↔Scala specific type mappings, idiom translations, and architectural patterns for moving from platform-based pure functional programming to JVM-based object-functional hybrid programming.
This Skill Extends
meta-convert-dev- Foundational conversion patterns (APTV workflow, testing strategies)
For general concepts like the Analyze → Plan → Transform → Validate workflow, testing strategies, and common pitfalls, see the meta-skill first.
This Skill Adds
- Type mappings: Roc static types → Scala JVM types
- Paradigm translation: Pure functional with platform separation → Object-functional hybrid
- Idiom translations: Roc functional patterns → Scala patterns
- Error handling: Result types → Either/Try/Exceptions
- Concurrency: Platform Tasks → Futures/Actors
- Module system: Roc platform/application architecture → Scala packages/objects
- Type classes: Roc abilities → Scala implicits/type classes