The short of it is,<br><br>clampNaturalToWord :: Natural → Word<br>clampNaturalToWord n = case n of<br>   NatS# w -> W# w<br>   _ -> maxBound<br><br>results in much better space and time use than naturalToWord, which always takes the least significant Word of the Natural.<br><br><br>Because naturalToWord takes the least significant Word, you always have to check for size before conversion. Even though you do check, GHC has to assume that, after conversion, the big Natural could have resulted in a small Word and will uselessly duplicate all branches for both cases.<br><br>Is there anything wrong with clamping by default in this case?<br><br>--Keith<br><br>Sent from my phone with K-9 Mail.