CurryInfo: ertools-3.0.0 / Database.ERD.ToCDBI.createParametersRight

definition:
createParametersRight :: Int -> Int -> [CExpr]
createParametersRight ind len = case ind of
  0 -> case len of
         0 -> []
         n -> (cvar ("b" ++ show n)) : (createParametersRight 0 $ n-1)
  1 -> (cvar "a") : (createParametersRight 0 len)
  n -> (cvar ("a" ++ (show n))) : (createParametersRight (n-1) len)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
-- Auxiliary function for genGetterSetter that creates the needed amount
-- of parameters for setter-functions on the right side
failfree:
(_, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,_) |-> {:,[]}}
name:
createParametersRight
precedence:
no precedence defined
result-values:
{:,[]}
signature:
Prelude.Int -> Prelude.Int -> [AbstractCurry.Types.CExpr]
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term