Discussion

Ask HN: How to learn Functional programming using a small language?

I have a strong preference to SML/family than LISP/family or others.

Haskell, Scala, Ocaml, F# and the likes are big and take intimidatingly long time to get a grip over functional way of thinking. I need a small language to make me dive into functional paradigm and concepts as deeply as possible, which rivals maybe even Haskell's depth.

My method of learning requires a resource that provides solving huge number of problems that take a considerably good load on cognitive and mathematical abstractions( like math theories, algorithms and puzzles) as against building something in applied sense. I am opposed to "hit the ground real world with practical projects" as a way of learning for now.

I have strong preference to expressively statically typed compiled languages and a resource that forces me to think functionally. I have dabbled Python and C only superficially. I will return to them after I am comfortable with functional paradigm.

Does any of this mean I have to avoid languages that compile to Javascript? If not, I am open to them as well.

I am frustrated and helpless to come to terms with the fact that many universities can get to teach Standard ML through all helpful resources like gotchas, problem sets, and assignments along with solutions discussed in class at mere introductory year of the curriculum, but none of them being available outside of it online readily if not for free. No MOOCs by them as well.

It would be helpful if the language has enough presence in terms of tooling, documentation and discussion online so that I would be able to progress easily if at all I am stuck anywhere.

All I need is a good resource and please guide me if my approach of problem solving or anything else for being functionally proficient is wrong.

4 points philonoist 7 years ago 6 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton