[erlang-questions] Element Typing in Record Declarations?

Kostis Sagonas kostis@REDACTED
Wed Feb 25 22:53:06 CET 2009


David Mercer wrote:
> Hadn't noticed that syntax.  Thank-you.  Am replacing:
> 
> 	-type bitstring() :: any().
> 
> with:
> 
> 	-type bitstring() :: <<_:_*1>>.

Apparently, this is an oversight from our/my part.  In R13, bitstring() 
will be added as a built-in type so that the user does not have to add 
this/such declaration.  Thanks to David for noticing this!

Kostis



More information about the erlang-questions mailing list