Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Powerset short-circuit optimization

by jimt (Chaplain)
on Oct 25, 2006 at 15:15 UTC ( #580599=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    # returns _2_ closures to generate certain powersets
    ...
      # that will prevent sets (AB, AC, A, BC, B, C) from printing out.
    }
    
  2. or download this
    ABCD|
    ABC |ABC |
    ...
      C |  C |    |  C |  C
       D|    |   D|   D|   D
    ()
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://580599]
help
Chatterbox?
[Discipulus]: get them all printed on screen
Discipulus ;=)
[shmem]: silly question, silly answer:
[Discipulus]: i know, i know..
[shmem]: man perlfunc |perl -nle '$ok++ if /Alphabetical Listing of Perl Functions/;if($ok ){$s{$1}++if /^ (\w+)/}}{for(keys %s){$f="prototype \\\&CORE::$_"; eval"$f"||delete $CORE::{$_}}print for sort keys%CORE::'
[shmem]: well, there are some builtins which don't have a prototype...
[Discipulus]: eh eh.. i was looking in toke.c but dunno if is already used
[shmem]: oh the whitespace in the regex got condensed, meh
[shmem]: should be /^ {7}(\w+)/ or such
[shmem]: ...at least for my perldoc on Linux debian 8

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-05-23 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?