You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’d like to write tools that edit my cabal file in place, and cabal-fmt seems to be the most suitable starting point. But all the interesting code seems to be in the internal cabal-fmt-internal sublibrary, so I cannot easily extend it.
Do you plan to make the this functionality available for extension?
Or, alternative, what’s your advise for a cabal-modifying tool?
The text was updated successfully, but these errors were encountered:
I guess since I only have to change the value of existing fields, for my initial experiments I can use the Cabal-syntax parser to get fields with source positions, calculate the new values, and then splice them into the original source.
I’d like to write tools that edit my cabal file in place, and
cabal-fmt
seems to be the most suitable starting point. But all the interesting code seems to be in the internalcabal-fmt-internal
sublibrary, so I cannot easily extend it.Do you plan to make the this functionality available for extension?
Or, alternative, what’s your advise for a cabal-modifying tool?
The text was updated successfully, but these errors were encountered: