Skip to content

Instantly share code, notes, and snippets.

@fracek
Created June 24, 2014 13: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 fracek/82543f398336c1afc244 to your computer and use it in GitHub Desktop.
Save fracek/82543f398336c1afc244 to your computer and use it in GitHub Desktop.
// Given a function that takes an argument and returns n values,
// this helper method applies the function point-by-point to a vector,
// returning n vectors of corresponding results.
define function fake-values (x, #rest r) // HACK: TO AVOID COMPILER BUG
apply(values, x, r)
end function;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment