On Sun, May 31, 2015 at 1:30 PM, Rustom Mody <rustompm...@gmail.com> wrote: > <Admission> > In a recent course I taught, I used a[0] and a[1:] to split arrays and write > recursive functions a la Haskell in Python. > Is it efficient? no > Is it idiomatic python? NO! > Is it good to do that? That depends on one's priority. > In mine, learning recursion is more important than learning idiomatic python > </Admission>
If recursion is more important than idiomatic Python, why are you using a Python interpreter? Use Python to teach Python, and use Haskell to teach Haskell! ChrisA -- https://mail.python.org/mailman/listinfo/python-list