<commit_before>-- Examples
-- ========
--
--    > Layer = require "layeredata"
--    > a = Layer.new { name = "a" }
--    > b = Layer.new { name = "b" }
--    > a.x = 1
--    > a.y = 2
--    > b.__depends__ = { a }
--    > b.x = 3
--    > b.z = 4
--    > = a.x, a.y, a.z
--    1, 2, nil
--    > = b.x, b.y, b.z
--    3, 2, 4

local coromake = require "coroutine.make"
local c3       = require "c3"
local serpent  = require "serpent"

local Layer              = {}
local Proxy              = {}
local Reference          = {}
local IgnoreKeys         = {}<commit_msg>Print metatables as strings.<commit_after>-- Examples
-- ========
--
--    > Layer = require "layeredata"
--    > a = Layer.new { name = "a" }
--    > b = Layer.new { name = "b" }
--    > a.x = 1
--    > a.y = 2
--    > b.__depends__ = { a }
--    > b.x = 3
--    > b.z = 4
--    > = a.x, a.y, a.z
--    1, 2, nil
--    > = b.x, b.y, b.z
--    3, 2, 4

local coromake = require "coroutine.make"
local c3       = require "c3"
local serpent  = require "serpent"

local Layer              = setmetatable ({}, {
  __tostring = function () return "Layer" end
})
local Proxy              = setmetatable ({}, {
  __tostring = function () return "Proxy" end
})
local Reference          = setmetatable ({}, {
  __tostring = function () return "Reference" end
})
local IgnoreKeys         = {}
{'fraction_non_alphanumeric': 0.19821826280623608, 'fraction_numerical': 0.016332590942835932, 'mean_word_length': 1.5873320537428024, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '873640', 'n_tokens_mistral': 535, 'n_tokens_neox': 510, 'n_words': 131}