develooper Front page | perl.perl6.users | Postings from October 2018

flatten?

Thread Next
From:
Tony Ewell
Date:
October 5, 2018 20:37
Subject:
flatten?
Message ID:
aea242e3-279f-aadf-edfb-87e3ed270726@zoho.com
Hi All,

I have been using "flatten" for a while.  I kinda-sotra know
what it means.

 From the following,

https://docs.perl6.org/routine/[%20]#language_documentation_Operators

       The Array constructor returns an itemized Array that does not
       flatten in list context.

What exactly do they mean by "flatten" and "list context"?

Many thanks,
-T

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About