definition:
|
createParametersLeft :: Int -> Int -> [CPattern]
createParametersLeft ind len = case ind of
0 -> case len of
0 -> []
n -> (cpvar ("b" ++ show n)):(createParametersLeft 0 $ n-1)
1 -> (cpvar "_"): (createParametersLeft 0 len)
n -> (cpvar ("a" ++ show n)) : (createParametersLeft (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 left side
|
failfree:
|
(_, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_) |-> {:,[]}}
|
name:
|
createParametersLeft
|
precedence:
|
no precedence defined
|
result-values:
|
{:,[]}
|
signature:
|
Prelude.Int -> Prelude.Int -> [AbstractCurry.Types.CPattern]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|