whole_func_string: function grayTransform (entry, direction, x, dim) { // :: Int -> Int -> Int -> Int
      return bitwise.rotateRight((x ^ entry), dim, 0, direction + 1)
  }
func_code_string: function grayTransform (entry, direction, x, dim) { // :: Int -> Int -> Int -> Int
      return bitwise.rotateRight((x ^ entry), dim, 0, direction + 1)
  }
func_documentation_string: rotate to desired gray using entry sequence