Because Funx has comprehensive usage rules for every abstraction, it becomes an ideal teaching tool. Learn functional programming concepts through guided practice with Claude, ChatGPT, or other AI assistants.
Start LearningThis downloads the practice environment and installs the Funx library dependencies.
Launch Claude, ChatGPT, or your preferred AI assistant and give it this prompt:
Try the examples and ask questions:
You: "How should we handle validation with Either?"
AI: "Let's look at the Either patterns in the usage rules..."
You: "Show just one rule, in isolation"
AI: "Here's a simple Either validation example..."
You: "Good, but remember the usage rules about avoiding case statements"
AI: "You're right, let me use bind instead..."
This iterative approach keeps learning focused and prevents over-engineering.
Walk through example.txt
in the root directory and paste commands into IEx.
See questions.md
in the root for learning goals and prompts. Use them with LLMs or for self-assessment.
Add new entities, rules, or capabilities. Ask where the patterns hold and where they get in the way.