Hacker News new | ask | show | jobs
by kovrik 3641 days ago
> In math ( * ) is a binary operation.

https://en.wikipedia.org/wiki/Empty_product

I am talking about Empty Product.

In all Lisps I know ( * ) returns 1, (* n) returns n. Which makes sense.

Shen's example is confusing for me.

1 comments

* :: a -> a -> a

Π :: {a} -> a