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
NoUnused.Variables doesn't notice that values and valuesFromList are used mutually but never used anywhere else (if that was the case).
type Tree value =Node value |Tree(List(Tree value))values:Treevalue->Listvaluevalues tree =case tree ofNode value ->[ value ]Tree list -> valuesFromList list
valuesFromList:List (Nodevalue) ->ListvaluevaluesFromList list =List.concatMap values list
We should improve the rule to make this kind of discovery and remove both functions.
The text was updated successfully, but these errors were encountered:
NoUnused.Variables doesn't notice that values and valuesFromList are used mutually but never used anywhere else (if that was the case).
We should improve the rule to make this kind of discovery and remove both functions.
The text was updated successfully, but these errors were encountered: