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
#!/usr/bin/env python | |
def curry(func): | |
""" | |
Decorator to curry a function, typical usage: | |
>>> @curry | |
... def foo(a, b, c): | |
... return a + b + c |
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
<project default="build" basedir="."> | |
<!-- Source, JUnit test code and jar library locations. --> | |
<property name="src" location="src"/> | |
<property name="test" location="test"/> | |
<property name="lib" location="lib"/> | |
<!-- Location to check for local copy of beast2 repository --> | |
<property name="beastDir" location="../beast2"/> |