From: Michael Orlitzky Date: Thu, 4 Aug 2011 16:43:27 +0000 (-0400) Subject: Switch the order of the arguments to the 'rotate' function. X-Git-Tag: 0.0.1~250 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=627cae8a6bd5da6cd1a4b51b3eb5bb0f60ecbce2;p=spline3.git Switch the order of the arguments to the 'rotate' function. --- diff --git a/src/FunctionValues.hs b/src/FunctionValues.hs index f9111ad..681a23b 100644 --- a/src/FunctionValues.hs +++ b/src/FunctionValues.hs @@ -137,8 +137,8 @@ make_values values i j k = -- 'Cardinal' to another (called a rotation). Then it applies the -- rotation to each element of the 'FunctionValues' object, and -- returns the result. -rotate :: FunctionValues -> (Cardinal -> Cardinal) -> FunctionValues -rotate fv rotation = +rotate :: (Cardinal -> Cardinal) -> FunctionValues -> FunctionValues +rotate rotation fv = FunctionValues { front = eval fv (rotation F), back = eval fv (rotation B), left = eval fv (rotation L),