Skip to content

Conversation

miniBill
Copy link
Member

@miniBill miniBill commented Jul 7, 2025

No description provided.

@@ -0,0 +1,3 @@
{
"elmLS.elmFormatPath": "elm-format-hack"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental commit?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nooot really? The Do helpers for elm-pages kinda require elm-format-hack to produce sensible formatting

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah right I see. That makes me like the <| \_ -> incantation even less compared to the passthrough variant approach we use in lamdera/script... first person to edit the script is going to get a surprise when the formatting kicks in 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you deal with using the result of previous steps usually? To be fair, this script mostly does <| \_ ->, where a passthrough would work, but what if you actually care about the result instead of ignoring it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've got examples in runtime builds – I'll DM you.

@supermario
Copy link
Member

Can you drop a readme with the incantation required to run this as well? :)

@miniBill
Copy link
Member Author

miniBill commented Jul 8, 2025

Added a minimal comment. There isn't much to say, tbh, no CLI flags, no options, no environment vars to set

@miniBill
Copy link
Member Author

Shall we merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants