j
k
j a
j l
If so, try working around the monomorphism restriction by changing from a pattern binding to a function binding. fold f = foldRegsUsed f
If so, try working around the monomorphism restriction by changing from a pattern binding to a function binding.
fold f = foldRegsUsed f
Brilliant. I hadn't known about the monomorphism restriction. Now I know it's a 'necessary evil'. Thanks! Norman
Back to the thread
Back to the list