[erlang-questions] [Erlyaws-list] String Support, The most needed feature

Kostis Sagonas kostis@REDACTED
Sat Mar 3 23:07:06 CET 2007


orbitz@REDACTED wrote:
> ... SNIP ...  In Erlang the closest we  
> have is a Binary which is limited to bytes as far as I can tell

No, it is not anymore:

-----------------------------------------------------------------------
Erlang (BEAM) emulator version 5.5.3 [source] [async-threads:0] [hipe] 
[kernel-poll:false]

Eshell V5.5.3  (abort with ^G)
1> <<X:2,Y:3,_/bitstr>> = <<63:7>>.
<<63:7>>
2> X.
1
3> Y.
7
----------------------------------------------------------------------

Coming soon to an Erlang shell near you ;-)

Kostis



More information about the erlang-questions mailing list