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

5
LINES

< > BotCompany Repo | #1026652 // ai_iterator_starPatternFromFirstWords

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

Libraryless. Click here for Pure Java version (2807L/17K).

static ItIt<S> ai_iterator_starPatternFromFirstWords(S s) {
  LS tok = nlTok6(s);
  ret mapI(countIterator_exclusive(1, countTokens(tok)), n ->
    takeFirstTokens(n, tok) + " *");
}

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: #1026652
Snippet name: ai_iterator_starPatternFromFirstWords
Eternal ID of this version: #1026652/1
Text MD5: ca0bf90d04141d89a3d6ae80d51b484a
Transpilation MD5: cb453ba60ed143cc81402f3056cf7080
Author: stefan
Category: javax / electric logic engine
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-18 16:43:10
Source code size: 186 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 186 / 261
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1026662 - ai_iterator_starPatternFromLastWords