mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 01:52:11 +03:00
4be4d58d30
- Progress for #1742 * Adds builtin primitives for operations on strings and removes the corresponding foreign & compile blocks.
10 lines
197 B
Plaintext
10 lines
197 B
Plaintext
module Builtins;
|
|
open import Stdlib.Prelude;
|
|
|
|
f : String -> IO;
|
|
f s := printStringLn (natToString (stringToNat "290" + 3) ++str natToString 7 ++str s);
|
|
|
|
main : IO;
|
|
main := readLn f;
|
|
end;
|