This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstddef> | |
#include <tuple> | |
#include <utility> | |
#include <sstream> | |
#include <vector> | |
template <typename Tuple, typename F, std::size_t ...Indices> | |
void for_each_impl(Tuple&& tuple, F&& f, std::index_sequence<Indices...>) { | |
using swallow = int[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from itertools import imap, ifilter | |
class map: | |
def __init__(self, callable): | |
self.callable = callable | |
def __ror__(self, *iterable): | |
return imap(self.callable, *iterable) | |
class filter: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6ля | |
6лядь | |
6лять | |
b3ъeб | |
cock | |
cunt | |
e6aль | |
ebal | |
eblan | |
eбaл |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if __name__ == '__main__' and __package__ is None: | |
from os import sys, path | |
sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# Processor of Link Grammar for Russian output. | |
# | |
class LinkParser::Lexer | |
# This exception raises when link grammar is invalid and Lexer | |
# is unable to understand the output. | |
# | |
class InvalidLinkGrammar < RuntimeError | |
attr_reader :input |
NewerOlder