title: Is Pseudo typing in Erlang the way to get types?
body: <p>For example, to denote a String I could use:</p>
  
  <p>{string,"hjggjhhggJ"}</p>
  
  <p>and a list would be:</p>
  
  <p>{list, [1,2,3]}</p>
  
  <p>: 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?</p>
  
  <p>Update:
  An example of where I use this is when I store data values in the Riak datastore which lets you store either lists or strings.</p>