Skip to content

Instantly share code, notes, and snippets.

@jnthn
Last active December 16, 2015 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/5354193 to your computer and use it in GitHub Desktop.
Save jnthn/5354193 to your computer and use it in GitHub Desktop.

nqp::flip(...)

  • Should flip a string. A bit tricky as you got to do code-gen to make a Parrot string, call .reverse() on that, and unbox the result.
  • Add a test for it in the nqpop test file
  • Use it in Rakudo's Cool.flip method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment