News for hackers. Stuff that matters.
Re:What Is Good About Haskell? by mrkeen on Thursday October 03, 2019 @07:40AM (#21145834)
Haskell: A Tree ="IS" a Leaf |"OR" a Node

In the Rust syntax ',' means both OR and AND.

A Tree {"IS" a Leaf ,"OR" a Node

A Node ("IS" an A ,"AND" a Box ,"AND" a Box.

There are no comments on this comment yet.