convert to haskell: LIMIT_INNER()マクロ -> limit_inner()