Foreign.Marshal.Pure
from
linear-base
https://hackage.haskell.org/package/linear-base-0.1.0/docs/Foreign-Marshal-Pure.html
線形型を使ってGCを減らす