Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Note: This code is generated by a STLC-to-SKI translation script! Refer to dramforever's solution for a clearer exposure!
Resolving manually
it should never panic. isomorphism is an mathematical concept, that require you to map every single input to some valid output. panic is not a valid output.
I supposed that when
substL iso $ Just a
isNothing
,substL (isoUnMaybe iso) a
should panic, however it turns out that it should befromJust $ substL iso Nothing
. I'm wondering why?