mirror of
https://github.com/anoma/juvix.git
synced 2024-12-04 17:07:28 +03:00
83539148cb
* Closes #3079 * Closes #3086 * Depends on #3088 * Updates the coding style guidelines (CODING.md) to reflect issues not foreseen originally * Changes the unicode arrow printed in the REPL to `->`. This is to make the output consistent with how function types are written in the standard library. --------- Co-authored-by: Paul Cadman <git@paulcadman.dev>
10 lines
218 B
Plaintext
10 lines
218 B
Plaintext
module builtinFail;
|
|
|
|
import Stdlib.Data.String open;
|
|
import Stdlib.System.IO open;
|
|
|
|
builtin fail
|
|
axiom fail : {A : Type} → String → A;
|
|
|
|
main : IO := printStringLn "Get" >>> fail "Enough" >>> printStringLn "Sleep";
|