haskell-binding for R3