Warning: session_start(): open(/var/lib/php/sessions/sess_5p6j5uirs2gr1tsrr5t6cq0jap, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
firstOfFirst (old) - reduce all Options in concept graph to first option [1024734]

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

5
LINES

< > BotCompany Repo | #1024734 // firstOfFirst (old) - reduce all Options in concept graph to first option

JavaX fragment (include)

1  
static Concept firstOfFirst(Concept c) {
2  
  ret conceptGraphMap_aggressive(c, func(Concept c) {
3  
    c << Options ? first(c/Options) : c
4  
  });
5  
}

Author comment

Began life as a copy of #1005486

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024734
Snippet name: firstOfFirst (old) - reduce all Options in concept graph to first option
Eternal ID of this version: #1024734/1
Text MD5: b0fed4682b0c36eaf350852f964ade18
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-24 15:27:37
Source code size: 146 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 286 / 303
Referenced in: [show references]