[erlang-questions] Proposal for is_iolist/1 guard

Oscar Hellström oscar@REDACTED
Tue May 26 14:20:20 CEST 2009


Hi Maxim,

Wouldn't is_list(X); is_binary(X) be enough?

Maxim Treskin wrote:
> Hello
>
> I see, erlang does not have is_iolist/1 guard, while iolist() type
> used in some places in OTP (i.e. ports interaction).
> Is it possible to add this BIF?
>
> Thank you.
>
> -- 
> Maxim Treskin
> ------------------------------------------------------------------------
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
Best regards

-- 
Oscar Hellström, oscar@REDACTED
Office: +44 20 7655 0337
Mobile: +44 798 45 44 773
Erlang Training and Consulting Ltd
http://www.erlang-consulting.com/




More information about the erlang-questions mailing list