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
But in order to change f x = x + 1 to g x = x + 1, how to specify the old name f?
My usage was like,
➜ try1 ht-refact --no-watch .
Found modules: /Users/sonion/dev/Haskell/use-haskell-tools/try1/Hello.hs
Loaded module: Hello( /Users/sonion/dev/Haskell/use-haskell-tools/try1/Hello.hs)
RenameDefinition Hello 12:1-14:1 g
No name is selected
Thanks!
The text was updated successfully, but these errors were encountered:
SnowOnion
changed the title
How to specify OLD-NAME when using RenameDefinition in the command line refactorer ht-refact
How to specify OLD-NAME when using RenameDefinition in the command line refactorer ht-refactOct 11, 2018
The document said the command format is:
But in order to change
f x = x + 1
tog x = x + 1
, how to specify the old namef
?My usage was like,
➜ try1 ht-refact --no-watch . Found modules: /Users/sonion/dev/Haskell/use-haskell-tools/try1/Hello.hs Loaded module: Hello( /Users/sonion/dev/Haskell/use-haskell-tools/try1/Hello.hs) RenameDefinition Hello 12:1-14:1 g No name is selected
Thanks!
The text was updated successfully, but these errors were encountered: