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
Contributors, listed by year of last commit | |
=== 2015 === | |
* Simon Marlow (11282) | |
* Simon Peyton Jones (8049) | |
* Austin Seipp (697) | |
* Herbert Valerio Riedel (605) | |
* Edward Z. Yang (486) | |
* David Terei (484) | |
* Joachim Breitner (415) |
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
Contributors, listed by year of first commit | |
=== 2015 === | |
* Matthew Pickering (24) | |
* Bartosz Nitka (23) | |
* Ryan Scott (21) | |
* Tamar Christina (19) | |
* David Kraeutmann (8) | |
* Adam Sandberg Eriksson (7) |
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
Number of contributors per year | |
1996 5 | |
1997 7 | |
1998 5 | |
1999 10 | |
2000 18 | |
2001 23 | |
2002 25 | |
2003 22 | |
2004 18 |
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
# Simple Generators | |
# http://www.python.org/dev/peps/pep-0255/ | |
def producer(): | |
a, b = 0, 1 | |
while True: | |
a, b = b, a + b | |
yield a | |
def pull(): | |
p = producer() |
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
## Prelude. | |
from functools import partial | |
from itertools import chain, ifilter, islice, izip_longest | |
def compose(*funcs): | |
"""Return a function such that compose(a,b,c)(arg1, arg2, arg3) | |
is equivalent to a(b(c(arg1, arg2, arg3))).""" | |
# See http://bugs.python.org/issue1660179 | |
def _composefunc(*args, **kw): |
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 <stdio.h> | |
/* Forward declarations. */ | |
class Structure; | |
class Plane; | |
class Cylinder; | |
void print2(Cylinder*, Plane*); | |
void print2(Plane*, Cylinder*); | |
void print2(Cylinder*, Cylinder*); | |
void print2(Plane*, Plane*); |
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
# Generate all unique permutations of an array | |
# with possibly duplicate elements (multiset). | |
# unique_permutations(('A', 'B', 'B')) -> ABB BAB BBA | |
sub unique_permutations | |
{ | |
my @results; | |
my (@list) = @_; | |
if ($#list == -1) { | |
return [()]; |
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
x = 'print "x = " + chr(39) + x + chr(39) + "; exec(x)"'; exec(x) |
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
#!/bin/sh | |
FILES=' | |
Makefile.am | |
*.hpp | |
*.cpp | |
*.py | |
test/Makefile.am | |
test/*.cpp | |
test/*.py |
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
=====> T9586(normal) 4434 of 4635 [0, 3, 0] | |
Compile failed (status 256) errors were: | |
[1 of 1] Compiling Main ( T9532.hs, T9532.o ) | |
ghc.exe: getMBlocks: VirtualAlloc MEM_COMMIT failed: The paging file is too small for this operation to complete. | |
*** unexpected failure for T9532(normal) | |
=====> T9681(normal) 4435 of 4635 [0, 4, 0] | |
timeout.exe: failed to create OS thread: The paging file is too small for this operation to complete. | |
264 [main] python2 5016 fhandler_dev_zero::fixup_mmap_after_fork: requested 0x6FFFD8A0000 != 0x0 mem alloc base 0x0, state 0x10000, size 132997997330432, Win32 error 1455 | |
513 [main] python2 5016 C:\msys64\usr\bin\python2.exe: *** fatal error in forked process - recreate_mmaps_after_fork_failed |
NewerOlder