Search functions

Introduction In this post we'll explore ways of selecting records by comparison of properties. Designing even the simplest scientific examples implied too many decisions on the theoretical level for us to risk here. Instead, we're going to fancy we need holidays. Let's see how we can retrieve properties of some hotels we have in memory. … Continue reading Search functions

Advertisements

Note on coercion

In the last post we saw several means of organizing data, namely templates, subsumption, and examplification. However, those means could be made more effective if there was more direction on how they operate. For instance, examplify() should be able to feed a record without having to repeat type names explicitly, but we didn’t choose the … Continue reading Note on coercion

How to create a record

In the previous example we were trying to append a symbol to a record called 'myrecord'. Let's see how to create this record. We can do this conveniently through make_record(): ? select make_record('myrecord','test') -204 How does this new record, which only has a title and a format, look like: ? select send_full_record(-204,1) -204 63 -201 … Continue reading How to create a record