GHC warns that I do not have function signatures at the top level. I donβt understand why they are needed. The problem with their provision is that they are quite complex, like this one (auto-generated):
applyValue :: forall t t1 t2 t3 t4. (t2 -> t) -> (t2 -> t3 -> t4 -> t1) -> t2 -> t3 -> t4 -> (t -> Bool) -> [t1]
So why don't I add them?
function itself:
applyValue getValueAt stitchAndMove at fabric mark matchAt = if matchAt (getValueAt at) then [stitchAndMove at fabric mark] else []
source share