mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 18:13:56 +03:00
c6307173dc
An axiom without a compile block generates a C function signature without a corresponding body. This allows implementations to be injected at link time (JS, Anoma).
15 lines
154 B
Plaintext
15 lines
154 B
Plaintext
module Input;
|
|
|
|
open import Stdlib.Prelude;
|
|
|
|
inductive Unit {
|
|
unit : Unit;
|
|
};
|
|
|
|
axiom ignore : Unit -> Unit;
|
|
|
|
main : IO;
|
|
main ≔ putStrLn "Hello";
|
|
|
|
end;
|