Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, thanks for the response - that actually looks like Haskell and if its performance is not that abysmal (let's say slower than Python), that is pretty cool.

This actually looks quite reasonable - usage string included, I like it. Hats off to you, I will try to compile it to a binary now and do some benchmarking.



Is it really fair to call this an implementation of wc if it is just using a built in function for each case?


These might be reasonable functions to implement in a standard library, so having them it makes sense to use them. I rather feared Idris does not have some IO abstraction (reading/writing) files at all. Maybe I am conflating languages and libraries here, but they often go hand in hand.

My practicability expectations for languages implementing dependent types are pretty low.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: