Welcome to the game of Zero to Hero. In this game, you will complete each level by implementing the function "zeroToHero". This function converts a "Zero" type value to a "Hero" type value. The definition of "Zero" and "Hero" may vary from level to level. Each level has a list of functions available. Make sure to use them, as they are the only functions you can use.

Congratulations! 🎉

You have beaten the game.

Complete survey

Congratulations! 🎉

You have completed this level.

To Implement

zeroToHero ::
Zero
a
->
Hero
a
Ze
a
He
a

Your Solution

zeroToHero ::
a
a
Your definition has valid syntax, but it may still fail to type check.

Code Editor

Loading editor...

zeroToHero z = undefined
Status: Checking
You did not make any changes.

Available Functions

f ::
Zero
a
->
Hero
a
Ze
a
He
a