Skip to content

Instantly share code, notes, and snippets.

@mvaldesdeleon
Created August 12, 2018 09:11
Show Gist options
  • Save mvaldesdeleon/5beeca8b503c224f421fb3ee77b52714 to your computer and use it in GitHub Desktop.
Save mvaldesdeleon/5beeca8b503c224f421fb3ee77b52714 to your computer and use it in GitHub Desktop.
// data Ready
// data EmptyPlate
// data BottomBunOn
// data PattyOn
// data CheeseOn
// data OnionOn
// data LettuceOn
// data TomatoOn
// data PicklesOn
// data TopBunOn
export type Ready = 'Ready'
export type EmptyPlate = 'EmptyPlate'
export type BottomBunOn = 'BottomBunOn'
export type PattyOn = 'PattyOn'
export type CheeseOn = 'CheeseOn'
export type OnionOn = 'OnionOn'
export type LettuceOn = 'LettuceOn'
export type TomatoOn = 'TomatoOn'
export type PicklesOn = 'PicklesOn'
export type TopBunOn = 'TopBunOn'
// newtype Ingredient = Ingredient String
export type Ingredient = string
// type BurgerSpec = List Ingredient
export type BurgerSpec = Array<Ingredient>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment