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
When I run difft X.hs Y.hs with the files below, I expect it to detect the strictness annotations (!) that I've applied to the a and b fields of the X datatype in Y.hs. However, what I get instead is:
❯ difft X.hs Y.hs
Y.hs --- Haskell
No syntactic changes.
This is problematic because strictness annotations in Haskell are important syntax that can have implications for program performance and can even result in compilation errors when certain compiler plugins are used.
Example file X.hs:
moduleXwheredataX=X{a::Int
, b::String}
Example file Y.hs:
moduleXwheredataX=X{a::!Int
, b::!String}
Difftastic version:
❯ difft --version
Difftastic 0.53.1
The text was updated successfully, but these errors were encountered:
When I run
difft X.hs Y.hs
with the files below, I expect it to detect the strictness annotations (!
) that I've applied to thea
andb
fields of theX
datatype inY.hs
. However, what I get instead is:This is problematic because strictness annotations in Haskell are important syntax that can have implications for program performance and can even result in compilation errors when certain compiler plugins are used.
Example file
X.hs
:Example file
Y.hs
:Difftastic version:
The text was updated successfully, but these errors were encountered: