Is Pseudo typing in Erlang the way to get types?
Posted
by Zubair
on Stack Overflow
See other posts from Stack Overflow
or by Zubair
Published on 2010-03-19T20:18:58Z
Indexed on
2010/03/19
20:21 UTC
Read the original article
Hit count: 133
erlang
For example, to denote a String I could use:
{string,"hjggjhhggJ"}
and a list would be:
{list, [1,2,3]}
: I guess I have found that I am running into situations where I need types, for example to distinguish between strings and lists and I am not sure how to proceed. I do however want to use whatever technique I choose everywhere in my Erlang application for consistency, and not just for strings and lists. Any advice?
© Stack Overflow or respective owner