#ifndef PYTHONIC_INCLUDE_RANDOM_SAMPLE_HPP #define PYTHONIC_INCLUDE_RANDOM_SAMPLE_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/random/random.hpp" #include "pythonic/include/types/list.hpp" PYTHONIC_NS_BEGIN namespace random { template types::list::type>:: type::iterator>::value_type> sample(Iterable &&s, size_t k); DEFINE_FUNCTOR(pythonic::random, sample); } PYTHONIC_NS_END #endif