[erlang-questions] Binary comprehension (was Re: double to float)

Zvi <>
Fri Dec 7 21:43:50 CET 2007


Is there are something like this implemented in R12 ?

  <<B:8 || B<-[1,2,3]>>. 

output should be: 

  <<1,2,3>> 

Zvi 


Kostis Sagonas-2 wrote:
> 
> Zvi wrote:
>> Found the answer:
>> .... SNIP .....
>> 
>> Still doesn't know, how to run this from shell.
>> Also, too bad we can't write something like this:
>> 
>>   <<B:8 || B<-[1,2,3]>>.
>> 
> 
> Full support for binary comprehensions and other goodies like
> the ones you want will be available in the upcoming R12.
> 
> Stay tuned -- it's coming soon in an OTP system near you.
> 
> Kostis
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 
> 

-- 
View this message in context: http://www.nabble.com/double-to-float-tf4635969.html#a14220136
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list