# Path: databuild/functional.py
# def _composed(f, g, *args, **kwargs):
# def compose(*a):
# def _type_check(values, value_type, check_fn=None, exception=ValueError):
# def guess_type(values):


from datetime import datetime
from decimal import Decimal
from unittest import TestCase
from databuild import functional
import six
            '4',
            '5.7',
        ]
        assert functional.guess_type(values) == float

        values = [
            '1.00',
            '2.50',
            '3.43',
            '4.00',
            '5.70',
        ]
        assert functional.guess_type(values) == Decimal

        values = [
            '2014-01-01',
            '2014-02-01',
            '2014-03-01',
            '2014-04-01',
            '2014-05-01',
        ]
        assert functional.guess_type(values) == datetime

        values = [
            '1',
            'Bob',
            '3.43',
            '2014-04-01',
            '5.70',
        ]

# Path: databuild/functional.py
# def _composed(f, g, *args, **kwargs):
# def compose(*a):
# def _type_check(values, value_type, check_fn=None, exception=ValueError):
# def guess_type(values):


# Path: databuild/tests/test_functional.py
from datetime import datetime
from decimal import Decimal
from unittest import TestCase
from databuild import functional
import six

            '4',
            '5.7',
        ]
        assert functional.guess_type(values) == float

        values = [
            '1.00',
            '2.50',
            '3.43',
            '4.00',
            '5.70',
        ]
        assert functional.guess_type(values) == Decimal

        values = [
            '2014-01-01',
            '2014-02-01',
            '2014-03-01',
            '2014-04-01',
            '2014-05-01',
        ]
        assert functional.guess_type(values) == datetime

        values = [
            '1',
            'Bob',
            '3.43',
            '2014-04-01',
            '5.70',
        ]

        assert functional.guess_type(values) == six.text_type