articles icon indicating copy to clipboard operation
articles copied to clipboard

State where not-bottom assumption was used

Open TysonMN opened this issue 4 years ago • 1 comments
trafficstars

In your excellent article about how the first functor law implying the second in Haskell, I see where you used applied the first functor law and the free theorem, but I don't see where you assumed that none of the types involved were the bottom type.

Do you think you could improve that proof by making the use of this assumption explicit?

TysonMN avatar Sep 25 '21 16:09 TysonMN

Do we need to assume no bottom type to obtain the free theorem for fmap?

TysonMN avatar Sep 29 '21 11:09 TysonMN

Cleaning up old open issues/discussions.

I think you mean (well, meant – 2 years ago :grimacing:) bottom value, not type.

quchen avatar Jul 12 '23 09:07 quchen

Really? I think I meant type.

TysonMN avatar Jul 12 '23 10:07 TysonMN