Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1004706 // Simple Predictor [Lua]

Lua code

function p(m, s)
  if s ~= nil then c = s:sub(s:len()) end
  return c
end

test run  test run with input  download  show line numbers   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xinetxnxrdbb

No comments. add comment

Snippet ID: #1004706
Snippet name: Simple Predictor [Lua]
Eternal ID of this version: #1004706/1
Text MD5: 91fd4257291ded415901931d4519f02c
Author: stefan
Category: javax / a.i.
Type: Lua code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-27 15:45:03
Source code size: 76 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 644 / 405
Referenced in: #1004707 - Text Learning [Swing]