Marcel Otto
6e557a8bee
Remove some higher-level functions from the datatypes
...
Higher-level datatype functions should be implemented on RDF.Literal only
2020-05-06 15:17:43 +02:00
Marcel Otto
5819eec0cf
Re-integrate XSD.ex
...
It turned out that the costs of separating the XSD datatypes are too high
and probably not worth the effort, since with its limited scope
probably nobody would want to use XSD.ex outside of the RDF.ex context
anyway.
2020-05-05 23:58:44 +02:00
Marcel Otto
aed10650d8
Finish back to previous equal_value?/2 behaviour
2020-04-18 21:31:42 +02:00
Marcel Otto
733f01e6a9
Revert "Add comparable?/2 functions to RDF.Literal and RDF.Literal.Datatypes"
...
This reverts commit 287839740c
.
2020-04-18 16:39:43 +02:00
Marcel Otto
287839740c
Add comparable?/2 functions to RDF.Literal and RDF.Literal.Datatypes
2020-04-18 00:31:03 +02:00
Marcel Otto
66cc9292c9
Remove canonical/1 calls in RDF.Literal.Generic.compare/2
...
since generic literals don't have a canonical form
2020-04-17 23:03:13 +02:00
Marcel Otto
9e3fbde380
Add missing validity check to cast/1 functions
2020-04-17 00:50:06 +02:00
Marcel Otto
44a3ecb57a
Don't support cast/1 on RDF.Literal.Generic
2020-04-16 23:42:55 +02:00
Marcel Otto
060fac4675
Add update/2 functions to RDF.Literal and the datatypes
2020-04-16 20:57:10 +02:00
Marcel Otto
238c9310be
Add some XSD datatype specific delegation functions
2020-04-16 20:55:30 +02:00
Marcel Otto
2907d817ee
Optimize critical RDF.Literal.Datatype.Registry.rdf_datatype/1 function
2020-04-14 02:39:09 +02:00
Marcel Otto
2be689b2a1
Various datatype fixes
2020-04-12 23:55:34 +02:00
Marcel Otto
6049798b37
Add and fix some Dialyzer typespecs
2020-04-12 21:52:25 +02:00
Marcel Otto
fa4bfdff1a
Change constructor interface of RDF.LangString and RDF.Generic
2020-04-12 04:34:04 +02:00
Marcel Otto
f6146c51b0
Revision of the literal system with extracted XSD datatypes
2020-04-10 23:56:35 +02:00