elm-to-fsharp-guru

Migrate Elm modules to idiomatic F# with Myriad-based code generation.

14|12|Updated Mar 30, 2020
One-click install
npx skills add https://github.com/finos/morphir-dotnet --skill elm-to-fsharp-guru
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: elm-to-fsharp-guru
Source: https://github.com/finos/morphir-dotnet/tree/main/.claude/skills/elm-to-fsharp-guru
Command: npx skills add https://github.com/finos/morphir-dotnet --skill elm-to-fsharp-guru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you migrate Elm codebases to idiomatic F# while preserving behavior, ensuring strong type safety, and delivering AOT-safe code suitable for Morphir workflows.

Core Features & Use Cases

  • Elm-to-F# translation of modules, types, and patterns into idiomatic F# with robust type mapping.
  • Myriad-driven code generation guidance for JSON codecs, lenses, and traversal utilities to minimize reflection and maximize AOT safety.
  • Test extraction & verification by converting Elm documentation tests into unit and BDD tests to ensure behavioral equivalence.
  • UI migration guidance to translate Elm Architecture patterns to Fun.Blazor for modern UI in .NET.

Quick Start

Tell the AI to migrate an Elm module to F# by using the elm-to-fsharp-guru workflow and follow the prompts to produce an idiomatic, testable F# implementation.

Frequently Asked Questions about elm-to-fsharp-guru

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Elm modules to idiomatic F#?▼

To migrate Elm modules to idiomatic F#, use this skill to guide type mapping and pattern translation. It generates behaviorally equivalent, AOT-safe morphir-dotnet artifacts while preserving the original Elm architecture.

How does Myriad-based code generation work for Elm to F# translation?▼

Myriad-based code generation for Elm to F# translation produces JSON codecs, lenses, and traversal utilities. This minimizes reflection and maximizes AOT safety for the resulting morphir-dotnet artifacts.

Can I migrate Elm UI applications to Fun.Blazor?▼

Yes, you can migrate Elm UI applications to Fun.Blazor. The skill provides specific guidance to translate Elm Architecture patterns into modern .NET UI components.

How do I verify behavioral equivalence when converting Elm to F#?▼

You verify behavioral equivalence by extracting tests from Elm documentation and converting them into F# unit and BDD tests. This compatibility verification ensures both Elm and F# outputs match.

What is the best way to translate Elm types into F#?▼

The best way to translate Elm types into F# is by applying robust type mapping and pattern translation guidance. This ensures the translated code remains idiomatic F# while maintaining strong type safety.

Related Skills