Skip to content

Instantly share code, notes, and snippets.

@bleroy
Created February 16, 2020 23:21
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 bleroy/2f2751df1b0279a6d529288edf3db083 to your computer and use it in GitHub Desktop.
Save bleroy/2f2751df1b0279a6d529288edf3db083 to your computer and use it in GitHub Desktop.
(U, T) Swap<T, U>((T x, U y) pair) => (pair.y, pair.x);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment