From 42838a87b8f49db2ae5781498edf4192c61a21a6 Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 11 Jul 2024 12:49:35 -0500 Subject: make reg return table --- docs/readme.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'docs/readme.md') diff --git a/docs/readme.md b/docs/readme.md index 9427403..9fbb022 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -4,17 +4,10 @@ with the library in the same directory [(or one of the other valid search locations)](https://www.lua.org/pil/8.1.html) ```lua -require "llib" +llib = require "llib" ``` -which makes a global llib table - -> ### future require versions will eventually return the table -> ```lua -> llib = require "llib" -> ``` - -the table has many subtables and functions, with related function in them, you can view them like so +returns a table has many subtables and functions, with related function in them, you can view them like so ```lua llib.io.pprint(llib) --pprint is a part of the io module, pprint meaning pretty print -- cgit v1.2.3