dwyl/learn-elixir

Simple but *practical* explanation of pattern matching

开放

#57 创建于 2017年8月9日

 (2 条评论) (0 个反应) (0 位负责人)Elixir (113 个派生)batch import
help wantedquestion

仓库指标

星标
 (1,695 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Pattern matching is one of the core things to understand in Elixir, but I'm yet to find any really good explanations of pattern matching.

Most give you very basic implementations like https://elixirschool.com/en/lessons/basics/pattern-matching/#match-operator, which are ok but leave beginner with very little to build on.

What other things can be done with pattern matching? How is it useful in a live app? Can we add more advanced examples later in the tutorial?

贡献者指南