Help for this page

Select Code to Download


  1. or download this
        seq_from_spec( \(@site1, @site2) )
            ->seq_concatmap( sub { seq_zip(map seq(split//), @_) } )
            ->seq_foreach(   sub { $counts{"@_"}++ } );
    
  2. or download this
        sub upto  { 1 .. $_[0]     }
        sub supto { seq(upto(@_)); }
    ...
        #  3 => 1
        #  4 => 2
        #  5 => 3