Created
August 2, 2020 19:00
-
-
Save sudomaxime/a867683fefe5d43df18fac3872d8bc4e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include std::speech | |
include tone::serious | |
include promise::{Help, Work} | |
#[serious()] | |
safe canDoIt (&mut issue: character) -> &'now Help|Work { | |
first { | |
let mut support = issue.map(|family| familiy.need("dream") && "dream"); | |
await std::speech // wait for dramatic speech pause | |
if (support.iter().includes("dream")) { | |
now new Work("Here's the deal"); | |
} else { | |
now new Help("It will not be easy"); | |
} | |
} crisis (care) { | |
if (people(care)) now new Help("Let me be clear"); | |
now new Error("Make no mistake"); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment