<div dir="ltr">Hello Haskellers,<div><br></div><div>Does anyone know how to call popCnt64# from the GHC.Prim module?</div><div><br></div><div>This was my failed attempt:</div><div><br></div>λ> popCnt64# 1<br><br><br><interactive>:14:11:<br> Couldn't match kind ‘*’ with ‘#’<br> When matching types<br> a0 :: *<br> Word# :: #<br> Expected type: Integer -> Word#<br> Actual type: Integer -> a0<br> In the first argument of ‘popCnt64#’, namely ‘1’<br> In the expression: popCnt64# 1<br> In an equation for ‘it’: it = popCnt64# 1<div><br></div><div>-John</div><div><br></div></div>