I mean, after constructing data_list try:
println(typeof(data_list))
To see what actual type you are getting. Sometimes list comprehensions
can't figure out a tight type, and you'll get an Array{Any,1}.
--Blake
On Friday, June 13, 2014 11:06:40 AM UTC-4, Rich Morin wrote:
>
> On Jun 13, 2014, at 06:31, Blake Johnson wrote:
> > What's the type of data_list in the list comprehension version?
>
> It's basically an array of strings, but I'm not doing anything
> explicit to specify that.
>
> -r
>
> --
> http://www.cfcl.com/rdm Rich Morin [email protected]
> <javascript:>
> http://www.cfcl.com/rdm/resume San Bruno, CA, USA +1 650-873-7841
>
> Software system design, development, and documentation
>
>
>