<div dir="ltr">Hi Marcin,<div><br>There's a char() type available, that's defined as 0..16#10ffff. Perhaps you're not allowed to use $G syntax as it would be unclear what standard your character refers to.</div><div><br></div><div>Regards,</div><div>Max</div><div class="gmail_extra"><br><div class="gmail_quote">On 15 October 2016 at 21:49, Marcin Miszczyk <span dir="ltr"><<a href="mailto:mpmiszczyk@gmail.com" target="_blank">mpmiszczyk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi.<div><br></div><div>Does anyone know why </div><div>-type dna_nucleotide() :: $G | $C | $T | $A. <br></div><div>is not valid sytax, while </div><div>-type dna_nucleotide() :: 71 | 67 | 84 | 65.<br></div><div>of course is? </div><div><br></div><div>mr</div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br>
<br></blockquote></div><br></div></div>