Sat Dec 31 23:02:41 CET 2005
abstract/1 takes an erlang data structure and converts it into its
abstract form. I quote from the manual:
"*|*|abstract(Data) -> AbsTerm|*
*|Data = AbsTerm = term()|*
Converts the Erlang data structure |Data| into an abstract form of type
|AbsTerm|. This is the inverse of |normalise/1|."
The other one is for parsing the characters in a string. RTFM. I don't
really see the problem.
Vlad Dumitrescu XX (LN/EAB) wrote:
> I don't usually complain about things ;-) but I find this rather annoying.
> erl_parse:abstract([3,a,5]). --->
> erl_parse...("[3,a,5]"). --->
> I would expect the result to be the same, but abstract/1 treats lists
> of integers as strings, while erl_parse doesn't (the latter being IMHO
> Is there a reason for this discrepancy?
> Happy new year everybody!!
More information about the erlang-questions