Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.09 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.09 KB

Elm interReactor

An elm reactor that allows you to apply the suggestions included in the report of the elm compiler.

screenshot of interReactor

Usage:

npx @funk-team/elm-interreactor

⚠️ This is experimental software. Please commit your files before using this tool and be aware of the known issues.

Known issues

  • sometimes the report for the first compilation is not loaded / stale data is presented. Reloading the browser helps.
  • end of imports can not be detected, adding an import fails silently
  • field names sometimes are suggested on type problems with records

Rationale

As a terminal user, I find myself often just applying suggestions from the elm compiler by reading the line number and applying the fix. Because copying from the output is cumbersome I type the changes manually and make mistakes. This tool automates the process.

Demo (click to play)

interreactor-demo.mp4

Usage

cd same-directory-as-elm-json
npx @funk-team/elm-interreactor