@funk-team/elm-interreactor

0.0.6 • Public • Published

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)

demo

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i @funk-team/elm-interreactor

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

273 kB

Total Files

10

Last publish

Collaborators

  • franzskuffka