zadean / xqerl

Erlang XQuery 3.1 Processor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Erlang types for some common xs:* types internally

zadean opened this issue · comments

xs:boolean has already been changed to use the atoms 'true' and 'false'.

Follow this further by changing:

  • xs:string type from tagged-tuple to utf8 binary
  • xs:integer type from tagged-tuple to integer
  • xs:double type from tagged-tuple to float and the atoms 'nan', 'neg_inf', 'inf', 'neg_zero'

All other types will stay as tagged-tuples.

Done with 485afa8.