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

7
LINES

< > BotCompany Repo | #1026694 // ai_indentedLinesPropositions

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2551L/16K).

static L<Proposition> ai_indentedLinesPropositions(S s) {
  LS lines = lines(s);
  new L<Proposition> out;
  for i over lines:
    out.add(withReasoning("line \*i+1*/ is " + (isIndented(lines.get(i)) ? "" : "not ") + "indented", "line \*i+1*/ is " + quote(lines.get(i))));
  ret out;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026694
Snippet name: ai_indentedLinesPropositions
Eternal ID of this version: #1026694/2
Text MD5: 0fc991fa258c82837e5b8ada57172845
Transpilation MD5: 2181f66d7a2cd7fea48b1bfa954c5231
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-19 00:44:50
Source code size: 291 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 96 / 145
Version history: 1 change(s)
Referenced in: [show references]