WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 42764350

(no title)

leifmetcalf | 1 year ago

I was wrong about this. Case is a macro (a special-cased macro even, defined at https://github.com/elixir-lang/elixir/blob/4def31f8abea5fba4...), not a function. It works with pipes because in the AST it's a call, unlike in Haskell where case is its own thing.

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com