CurryInfo: base-3.4.0 / Prelude.take

definition: Info
 
take :: Int -> [a] -> [a]
take n l = if n <= 0 then [] else takep n l
 where takep _ []     = []
       takep m (x:xs) = x : take (m - 1) xs
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Returns prefix of length n.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> {:,[]}}
name: Info
 take
precedence: Info
 no precedence defined
result-values: Info
 {:,[]}
signature: Info
 Int -> [a] -> [a]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms